diff options
Diffstat (limited to 'lib/libc/db/test')
| -rw-r--r-- | lib/libc/db/test/btree.tests/main.c | 4 | ||||
| -rw-r--r-- | lib/libc/db/test/dbtest.c | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/db/test/btree.tests/main.c b/lib/libc/db/test/btree.tests/main.c index 39c1da0519ce..5fd0b27e4cab 100644 --- a/lib/libc/db/test/btree.tests/main.c +++ b/lib/libc/db/test/btree.tests/main.c @@ -37,6 +37,8 @@ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/param.h> #include <fcntl.h> @@ -608,7 +610,7 @@ load(db, argv) DB *db; char **argv; { - register char *p, *t; + char *p, *t; FILE *fp; DBT data, key; recno_t cnt; diff --git a/lib/libc/db/test/dbtest.c b/lib/libc/db/test/dbtest.c index be433c0a3040..8627572c7bc8 100644 --- a/lib/libc/db/test/dbtest.c +++ b/lib/libc/db/test/dbtest.c @@ -344,8 +344,8 @@ void compare(db1, db2) DBT *db1, *db2; { - register size_t len; - register u_char *p1, *p2; + size_t len; + u_char *p1, *p2; if (db1->size != db2->size) printf("compare failed: key->data len %lu != data len %lu\n", |
