NSM: Clean up compiler warnings.

This commit is contained in:
Jonathan Moore Liles 2012-03-03 12:39:09 -08:00
parent 82b2c5e565
commit 60de871511
2 changed files with 4 additions and 2 deletions

View File

@ -21,7 +21,9 @@
#include "debug.h" #include "debug.h"
#ifndef _GNU_SOURCE
#define _GNU_SOURCE #define _GNU_SOURCE
#endif
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>

View File

@ -475,7 +475,7 @@ public:
const char *session_name ( void ) const const char *session_name ( void ) const
{ {
clients_pack->parent()->label(); return clients_pack->parent()->label();
} }
void void
@ -901,7 +901,7 @@ ping ( void * )
} }
void void
cb_main ( Fl_Widget *o, void *v ) cb_main ( Fl_Widget *, void * )
{ {
if ( Fl::event_key() != FL_Escape ) if ( Fl::event_key() != FL_Escape )
{ {