Search
lxdream.org :: lxdream :: r425:17f019f4ed8d
lxdream 0.9.1
released Jun 29
Download Now
changeset425:17f019f4ed8d
parent424:421d68e78c46
child426:8a7a752f1174
authornkeynes
dateSun Oct 07 06:03:22 2007 +0000 (12 years ago)
Fix compilation warnings
src/display.c
src/util.c
1.1 --- a/src/display.c Sun Oct 07 05:42:25 2007 +0000
1.2 +++ b/src/display.c Sun Oct 07 06:03:22 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: display.c,v 1.8 2007-09-08 04:05:35 nkeynes Exp $
1.6 + * $Id: display.c,v 1.9 2007-10-07 06:03:22 nkeynes Exp $
1.7 *
1.8 * Generic support for keyboard and other input sources. The active display
1.9 * driver is expected to deliver events here, where they're translated and
1.10 @@ -78,7 +78,6 @@
1.11 gboolean input_register_key( const gchar *keysym, input_key_callback_t callback,
1.12 void *data, uint32_t value )
1.13 {
1.14 - int i;
1.15 if( display_driver == NULL || keysym == NULL || display_driver->resolve_keysym == NULL )
1.16 return FALSE; /* No display driver */
1.17 gchar **strv = g_strsplit(keysym, ",", 16);
2.1 --- a/src/util.c Sun Oct 07 05:42:25 2007 +0000
2.2 +++ b/src/util.c Sun Oct 07 06:03:22 2007 +0000
2.3 @@ -1,5 +1,5 @@
2.4 /**
2.5 - * $Id: util.c,v 1.7 2007-10-06 08:59:42 nkeynes Exp $
2.6 + * $Id: util.c,v 1.8 2007-10-07 06:03:22 nkeynes Exp $
2.7 *
2.8 * Miscellaneous utility functions.
2.9 *
2.10 @@ -16,6 +16,7 @@
2.11 * GNU General Public License for more details.
2.12 */
2.13
2.14 +#include <ctype.h>
2.15 #include "dream.h"
2.16
2.17 void fwrite_string( const char *s, FILE *f )
.