From: Jim Meyering Date: Sat, 18 Oct 2003 08:10:31 +0000 (+0000) Subject: Include stdarg.h. X-Git-Tag: v5.1.0~333 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=ff6e8b8078b00c0d8bb7241b0bf55876aaff2261;p=thirdparty%2Fcoreutils.git Include stdarg.h. (version_etc_copyright): Declare as readonly. (version_etc): Make this function variadic with a NULL-terminated list of author name strings. (version_etc_va): New declaration. --- diff --git a/lib/version-etc.h b/lib/version-etc.h index 35b292dc1d..d505e75eae 100644 --- a/lib/version-etc.h +++ b/lib/version-etc.h @@ -20,12 +20,18 @@ #ifndef VERSION_ETC_H # define VERSION_ETC_H 1 +# include # include -extern char *version_etc_copyright; +extern const char *version_etc_copyright; -void version_etc (FILE *stream, - const char *command_name, const char *package, - const char *version, const char *writen_by); +extern void version_etc_va (FILE *stream, + const char *command_name, const char *package, + const char *version, va_list authors); + +extern void version_etc (FILE *stream, + const char *command_name, const char *package, + const char *version, + /* const char *author1, ...*/ ...); #endif /* VERSION_ETC_H */