From 5cb9e99f12359bee41a7a1d71e993de4575758db Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Thu, 5 Dec 2002 05:24:49 +0000 Subject: [PATCH] s/putc_unlocked/putc/g for freebsd on alpha --- argp/argp-fmtstream.c | 6 +++--- argp/argp-help.c | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/argp/argp-fmtstream.c b/argp/argp-fmtstream.c index af607ae3..88f37f69 100644 --- a/argp/argp-fmtstream.c +++ b/argp/argp-fmtstream.c @@ -134,7 +134,7 @@ __argp_fmtstream_update (argp_fmtstream_t fs) /* No buffer space for spaces. Must flush. */ size_t i; for (i = 0; i < pad; i++) - putc_unlocked (' ', fs->stream); + putc (' ', fs->stream); } fs->point_col = pad; } @@ -269,7 +269,7 @@ __argp_fmtstream_update (argp_fmtstream_t fs) { if (nl > fs->buf) fwrite_unlocked (fs->buf, 1, nl - fs->buf, fs->stream); - putc_unlocked ('\n', fs->stream); + putc ('\n', fs->stream); len += buf - fs->buf; nl = buf = fs->buf; } @@ -286,7 +286,7 @@ __argp_fmtstream_update (argp_fmtstream_t fs) *nl++ = ' '; else for (i = 0; i < fs->wmargin; ++i) - putc_unlocked (' ', fs->stream); + putc (' ', fs->stream); /* Copy the tail of the original buffer into the current buffer position. */ diff --git a/argp/argp-help.c b/argp/argp-help.c index 58b3f338..7780c3e4 100644 --- a/argp/argp-help.c +++ b/argp/argp-help.c @@ -1801,14 +1801,14 @@ __argp_error (const struct argp_state *state, const char *fmt, ...) fputs_unlocked (__argp_short_program_name(state), stream); - putc_unlocked (':', stream); - putc_unlocked (' ', stream); + putc (':', stream); + putc (' ', stream); va_start (ap, fmt); vfprintf (stream, fmt, ap); va_end (ap); - putc_unlocked ('\n', stream); + putc ('\n', stream); __argp_state_help (state, stream, ARGP_HELP_STD_ERR); @@ -1847,8 +1847,8 @@ __argp_failure (const struct argp_state *state, int status, int errnum, { va_list ap; - putc_unlocked (':', stream); - putc_unlocked (' ', stream); + putc (':', stream); + putc (' ', stream); va_start (ap, fmt); vfprintf (stream, fmt, ap); @@ -1857,12 +1857,12 @@ __argp_failure (const struct argp_state *state, int status, int errnum, if (errnum) { - putc_unlocked (':', stream); - putc_unlocked (' ', stream); + putc (':', stream); + putc (' ', stream); fputs (STRERROR (errnum), stream); } - putc_unlocked ('\n', stream); + putc ('\n', stream); __funlockfile (stream); -- 2.11.4.GIT