From 2da71d093af840881a9d19b847ff98a2e2b7a556 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Mon, 4 May 2009 21:51:53 +0000 Subject: Relocate and case-match errnum comment. svn path=/branches/BRANCH_6-3/; revision=5286 --- report.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'report.c') diff --git a/report.c b/report.c index 05f8ba01..3d4be02e 100644 --- a/report.c +++ b/report.c @@ -71,10 +71,8 @@ char *strerror (int errnum) #endif /* _LIBC */ /* Print the program name and error message MESSAGE, which is a printf-style - format string with optional args. - If ERRNUM is nonzero, print its corresponding system error message. */ + format string with optional args. */ /* VARARGS */ - void #ifdef HAVE_STDARG_H report (FILE *errfp, const char *message, ...) @@ -125,7 +123,7 @@ report (FILE *errfp, message, va_alist) va_end(args); #endif } - else + else /* i. e. not using syslog */ #endif { fflush (errfp); @@ -351,6 +349,7 @@ report_complete (FILE *errfp, message, va_alist) variable controls whether this mode is selected or not. */ static int error_one_per_line; +/* If errnum is nonzero, print its corresponding system error message. */ void #ifdef HAVE_STDARG_H report_at_line (FILE *errfp, int errnum, const char *file_name, -- cgit v1.2.3