summaryrefslogtreecommitdiff
path: root/vchat-commands.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2022-05-17 16:12:46 +0200
committerDirk Engling <erdgeist@erdgeist.org>2022-05-17 16:12:46 +0200
commit1c04bbfea700a8a38719e9a30dd47b37bf609a3d (patch)
tree79e814b2594ae8b388f821ef6696cc85d1e74cf6 /vchat-commands.c
parent34a4541114318a7eda1c96ed58f83cdcd2622207 (diff)
Get rid of some warnings
Diffstat (limited to 'vchat-commands.c')
-rwxr-xr-xvchat-commands.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/vchat-commands.c b/vchat-commands.c
index dc46b9c..1b69a94 100755
--- a/vchat-commands.c
+++ b/vchat-commands.c
@@ -141,7 +141,7 @@ translatecommand( char **cmd)
141 141
142/* handle thought */ 142/* handle thought */
143static void 143static void
144dothink( char *tail, char nice ) 144dothink(const char *tail, const char nice )
145{ 145{
146 while( *tail == ' ' ) tail++; 146 while( *tail == ' ' ) tail++;
147 147
@@ -157,7 +157,7 @@ dothink( char *tail, char nice )
157 157
158/* handle action */ 158/* handle action */
159static void 159static void
160doaction( char *tail ) 160doaction(const char *tail )
161{ 161{
162 while( *tail == ' ' ) tail++; 162 while( *tail == ' ' ) tail++;
163 163
@@ -177,7 +177,7 @@ doaction( char *tail )
177 177
178/* handle private message outgoing */ 178/* handle private message outgoing */
179static void 179static void
180privatemessagetx ( char *tail ) { 180privatemessagetx (char *tail ) {
181 char *mesg; 181 char *mesg;
182 182
183 /* find nick */ 183 /* find nick */
@@ -406,6 +406,7 @@ command_rmflt (char *tail) {
406/* list filters */ 406/* list filters */
407static void 407static void
408command_lsflt (char *tail) { 408command_lsflt (char *tail) {
409 (void)tail;
409 listfilters(); 410 listfilters();
410} 411}
411 412
@@ -413,13 +414,14 @@ command_lsflt (char *tail) {
413static void 414static void
414command_action(char *tail) 415command_action(char *tail)
415{ 416{
416 doaction( tail); 417 doaction(tail);
417} 418}
418 419
419/* handle a "/reconnect" request */ 420/* handle a "/reconnect" request */
420static void 421static void
421command_reconnect(char *tail) 422command_reconnect(char *tail)
422{ 423{
424 (void)tail;
423 status = 0; 425 status = 0;
424 wantreconnect = 1; 426 wantreconnect = 1;
425 ownquit = 0; 427 ownquit = 0;
@@ -446,6 +448,7 @@ command_quit(char *tail)
446void 448void
447command_version(char *tail) 449command_version(char *tail)
448{ 450{
451 (void)tail;
449 /* output internal versions of all modules */ 452 /* output internal versions of all modules */
450 flushout(); 453 flushout();
451 writeout (vchat_cl_version); 454 writeout (vchat_cl_version);