Header fixes:
* Do not include system headers in shared files (stdlib.h). * Don't include lcd.h only once in each driver. * Remove some unnecessary headers from driver (e.g. syslog.h) * Include <poll.h> instead of <sys/poll.h> * Spelling fixes.
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
#include <errno.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/types.h>
|
||||
#include <errno.h>
|
||||
|
||||
#define __u32 unsigned int
|
||||
#define __u8 unsigned char
|
||||
@@ -96,7 +95,7 @@ irmanin_init (Driver *drvthis)
|
||||
if (p->device[0] != '\0') {
|
||||
report(RPT_INFO, "%s: using Device %s", drvthis->name, p->device);
|
||||
ptrdevice = p->device;
|
||||
}
|
||||
}
|
||||
|
||||
/* What config file should be used */
|
||||
strncpy(p->config, drvthis->config_get_string(drvthis->name, "Config", 0,
|
||||
|
||||
Reference in New Issue
Block a user