summaryrefslogtreecommitdiff
path: root/usr.sbin/mopd/moptrace
diff options
context:
space:
mode:
authorAnil Madhavapeddy <avsm@cvs.openbsd.org>2003-12-01 00:56:52 +0000
committerAnil Madhavapeddy <avsm@cvs.openbsd.org>2003-12-01 00:56:52 +0000
commitffc6971951319dd718d51aab423355f68f17dc1d (patch)
tree13c33f610a6732d7f3d81db5d0cc5cafb300f7fa /usr.sbin/mopd/moptrace
parent5becfd833db00e5c5ad38926beab55c9e93c9a1e (diff)
-Wall cleanup: trim unused vars, right format strings, constify rcsids,
braces where needed, add missing prototypes. tested and ok maja@
Diffstat (limited to 'usr.sbin/mopd/moptrace')
-rw-r--r--usr.sbin/mopd/moptrace/moptrace.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/mopd/moptrace/moptrace.c b/usr.sbin/mopd/moptrace/moptrace.c
index 7ba388ae4a1..810c43925ac 100644
--- a/usr.sbin/mopd/moptrace/moptrace.c
+++ b/usr.sbin/mopd/moptrace/moptrace.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: moptrace.c,v 1.7 2003/06/02 21:38:40 maja Exp $ */
+/* $OpenBSD: moptrace.c,v 1.8 2003/12/01 00:56:51 avsm Exp $ */
/*
* Copyright (c) 1993-95 Mats O Jansson. All rights reserved.
@@ -25,7 +25,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$OpenBSD: moptrace.c,v 1.7 2003/06/02 21:38:40 maja Exp $";
+static const char rcsid[] = "$OpenBSD: moptrace.c,v 1.8 2003/12/01 00:56:51 avsm Exp $";
#endif
/*
@@ -51,7 +51,7 @@ static char rcsid[] = "$OpenBSD: moptrace.c,v 1.7 2003/06/02 21:38:40 maja Exp $
*/
struct if_info *iflist;
-void Loop(void);
+void Loop(void) __dead;
void Usage(void);
void mopProcess(struct if_info *, u_char *);