Fixed problems on systems using newer GLIB and GCC (2.96) which no
longer allow the -Wp,-lang-c-c++-comments directive. Also cleaned up getloadavg support that had problems on Solaris and RedHat 7.1. Removed unused variables in a number of functions as a result of warnings when compiled with --enable-debug config option.
This commit is contained in:
@@ -8,8 +8,6 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#define __u32 unsigned int
|
||||
#define __u8 unsigned char
|
||||
#include <linux/joystick.h>
|
||||
|
||||
#include "../../shared/debug.h"
|
||||
@@ -50,7 +48,7 @@ joy_init (struct lcd_logical_driver *driver, char *args)
|
||||
{
|
||||
char device[256];
|
||||
char *argv[64];
|
||||
int argc, i, j;
|
||||
int argc, i;
|
||||
|
||||
joy = driver;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user