summaryrefslogtreecommitdiff
path: root/src/asa.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-06-29 02:11:07 +0000
committerJim Meyering <jim@meyering.net>1998-06-29 02:11:07 +0000
commitdd9470cb58f9c668279aa8dab8164440b73daaad (patch)
treecf22a0d981deca2485740b4b6ec6efd6ae15793d /src/asa.c
parent02fc5fa0d0a68fa070dcb93983ad20590e051164 (diff)
downloadcoreutils-dd9470cb58f9c668279aa8dab8164440b73daaad.tar.xz
Change all uses of unlocked-wrapped functions to their upper case wrapper names.
Diffstat (limited to 'src/asa.c')
-rw-r--r--src/asa.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/asa.c b/src/asa.c
index 411122c38..baf4d3b69 100644
--- a/src/asa.c
+++ b/src/asa.c
@@ -4,7 +4,7 @@ TODO
add usage function
call parse_long_options
dcl, set program_name
- do fclose/error checking
+ do FCLOSE/error checking
*/
/* asa.c - interpret ASA carriage control characters
@@ -67,13 +67,13 @@ static void copy_file (FILE *fp);
static void
form_feed ()
{
- putchar ('\f');
+ PUTCHAR ('\f');
}
static void
new_line ()
{
- putchar ('\n');
+ PUTCHAR ('\n');
}
static void
@@ -119,20 +119,20 @@ flush ()
if (ch != ' ')
{
if (printed)
- putchar ('\b');
- putchar (ch);
+ PUTCHAR ('\b');
+ PUTCHAR (ch);
printed = 1;
}
}
}
if (!printed)
- putchar (' ');
+ PUTCHAR (' ');
}
for (j = 0; j < line_num; j++)
free (line_buffer[j].chr);
line_num = 0;
- putchar ('\n');
+ PUTCHAR ('\n');
}
static size_t
@@ -255,7 +255,7 @@ main (int argc, char **argv)
else
{
copy_file (fp);
- fclose (fp);
+ FCLOSE (fp);
}
}
}