diff options
author | Jim Meyering <jim@meyering.net> | 2003-10-18 08:10:31 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-10-18 08:10:31 +0000 |
commit | ff6e8b8078b00c0d8bb7241b0bf55876aaff2261 (patch) | |
tree | 5b7889ca3259da3669ce058540ad4a7382b86765 /lib | |
parent | 09a773522033161b63c4ae316bd84da82ffb6407 (diff) | |
download | coreutils-ff6e8b8078b00c0d8bb7241b0bf55876aaff2261.tar.xz |
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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/version-etc.h | 14 |
1 files 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 <stdarg.h> # include <stdio.h> -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 */ |