Fixes, mostly from Simon Josefsson.
[gnulib.git] / lib / version-etc.h
index 4b1a7d9..d505e75 100644 (file)
 #ifndef VERSION_ETC_H
 # define VERSION_ETC_H 1
 
+# include <stdarg.h>
 # include <stdio.h>
 
-# ifndef PARAMS
-#  if defined PROTOTYPES || (defined __STDC__ && __STDC__)
-#   define PARAMS(Args) Args
-#  else
-#   define PARAMS(Args) ()
-#  endif
-# endif
+extern const char *version_etc_copyright;
 
-extern char *version_etc_copyright;
+extern void version_etc_va (FILE *stream,
+                           const char *command_name, const char *package,
+                           const char *version, va_list authors);
 
-void
-version_etc PARAMS ((FILE *stream,
-                    const char *command_name, const char *package,
-                    const char *version, const char *authors));
+extern void version_etc (FILE *stream,
+                        const char *command_name, const char *package,
+                        const char *version,
+                        /* const char *author1, ...*/ ...);
 
 #endif /* VERSION_ETC_H */