summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorErik Andersen2000-04-06 08:06:36 +0000
committerErik Andersen2000-04-06 08:06:36 +0000
commit93d6513d9315fa72d7af4ac2435f8c1e243273cb (patch)
treea7642802cbab4053e62cf13f2daa194c524da2e1 /internal.h
parent7a4b7194864e67f512dac1081f244d3c07a0eca2 (diff)
downloadbusybox-93d6513d9315fa72d7af4ac2435f8c1e243273cb.zip
busybox-93d6513d9315fa72d7af4ac2435f8c1e243273cb.tar.gz
Some more minor updates to better use some gcc attributes.
-Erik
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal.h b/internal.h
index b90ab7e..c8c8136 100644
--- a/internal.h
+++ b/internal.h
@@ -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);