diff -r a5a964148e34 -r 1bd9a16f5061 thermferm/thermferm.h --- a/thermferm/thermferm.h Sat Jul 12 23:50:48 2014 +0200 +++ b/thermferm/thermferm.h Sun Jul 13 17:31:45 2014 +0200 @@ -163,71 +163,5 @@ } sys_config; -void killconfig(void); -int rdconfig(void); -int wrconfig(void); - - -/* lock.c */ -int lockprog(char *); -void ulockprog(char *); - - -/* xutil.c */ -char *xmalloc(size_t); -char *xstrcpy(char *); -char *xstrcat(char *, char *); - - -/* futil.c */ -int mkdirs(char *, mode_t); - - -#ifdef HAVE_WIRINGPI_H - -/* lcd-pcf8574.c */ -// Defines for the pcf8574 Pi LCD interface board -#define AF_BASE 100 - -#define AF_RS (AF_BASE + 0) -#define AF_RW (AF_BASE + 1) -#define AF_E (AF_BASE + 2) -#define AF_BACKLIGHT (AF_BASE + 3) -#define AF_DB4 (AF_BASE + 4) -#define AF_DB5 (AF_BASE + 5) -#define AF_DB6 (AF_BASE + 6) -#define AF_DB7 (AF_BASE + 7) - -void setBacklight (int); -int initLCD (int, int); -void mb_lcdPutchar(const int, unsigned char); -void mb_lcdPuts(const int, const char *); -void mb_lcdClear(const int); #endif - -/* logger.c */ -void logger(char *, char *); - -#ifdef HAVE_WIRINGPI_H -PI_THREAD (my_sensors_loop); -#else -void *my_sensors_loop(void *); -#endif - -/* server.c */ -#ifdef HAVE_WIRINGPI_H -PI_THREAD (my_server_loop); -#else -void *my_server_loop(void *); -#endif - -#ifdef HAVE_WIRINGPI_H -PI_THREAD (my_units_loop); -#else -void *my_units_loop(void *); -#endif - - -#endif -