From ff6e8b8078b00c0d8bb7241b0bf55876aaff2261 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 18 Oct 2003 08:10:31 +0000 Subject: [PATCH] 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. --- lib/version-etc.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/lib/version-etc.h b/lib/version-etc.h index 35b292dc1..d505e75ea 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 */ -- 2.34.1