diff options
author | kris <kris@FreeBSD.org> | 2001-08-19 08:19:37 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2001-08-19 08:19:37 +0000 |
commit | 5e75b336b9d01ea2b70ff9f4098ca7e54f86975a (patch) | |
tree | c307dda030341761eafafb3d34259ed800c35e94 /sbin/restore | |
parent | 0bbccbf2dc9057e56f7233044f08c4b59f4f3e30 (diff) | |
download | FreeBSD-src-5e75b336b9d01ea2b70ff9f4098ca7e54f86975a.zip FreeBSD-src-5e75b336b9d01ea2b70ff9f4098ca7e54f86975a.tar.gz |
Silence non-constant format string warnings by marking functions
as __printflike()/__printf0like(), adding const, or adding missing "%s"
format strings, as appropriate.
MFC after: 2 weeks
Diffstat (limited to 'sbin/restore')
-rw-r--r-- | sbin/restore/extern.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/restore/extern.h b/sbin/restore/extern.h index 05ca742..0724850 100644 --- a/sbin/restore/extern.h +++ b/sbin/restore/extern.h @@ -69,13 +69,13 @@ long listfile __P((char *, ino_t, int)); ino_t lowerbnd __P((ino_t)); void mktempname __P((struct entry *)); void moveentry __P((struct entry *, char *)); -void msg __P((const char *, ...)); +void msg __P((const char *, ...)) __printflike(1, 2); char *myname __P((struct entry *)); void newnode __P((struct entry *)); void newtapebuf __P((long)); long nodeupdates __P((char *, ino_t, int)); void onintr __P((int)); -void panic __P((const char *, ...)); +void panic __P((const char *, ...)) __printflike(1, 2); void pathcheck __P((char *)); struct direct *pathsearch __P((const char *)); void printdumpinfo __P((void)); |