All compilation related issues in the headers have been fixed. Now each header compiles with no warnings as a standalone file.

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1164 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
This commit is contained in:
mjona
2011-12-22 10:48:01 +00:00
parent 2362171db0
commit 67c1402467
10 changed files with 11 additions and 0 deletions
+1
View File
@@ -31,6 +31,7 @@
#include "drv_generic.h"
#include "widget.h"
#include "widget_bar.h"
extern int CHARS, CHAR0; /* number of user-defineable characters, ASCII of first char */
extern int ICONS; /* number of user-defineable characters reserved for icons */
+1
View File
@@ -459,6 +459,7 @@ struct i2c_rdwr_ioctl_data {
#define I2C_RDRW_IOCTL_MAX_MSGS 42
#include <stdlib.h>
#include <sys/ioctl.h>
static inline __s32 i2c_smbus_access(int file, char read_write, __u8 command, int size, union i2c_smbus_data *data)
+1
View File
@@ -28,6 +28,7 @@
#ifndef _TIMER_H_
#define _TIMER_H_
#include <time.h>
int timer_add(void (*callback) (void *data), void *data, const int interval, const int one_shot);
+2
View File
@@ -29,6 +29,8 @@
#define _WIDGET_BAR_H_
#include "property.h"
#include "widget.h"
#include "rgb.h"
typedef enum { DIR_EAST = 1, DIR_WEST = 2, DIR_NORTH = 4, DIR_SOUTH = 8 } DIRECTION;
typedef enum { STYLE_HOLLOW = 1, STYLE_FIRST = 2, STYLE_LAST = 4 } STYLE;
+1
View File
@@ -29,6 +29,7 @@
#define _WIDGET_GPO_H_
#include "property.h"
#include "widget.h"
typedef struct WIDGET_GPO {
PROPERTY expression; /* main GPO expression */
+1
View File
@@ -29,6 +29,7 @@
#define _WIDGET_ICON_H_
#include "property.h"
#include "widget.h"
typedef struct WIDGET_ICON {
PROPERTY speed; /* update interval (msec) */
+1
View File
@@ -29,6 +29,7 @@
#define _WIDGET_IMAGE_H_
#include "property.h"
#include "widget.h"
#include "rgb.h"
typedef struct WIDGET_IMAGE {
+1
View File
@@ -29,6 +29,7 @@
#define _WIDGET_KEYPAD_H_
#include "property.h"
#include "widget.h"
typedef enum {
WIDGET_KEY_UP = 1,
+1
View File
@@ -29,6 +29,7 @@
#define _WIDGET_TEXT_H_
#include "property.h"
#include "widget.h"
typedef enum { ALIGN_LEFT, ALIGN_CENTER, ALIGN_RIGHT, ALIGN_MARQUEE, ALIGN_AUTOMATIC, ALIGN_PINGPONG_LEFT,
ALIGN_PINGPONG_CENTER, ALIGN_PINGPONG_RIGHT
+1
View File
@@ -29,6 +29,7 @@
#define _WIDGET_TIMER_H_
#include "property.h"
#include "widget.h"
typedef struct WIDGET_TIMER {
PROPERTY expression; /* main timer expression */