diff options
author | obrien <obrien@FreeBSD.org> | 2002-03-22 09:22:15 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-03-22 09:22:15 +0000 |
commit | e2881f49cc545371650e022bf57db9fee6d9f8c9 (patch) | |
tree | 940c5b6971ca7a1e0ccd4772f07ad6694c595c70 /lib/libc/db | |
parent | 700cd85b2e27d1f9b06fa6fea221100cc8d47e6f (diff) | |
download | FreeBSD-src-e2881f49cc545371650e022bf57db9fee6d9f8c9.zip FreeBSD-src-e2881f49cc545371650e022bf57db9fee6d9f8c9.tar.gz |
Remove multi-line __P() usage.
Diffstat (limited to 'lib/libc/db')
-rw-r--r-- | lib/libc/db/btree/extern.h | 4 | ||||
-rw-r--r-- | lib/libc/db/hash/extern.h | 4 | ||||
-rw-r--r-- | lib/libc/db/hash/hash_func.c | 2 | ||||
-rw-r--r-- | lib/libc/db/test/dbtest.c | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/db/btree/extern.h b/lib/libc/db/btree/extern.h index e9def6d..a151acc 100644 --- a/lib/libc/db/btree/extern.h +++ b/lib/libc/db/btree/extern.h @@ -53,8 +53,8 @@ int __bt_ret(BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int); EPG *__bt_search(BTREE *, const DBT *, int *); int __bt_seq(const DB *, DBT *, DBT *, u_int); void __bt_setcur(BTREE *, pgno_t, u_int); -int __bt_split __P((BTREE *, PAGE *, - const DBT *, const DBT *, int, size_t, u_int32_t)); +int __bt_split(BTREE *, PAGE *, + const DBT *, const DBT *, int, size_t, u_int32_t); int __bt_sync(const DB *, u_int); int __ovfl_delete(BTREE *, void *); diff --git a/lib/libc/db/hash/extern.h b/lib/libc/db/hash/extern.h index 82bff42..9ae5832 100644 --- a/lib/libc/db/hash/extern.h +++ b/lib/libc/db/hash/extern.h @@ -40,8 +40,8 @@ int __big_delete(HTAB *, BUFHEAD *); int __big_insert(HTAB *, BUFHEAD *, const DBT *, const DBT *); int __big_keydata(HTAB *, BUFHEAD *, DBT *, DBT *, int); int __big_return(HTAB *, BUFHEAD *, int, DBT *, int); -int __big_split __P((HTAB *, BUFHEAD *, BUFHEAD *, BUFHEAD *, - int, u_int32_t, SPLIT_RETURN *)); +int __big_split(HTAB *, BUFHEAD *, BUFHEAD *, BUFHEAD *, + int, u_int32_t, SPLIT_RETURN *); int __buf_free(HTAB *, int, int); void __buf_init(HTAB *, int); u_int32_t __call_hash(HTAB *, char *, int); diff --git a/lib/libc/db/hash/hash_func.c b/lib/libc/db/hash/hash_func.c index aeb34b2..fd5f365 100644 --- a/lib/libc/db/hash/hash_func.c +++ b/lib/libc/db/hash/hash_func.c @@ -53,7 +53,7 @@ static u_int32_t hash3(const void *, size_t); static u_int32_t hash4(const void *, size_t); /* Global default hash function */ -u_int32_t (*__default_hash) __P((const void *, size_t)) = hash4; +u_int32_t (*__default_hash)(const void *, size_t) = hash4; /* * HASH FUNCTIONS diff --git a/lib/libc/db/test/dbtest.c b/lib/libc/db/test/dbtest.c index b403bc1..b7c3c70 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(DBT *, DBT *); DBTYPE dbtype(char *); void dump(DB *, int); -void err __P((const char *, ...)) __printflike(1, 2); +void err(const char *, ...) __printflike(1, 2); void get(DB *, DBT *); void getdata(DB *, DBT *, DBT *); void put(DB *, DBT *, DBT *); |