X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=console.c;h=fc29e5f789742f22a297d8e6891c335508990222;hp=231cacf5847b8caea3e2c9e1feee0dcc3d9f8eda;hb=861475e4f10eb1f592a5c64aff3b57eab4d11edb;hpb=9ef8e3d52df37c3cd6a5bfb3d34b6f212971359c diff --git a/console.c b/console.c index 231cacf5..fc29e5f7 100644 --- a/console.c +++ b/console.c @@ -331,7 +331,7 @@ void Log_ConPrint (const char *msg); Log_DestBuffer_Init ==================== */ -static void Log_DestBuffer_Init() +static void Log_DestBuffer_Init(void) { memcpy(log_dest_buffer, "\377\377\377\377n", 5); // QW rcon print log_dest_buffer_pos = 5; @@ -342,7 +342,7 @@ static void Log_DestBuffer_Init() Log_DestBuffer_Flush ==================== */ -void Log_DestBuffer_Flush() +void Log_DestBuffer_Flush(void) { lhnetaddress_t log_dest_addr; lhnetsocket_t *log_dest_socket; @@ -712,7 +712,7 @@ void Con_ConDump_f (void) FS_Close(file); } -void Con_Clear_f () +void Con_Clear_f (void) { ConBuffer_Clear(&con); } @@ -881,7 +881,7 @@ void Con_Rcon_Redirect_Init(lhnetsocket_t *sock, lhnetaddress_t *dest) rcon_redirect_bufferpos = 5; } -void Con_Rcon_Redirect_Flush() +void Con_Rcon_Redirect_Flush(void) { rcon_redirect_buffer[rcon_redirect_bufferpos] = 0; NetConn_WriteString(rcon_redirect_sock, rcon_redirect_buffer, rcon_redirect_dest); @@ -889,14 +889,14 @@ void Con_Rcon_Redirect_Flush() rcon_redirect_bufferpos = 5; } -void Con_Rcon_Redirect_End() +void Con_Rcon_Redirect_End(void) { Con_Rcon_Redirect_Flush(); rcon_redirect_dest = NULL; rcon_redirect_sock = NULL; } -void Con_Rcon_Redirect_Abort() +void Con_Rcon_Redirect_Abort(void) { rcon_redirect_dest = NULL; rcon_redirect_sock = NULL;