diff options
author | kris <kris@FreeBSD.org> | 2001-08-20 12:53:36 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2001-08-20 12:53:36 +0000 |
commit | 110fc843a0e59e68be1a9d8d1a4bb0bcb152872b (patch) | |
tree | 486abf1f9f616d966d1546114ba2c7eb29bb7839 /lib/libc/db | |
parent | 0e618921c14332b422b10cbd97a3431372f9eec1 (diff) | |
download | FreeBSD-src-110fc843a0e59e68be1a9d8d1a4bb0bcb152872b.zip FreeBSD-src-110fc843a0e59e68be1a9d8d1a4bb0bcb152872b.tar.gz |
Mark some functions as __printflike() and/or taking const char * arguments
instead of char *.
MFC after: 2 weeks
Diffstat (limited to 'lib/libc/db')
-rw-r--r-- | lib/libc/db/test/dbtest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/db/test/dbtest.c b/lib/libc/db/test/dbtest.c index ebf6be8..be433c0 100644 --- a/lib/libc/db/test/dbtest.c +++ b/lib/libc/db/test/dbtest.c @@ -64,7 +64,7 @@ enum S { COMMAND, COMPARE, GET, PUT, REMOVE, SEQ, SEQFLAG, KEY, DATA }; void compare __P((DBT *, DBT *)); DBTYPE dbtype __P((char *)); void dump __P((DB *, int)); -void err __P((const char *, ...)); +void err __P((const char *, ...)) __printflike(1, 2); void get __P((DB *, DBT *)); void getdata __P((DB *, DBT *, DBT *)); void put __P((DB *, DBT *, DBT *)); |