aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Farfeleder <stefanf@FreeBSD.org>2004-05-16 22:08:17 +0000
committerStefan Farfeleder <stefanf@FreeBSD.org>2004-05-16 22:08:17 +0000
commita752604477c646135eb8972a9797f4c331ce09ac (patch)
treed0e580fe01975ec46af69e68238174deea46d8f4
parent5eb4afcbb96a4ad477e2223afb963d8bbee5e009 (diff)
Notes
-rw-r--r--lib/libdisk/disk.c2
-rw-r--r--usr.bin/finger/net.c2
-rw-r--r--usr.sbin/boot0cfg/boot0cfg.c2
-rw-r--r--usr.sbin/gstat/gstat.c2
-rw-r--r--usr.sbin/keyserv/keyserv.h2
-rw-r--r--usr.sbin/mrouted/cfparse.y2
-rw-r--r--usr.sbin/pccard/pccardc/pccardc.c2
-rw-r--r--usr.sbin/rpc.lockd/lockd_lock.c2
8 files changed, 8 insertions, 8 deletions
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c
index ca2d19e257697..5d2d9d5913217 100644
--- a/lib/libdisk/disk.c
+++ b/lib/libdisk/disk.c
@@ -72,7 +72,7 @@ chunk_name(chunk_e type)
case apple: return ("apple");
default: return ("??");
}
-};
+}
struct disk *
Open_Disk(const char *name)
diff --git a/usr.bin/finger/net.c b/usr.bin/finger/net.c
index a3c40b56929fe..2bd35ad00ac22 100644
--- a/usr.bin/finger/net.c
+++ b/usr.bin/finger/net.c
@@ -58,7 +58,7 @@ __FBSDID("$FreeBSD$");
#include <utmp.h>
#include "finger.h"
-static void cleanup(int sig);;
+static void cleanup(int sig);
static int do_protocol(const char *name, const struct addrinfo *ai);
static void trying(const struct addrinfo *ai);
diff --git a/usr.sbin/boot0cfg/boot0cfg.c b/usr.sbin/boot0cfg/boot0cfg.c
index 32a4cfb1e65e7..21f0ce7276557 100644
--- a/usr.sbin/boot0cfg/boot0cfg.c
+++ b/usr.sbin/boot0cfg/boot0cfg.c
@@ -367,7 +367,7 @@ boot0bs(const u_int8_t *bs)
if (memcmp(bs + ident[i].off, ident[i].key, ident[i].len))
return 0;
return 1;
-};
+}
/*
* Adjust "and" and "or" masks for a -o option argument.
diff --git a/usr.sbin/gstat/gstat.c b/usr.sbin/gstat/gstat.c
index 69b2da97d4813..0c6643c3e3c30 100644
--- a/usr.sbin/gstat/gstat.c
+++ b/usr.sbin/gstat/gstat.c
@@ -62,7 +62,7 @@ main(int argc, char **argv)
struct timespec tp, tq;
struct gmesh gmp;
struct gprovider *pp;
- struct gconsumer *cp;;
+ struct gconsumer *cp;
struct gident *gid;
short cf, cb;
char *p;
diff --git a/usr.sbin/keyserv/keyserv.h b/usr.sbin/keyserv/keyserv.h
index 0cc6a36fabef9..3395f28fb8f25 100644
--- a/usr.sbin/keyserv/keyserv.h
+++ b/usr.sbin/keyserv/keyserv.h
@@ -3,7 +3,7 @@
*/
extern void setmodulus __P((char *modx));
-extern keystatus pk_setkey __P(( uid_t, keybuf ));;
+extern keystatus pk_setkey __P(( uid_t, keybuf ));
extern keystatus pk_encrypt __P(( uid_t, char *, netobj *, des_block * ));
extern keystatus pk_decrypt __P(( uid_t, char *, netobj *, des_block * ));
extern keystatus pk_netput __P(( uid_t, key_netstarg * ));
diff --git a/usr.sbin/mrouted/cfparse.y b/usr.sbin/mrouted/cfparse.y
index fae52087d7762..1827f6a011b17 100644
--- a/usr.sbin/mrouted/cfparse.y
+++ b/usr.sbin/mrouted/cfparse.y
@@ -20,7 +20,7 @@
* Local function declarations
*/
static void fatal __P((char *fmt, ...)) __printflike(1, 2);
-static void warn __P((char *fmt, ...)) __printflike(1, 2);;
+static void warn __P((char *fmt, ...)) __printflike(1, 2);
static void yyerror __P((char *s));
static char * next_word __P((void));
static int yylex __P((void));
diff --git a/usr.sbin/pccard/pccardc/pccardc.c b/usr.sbin/pccard/pccardc/pccardc.c
index 6b8a549b4c264..c1f6eced75074 100644
--- a/usr.sbin/pccard/pccardc/pccardc.c
+++ b/usr.sbin/pccard/pccardc/pccardc.c
@@ -36,7 +36,7 @@ static const char rcsid[] =
typedef int (*main_t)(int, char **);
-#define DECL(foo) int foo(int, char**);
+#define DECL(foo) int foo(int, char**)
DECL(beep_main);
DECL(dumpcis_main);
DECL(dumpcisfile_main);
diff --git a/usr.sbin/rpc.lockd/lockd_lock.c b/usr.sbin/rpc.lockd/lockd_lock.c
index 68aa1593cff97..9779aa4deaacc 100644
--- a/usr.sbin/rpc.lockd/lockd_lock.c
+++ b/usr.sbin/rpc.lockd/lockd_lock.c
@@ -172,7 +172,7 @@ void fill_file_lock(struct file_lock *fl, const fhandle_t *fh,
const u_int64_t offset, const u_int64_t len, const char *caller_name,
const int state, const int status, const int flags, const int blocking);
int regions_overlap(const u_int64_t start1, const u_int64_t len1,
- const u_int64_t start2, const u_int64_t len2);;
+ const u_int64_t start2, const u_int64_t len2);
enum split_status region_compare(const u_int64_t starte, const u_int64_t lene,
const u_int64_t startu, const u_int64_t lenu,
u_int64_t *start1, u_int64_t *len1, u_int64_t *start2, u_int64_t *len2);