summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2005-05-06 15:28:54 +0000
committerdelphij <delphij@FreeBSD.org>2005-05-06 15:28:54 +0000
commit847a7e5295d38242d0c0dea3450ca74dd22fbdbc (patch)
tree58ca206e9adbca338805a68e6469730902394e28 /libexec
parent65b737b3b36f4f672de86b4a29681aea81445505 (diff)
downloadFreeBSD-src-847a7e5295d38242d0c0dea3450ca74dd22fbdbc.zip
FreeBSD-src-847a7e5295d38242d0c0dea3450ca74dd22fbdbc.tar.gz
Prevent usage of nested externs.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/talkd/process.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/talkd/process.c b/libexec/talkd/process.c
index fb09300..d77f8a1 100644
--- a/libexec/talkd/process.c
+++ b/libexec/talkd/process.c
@@ -62,11 +62,12 @@ static const char rcsid[] =
#include "extern.h"
+extern int debug;
+
void
process_request(CTL_MSG *mp, CTL_RESPONSE *rp)
{
CTL_MSG *ptr;
- extern int debug;
char *s;
rp->vers = TALK_VERSION;
OpenPOWER on IntegriCloud