Avoid using non-constant initializers for struct pentry_state.
[gnulib.git] / lib / version-etc.h
index ab7c18c..f1acb65 100644 (file)
@@ -1,5 +1,5 @@
 /* Utility to help print --version output in a consistent format.
-   Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2003, 2005 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 #ifndef VERSION_ETC_H
 # define VERSION_ETC_H 1
 
-# ifndef PARAMS
-#  if defined PROTOTYPES || (defined __STDC__ && __STDC__)
-#   define PARAMS(Args) Args
-#  else
-#   define PARAMS(Args) ()
-#  endif
-# endif
+# include <stdarg.h>
+# include <stdio.h>
 
-extern char *version_etc_copyright;
+extern const char version_etc_copyright[];
 
-void
-version_etc PARAMS ((FILE *stream,
-                    const char *command_name, const char *package,
-                    const char *version, const char *authors));
+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 */