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
+4 -6
View File
@@ -20,8 +20,6 @@
#ifndef TYAN_LCDM_H
#define TYAN_LCDM_H
#include "lcd.h"
#define DEFAULT_CELL_WIDTH 5
#define DEFAULT_CELL_HEIGHT 8
#define DEFAULT_DEVICE "/dev/lcd"
@@ -54,19 +52,19 @@ typedef struct tyan_lcdm_private_data {
char device[200];
int speed;
int fd;
unsigned char *framebuf;
unsigned char *backingstore;
int width;
int height;
int cellwidth;
int cellheight;
/* defineable characters */
/* definable characters */
CGram cc[NUM_CCs];
CGmode ccmode;
} PrivateData;
} PrivateData;
/* API: variables for the server core */