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:
mmdolze
2011-03-28 18:17:58 +00:00
parent be5c6d014b
commit c9c3272eba
92 changed files with 105 additions and 255 deletions
+1 -4
View File
@@ -43,11 +43,8 @@
#include <termios.h>
#include <fcntl.h>
#include <string.h>
#include <strings.h>
#include <errno.h>
#include <syslog.h>
#include <ctype.h>
#include <sys/poll.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -84,7 +81,7 @@ typedef struct SureElec_private_data {
unsigned char *framebuf;
unsigned char *backingstore;
/* defineable characters */
/* definable characters */
CGmode ccmode;
int output_state; /**< current output state */