diff options
author | 2002-07-01 21:56:55 +0000 | |
---|---|---|
committer | 2002-07-01 21:56:55 +0000 | |
commit | ee6d34200b4daf9a7aa65aefc8b5b84755234427 (patch) | |
tree | 45ea04e58ce1bb6b8b83490fdffba9e4ef88ff37 /sys/ddb/db_usrreq.c | |
parent | cut and pasto (fetch maxage correctly); Benny Holmgren <bigfoot@astrakan.hig.se> (diff) | |
download | wireguard-openbsd-ee6d34200b4daf9a7aa65aefc8b5b84755234427.tar.xz wireguard-openbsd-ee6d34200b4daf9a7aa65aefc8b5b84755234427.zip |
Don't let variable declarations without "extern" living in .h files.
While there fix a benign type mismatch in db_stack_dump() and remove
diag code left by art by mistake.
Diffstat (limited to 'sys/ddb/db_usrreq.c')
-rw-r--r-- | sys/ddb/db_usrreq.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/ddb/db_usrreq.c b/sys/ddb/db_usrreq.c index be1a5e730ed..6c33fea8f7b 100644 --- a/sys/ddb/db_usrreq.c +++ b/sys/ddb/db_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_usrreq.c,v 1.5 2001/11/06 19:53:18 miod Exp $ */ +/* $OpenBSD: db_usrreq.c,v 1.6 2002/07/01 21:56:55 miod Exp $ */ /* * Copyright (c) 1996 Michael Shalayeff. All rights reserved. @@ -38,8 +38,6 @@ #include <ddb/db_var.h> -extern int securelevel; - int ddb_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p) int *name; |