From ee30860cef94a883af487f8935d26711c89a0b34 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 20 Nov 2002 21:44:04 +0000 Subject: [PATCH] fix a bunch of ;; typos --- include/QF/sys.h | 2 +- libs/audio/targets/snd_win.c | 2 +- libs/video/renderer/r_light.c | 2 +- nq/source/cl_parse.c | 2 +- nq/source/net_wipx.c | 2 +- qw/include/pmove.h | 2 +- qw/source/net_packetlog.c | 6 +++--- tools/qfcc/source/opcodes.c | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/include/QF/sys.h b/include/QF/sys.h index c86ca25d9..7b44b5f14 100644 --- a/include/QF/sys.h +++ b/include/QF/sys.h @@ -63,7 +63,7 @@ void Sys_Print (FILE *stream, const char *fmt, va_list args); void Sys_Printf (const char *fmt, ...) __attribute__((format(printf,1,2))); void Sys_DPrintf (const char *fmt, ...) __attribute__((format(printf,1,2))); void Sys_Error (const char *error, ...) __attribute__((format(printf,1,2), noreturn)); -void Sys_Quit (void) __attribute__((noreturn));; +void Sys_Quit (void) __attribute__((noreturn)); void Sys_Shutdown (void); void Sys_RegisterShutdown (void (*func) (void)); double Sys_DoubleTime (void); diff --git a/libs/audio/targets/snd_win.c b/libs/audio/targets/snd_win.c index 76b5fa462..8a0bf0d1c 100644 --- a/libs/audio/targets/snd_win.c +++ b/libs/audio/targets/snd_win.c @@ -508,7 +508,7 @@ SNDDMA_Init (void) /* Init DirectSound */ if (!wavonly) { if (snd_firsttime || snd_isdirect) { - stat = SNDDMA_InitDirect ();; + stat = SNDDMA_InitDirect (); if (stat == SIS_SUCCESS) { snd_isdirect = true; diff --git a/libs/video/renderer/r_light.c b/libs/video/renderer/r_light.c index dce9321f6..2ec50551c 100644 --- a/libs/video/renderer/r_light.c +++ b/libs/video/renderer/r_light.c @@ -431,7 +431,7 @@ loop: tex = surf->texinfo; s = DotProduct (mid, tex->vecs[0]) + tex->vecs[0][3]; - t = DotProduct (mid, tex->vecs[1]) + tex->vecs[1][3];; + t = DotProduct (mid, tex->vecs[1]) + tex->vecs[1][3]; if (s < surf->texturemins[0] || t < surf->texturemins[1]) continue; diff --git a/nq/source/cl_parse.c b/nq/source/cl_parse.c index 233f78dfc..cd066b5c0 100644 --- a/nq/source/cl_parse.c +++ b/nq/source/cl_parse.c @@ -929,7 +929,7 @@ CL_ParseServerMessage (void) i = MSG_ReadByte (net_message); if (i < 0 || i >= MAX_CL_STATS) Sys_Error ("svc_updatestat: %i is invalid", i); - cl.stats[i] = MSG_ReadLong (net_message);; + cl.stats[i] = MSG_ReadLong (net_message); break; case svc_spawnstaticsound: diff --git a/nq/source/net_wipx.c b/nq/source/net_wipx.c index 1b17c7148..b781665c4 100644 --- a/nq/source/net_wipx.c +++ b/nq/source/net_wipx.c @@ -196,7 +196,7 @@ WIPX_OpenSocket (int port) address.sa_family = AF_IPX; memset (address.sa_netnum, 0, 4); - memset (address.sa_nodenum, 0, 6);; + memset (address.sa_nodenum, 0, 6); address.sa_socket = htons ((unsigned short) port); if (bind (newsocket, (void *) &address, sizeof (address)) == 0) { ipxsocket[handle] = newsocket; diff --git a/qw/include/pmove.h b/qw/include/pmove.h index f26942f9a..ac22d0ff1 100644 --- a/qw/include/pmove.h +++ b/qw/include/pmove.h @@ -73,7 +73,7 @@ typedef struct vec3_t angles; vec3_t velocity; int oldbuttons; - int oldonground;; + int oldonground; float waterjumptime; qboolean dead; qboolean flying; diff --git a/qw/source/net_packetlog.c b/qw/source/net_packetlog.c index 503997b7a..5e7fdb326 100644 --- a/qw/source/net_packetlog.c +++ b/qw/source/net_packetlog.c @@ -265,7 +265,7 @@ Log_Incoming_Packet (const char *p, int len) Net_LogPrintf ("\n>>>>>>>>>>>>>>>>>>>>> server to client %d bytes: " ">>>>>>>>>>>>>>>>>>>>>>>>\n", len); if (net_loglevel->int_val != 3) - hex_dump_buf ((unsigned char *) p, len);; + hex_dump_buf ((unsigned char *) p, len); if (net_loglevel->int_val > 1) Analyze_Server_Packet (p, len); } @@ -282,14 +282,14 @@ Log_Outgoing_Packet (const char *p, int len) Net_LogPrintf ("\n>>>>>>>>>>>>>>>>>>>>> server to client %d bytes: " ">>>>>>>>>>>>>>>>>>>>>>>>\n", len); if (net_loglevel->int_val != 3) - hex_dump_buf ((unsigned char *) p, len);; + hex_dump_buf ((unsigned char *) p, len); if (net_loglevel->int_val > 1) Analyze_Server_Packet (p, len); } else { Net_LogPrintf ("\n<<<<<<<<<<<<<<<<<<<<< client to server %d bytes: " "<<<<<<<<<<<<<<<<<<<<<<<<\n", len); if (net_loglevel->int_val != 3) - hex_dump_buf ((unsigned char *) p, len);; + hex_dump_buf ((unsigned char *) p, len); if (net_loglevel->int_val > 1) Analyze_Client_Packet (p, len); } diff --git a/tools/qfcc/source/opcodes.c b/tools/qfcc/source/opcodes.c index 8a896b678..fd3b7caf6 100644 --- a/tools/qfcc/source/opcodes.c +++ b/tools/qfcc/source/opcodes.c @@ -82,7 +82,7 @@ get_hash (void *_op, void *_tab) } else { abort (); } - return hash + Hash_String (op->name);; + return hash + Hash_String (op->name); } static int