# These ones can be overriden from the cmdline
CFLAGS := -g -O1
-CFLAGS += -Wall -Wno-unused -Wpointer-arith
+CFLAGS += -Wall -Wpointer-arith
CXXFLAGS := $(CFLAGS)
CFLAGS += -Wstrict-prototypes -Wmissing-prototypes
"--sysdev [ir class (f. ex. rc0)]\n"
"[for using the rc0 sysdev]";
-
static char *devclass = "rc0";
static char *devname = NULL;
static int read = 0;
* Values that are read only via sysfs node
*/
static int sysfs = 0;
-static char *node_input = NULL;
static char *drv_name = NULL, *keytable_name = NULL;
struct keytable *nextkey = &keys;
static struct sysfs_names *find_device(char *name)
{
- struct uevents *uevent;
char dname[256];
char *input = "rc";
- int rc;
- char *DEV = "/dev/";
static struct sysfs_names *names, *cur;
/*
* Get event sysfs node
struct uevents *uevent;
char *name = NULL;
char *input = "input", *event = "event";
- int rc;
char *DEV = "/dev/";
static struct sysfs_names *input_names, *event_names;
nextkey = &keys;
while (nextkey->next) {
- int value;
struct keytable *old;
write_cnt++;
}
if (!devname) {
- static struct sysfs_names *names, *cur;
-
names = find_device(devclass);
if (!names)
return -1;