diff options
author | obrien <obrien@FreeBSD.org> | 2002-03-21 18:49:23 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-03-21 18:49:23 +0000 |
commit | 1196344bb37334ed0f8808056a53ca058758843c (patch) | |
tree | 12b252b7426e8a8904ef257bea10fea6038142f4 /lib/libc/db/test | |
parent | 8ee1755c8ef3729bb2d3c4bfae2b85b786fdaf70 (diff) | |
download | FreeBSD-src-1196344bb37334ed0f8808056a53ca058758843c.zip FreeBSD-src-1196344bb37334ed0f8808056a53ca058758843c.tar.gz |
Remove 'register' keyword.
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 39c1da0..5fd0b27 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 be433c0..8627572 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", |