# HG changeset patch # User nkeynes # Date 1191737002 0 # Node ID 17f019f4ed8db01060dc4256009352240d2965a4 # Parent 421d68e78c4653b7b4dd08f176405bafa6d74359 Fix compilation warnings --- a/src/display.c Sun Oct 07 05:42:25 2007 +0000 +++ b/src/display.c Sun Oct 07 06:03:22 2007 +0000 @@ -1,5 +1,5 @@ /** - * $Id: display.c,v 1.8 2007-09-08 04:05:35 nkeynes Exp $ + * $Id: display.c,v 1.9 2007-10-07 06:03:22 nkeynes Exp $ * * Generic support for keyboard and other input sources. The active display * driver is expected to deliver events here, where they're translated and @@ -78,7 +78,6 @@ gboolean input_register_key( const gchar *keysym, input_key_callback_t callback, void *data, uint32_t value ) { - int i; if( display_driver == NULL || keysym == NULL || display_driver->resolve_keysym == NULL ) return FALSE; /* No display driver */ gchar **strv = g_strsplit(keysym, ",", 16); --- a/src/util.c Sun Oct 07 05:42:25 2007 +0000 +++ b/src/util.c Sun Oct 07 06:03:22 2007 +0000 @@ -1,5 +1,5 @@ /** - * $Id: util.c,v 1.7 2007-10-06 08:59:42 nkeynes Exp $ + * $Id: util.c,v 1.8 2007-10-07 06:03:22 nkeynes Exp $ * * Miscellaneous utility functions. * @@ -16,6 +16,7 @@ * GNU General Public License for more details. */ +#include #include "dream.h" void fwrite_string( const char *s, FILE *f )