mirror of
https://github.com/coreutils/coreutils.git
synced 2024-12-05 07:54:07 +08:00
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:
parent
09a7735220
commit
ff6e8b8078
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user