Some more minor updates to better use some gcc attributes.

-Erik
This commit is contained in:
Erik Andersen
2000-04-06 08:06:36 +00:00
parent 7a4b719486
commit 93d6513d93
8 changed files with 38 additions and 25 deletions

View File

@ -164,8 +164,8 @@ extern int yes_main(int argc, char** argv);
extern void usage(const char *usage) __attribute__ ((noreturn));
extern void errorMsg(const char *s, ...);
extern void fatalError(const char *s, ...) __attribute__ ((noreturn));
extern void errorMsg(const char *s, ...) __attribute__ ((format (printf, 1, 2)));
extern void fatalError(const char *s, ...) __attribute__ ((noreturn, format (printf, 1, 2)));
const char *modeString(int mode);
const char *timeString(time_t timeVal);