diff options
author | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2003-12-01 00:56:52 +0000 |
---|---|---|
committer | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2003-12-01 00:56:52 +0000 |
commit | ffc6971951319dd718d51aab423355f68f17dc1d (patch) | |
tree | 13c33f610a6732d7f3d81db5d0cc5cafb300f7fa /usr.sbin/mopd/otherOS | |
parent | 5becfd833db00e5c5ad38926beab55c9e93c9a1e (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/otherOS')
-rw-r--r-- | usr.sbin/mopd/otherOS/loop-linux2.c | 2 | ||||
-rw-r--r-- | usr.sbin/mopd/otherOS/loop.c | 4 | ||||
-rw-r--r-- | usr.sbin/mopd/otherOS/pf-snit.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/mopd/otherOS/loop-linux2.c b/usr.sbin/mopd/otherOS/loop-linux2.c index 8278bac0b83..f25c4d59c7a 100644 --- a/usr.sbin/mopd/otherOS/loop-linux2.c +++ b/usr.sbin/mopd/otherOS/loop-linux2.c @@ -23,7 +23,7 @@ */ #ifndef LINT -static char rcsid[] = "$Id: loop-linux2.c,v 1.3 2003/06/02 21:38:40 maja Exp $"; +static const char rcsid[] = "$Id: loop-linux2.c,v 1.4 2003/12/01 00:56:51 avsm Exp $"; #endif #include <stdlib.h> diff --git a/usr.sbin/mopd/otherOS/loop.c b/usr.sbin/mopd/otherOS/loop.c index 1eb83bac9af..0088e775f48 100644 --- a/usr.sbin/mopd/otherOS/loop.c +++ b/usr.sbin/mopd/otherOS/loop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: loop.c,v 1.4 2003/06/02 21:38:40 maja Exp $ */ +/* $OpenBSD: loop.c,v 1.5 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: loop.c,v 1.4 2003/06/02 21:38:40 maja Exp $"; +static const char rcsid[] = "$OpenBSD: loop.c,v 1.5 2003/12/01 00:56:51 avsm Exp $"; #endif #include "os.h" diff --git a/usr.sbin/mopd/otherOS/pf-snit.c b/usr.sbin/mopd/otherOS/pf-snit.c index 0eec3970515..a39da99fdbb 100644 --- a/usr.sbin/mopd/otherOS/pf-snit.c +++ b/usr.sbin/mopd/otherOS/pf-snit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf-snit.c,v 1.5 2003/06/02 21:38:40 maja Exp $ */ +/* $OpenBSD: pf-snit.c,v 1.6 2003/12/01 00:56:51 avsm Exp $ */ /* * Copyright (c) 1993-96 Mats O Jansson. All rights reserved. @@ -25,7 +25,7 @@ */ #ifndef LINT -static char rcsid[] = "$OpenBSD: pf-snit.c,v 1.5 2003/06/02 21:38:40 maja Exp $"; +static const char rcsid[] = "$OpenBSD: pf-snit.c,v 1.6 2003/12/01 00:56:51 avsm Exp $"; #endif #include <stdio.h> |