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:
@@ -27,9 +27,6 @@
|
||||
#ifndef IOWARRIOR_H
|
||||
#define IOWARRIOR_H
|
||||
|
||||
#include <usb.h>
|
||||
#include "lcd.h"
|
||||
|
||||
#define DEFAULT_SERIALNO ""
|
||||
#define DEFAULT_SIZE "20x4"
|
||||
#define DEFAULT_BACKLIGHT 1
|
||||
@@ -89,7 +86,7 @@ typedef struct IOWarrior_private_data {
|
||||
/* last LCD contents (for incremental updates) */
|
||||
unsigned char *backingstore;
|
||||
|
||||
/* defineable characters */
|
||||
/* definable characters */
|
||||
CGram cc[NUM_CCs];
|
||||
CGmode ccmode;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user