summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/getcap.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-10-22 14:37:11 +0000
committerphk <phk@FreeBSD.org>1995-10-22 14:37:11 +0000
commit5e221828f83731c9f6083e6ce9703c1251dba05a (patch)
tree021e4f00408640702c262fd5f8dc2c167a2c2c73 /lib/libc/gen/getcap.c
parent6a09eeb50d1e12bcfae0a9e782727c535dc609f5 (diff)
downloadFreeBSD-src-5e221828f83731c9f6083e6ce9703c1251dba05a.zip
FreeBSD-src-5e221828f83731c9f6083e6ce9703c1251dba05a.tar.gz
Minor cleanup, mostly unused vars and missing #includes.
Diffstat (limited to 'lib/libc/gen/getcap.c')
-rw-r--r--lib/libc/gen/getcap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libc/gen/getcap.c b/lib/libc/gen/getcap.c
index 6bb4450..93d1952 100644
--- a/lib/libc/gen/getcap.c
+++ b/lib/libc/gen/getcap.c
@@ -192,7 +192,6 @@ getent(cap, len, db_array, fd, name, depth, nfield)
int fd, depth;
{
DB *capdbp;
- DBT key, data;
register char *r_end, *rp, **db_p;
int myfd, eof, foundit, retval, clen;
char *record, *cbuf;
@@ -542,8 +541,6 @@ cdbget(capdbp, bp, name)
char **bp, *name;
{
DBT key, data;
- char *buf;
- int st;
key.data = name;
key.size = strlen(name);
OpenPOWER on IntegriCloud