diff options
author | Jim Meyering <jim@meyering.net> | 1998-06-29 02:13:21 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-06-29 02:13:21 +0000 |
commit | c5eb9edf2600480b9490cccd8a66284cb46392a8 (patch) | |
tree | 4cbb8f5a9cf32ed6025e0773e3f394151d471c4e /src/printf.c | |
parent | dd9470cb58f9c668279aa8dab8164440b73daaad (diff) | |
download | coreutils-c5eb9edf2600480b9490cccd8a66284cb46392a8.tar.xz |
Change all uses of unlocked-wrapped functions to their upper case wrapper names.
Diffstat (limited to 'src/printf.c')
-rw-r--r-- | src/printf.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/printf.c b/src/printf.c index be7403394..892f23c5d 100644 --- a/src/printf.c +++ b/src/printf.c @@ -180,31 +180,31 @@ print_esc_char (int c) switch (c) { case 'a': /* Alert. */ - putchar (7); + PUTCHAR (7); break; case 'b': /* Backspace. */ - putchar (8); + PUTCHAR (8); break; case 'c': /* Cancel the rest of the output. */ exit (0); break; case 'f': /* Form feed. */ - putchar (12); + PUTCHAR (12); break; case 'n': /* New line. */ - putchar (10); + PUTCHAR (10); break; case 'r': /* Carriage return. */ - putchar (13); + PUTCHAR (13); break; case 't': /* Horizontal tab. */ - putchar (9); + PUTCHAR (9); break; case 'v': /* Vertical tab. */ - putchar (11); + PUTCHAR (11); break; default: - putchar (c); + PUTCHAR (c); break; } } @@ -229,7 +229,7 @@ print_esc (const char *escstart) esc_value = esc_value * 16 + hextobin (*p); if (esc_length == 0) error (1, 0, _("missing hexadecimal number in escape")); - putchar (esc_value); + PUTCHAR (esc_value); } else if (*p == '0') { @@ -237,7 +237,7 @@ print_esc (const char *escstart) esc_length < 3 && isodigit (*p); ++esc_length, ++p) esc_value = esc_value * 8 + octtobin (*p); - putchar (esc_value); + PUTCHAR (esc_value); } else if (strchr ("\"\\abcfnrtv", *p)) print_esc_char (*p++); @@ -255,7 +255,7 @@ print_esc_string (const char *str) if (*str == '\\') str += print_esc (str); else - putchar (*str); + PUTCHAR (*str); } /* Output a % directive. START is the start of the directive, @@ -382,7 +382,7 @@ print_formatted (const char *format, int argc, char **argv) field_width = precision = -1; if (*f == '%') { - putchar ('%'); + PUTCHAR ('%'); break; } if (*f == 'b') @@ -468,7 +468,7 @@ print_formatted (const char *format, int argc, char **argv) break; default: - putchar (*f); + PUTCHAR (*f); } } |