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.
This commit is contained in:
Jim Meyering 2003-10-18 08:10:31 +00:00
parent 09a7735220
commit ff6e8b8078

View File

@ -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 */