Remove spurious semicolons. Outside of functions they are actually errors but

GCC doesn't warn about them without -pedantic.

Approved by:	das (mentor)
PR:		56649
Reviewed by:	md5
This commit is contained in:
Stefan Farfeleder 2004-05-16 22:08:17 +00:00
parent 5eb4afcbb9
commit a752604477
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129302
8 changed files with 8 additions and 8 deletions

View File

@ -72,7 +72,7 @@ chunk_name(chunk_e type)
case apple: return ("apple");
default: return ("??");
}
};
}
struct disk *
Open_Disk(const char *name)

View File

@ -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);

View File

@ -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.

View File

@ -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;

View File

@ -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 * ));

View File

@ -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));

View File

@ -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);

View File

@ -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);