Cleanup and documentation updates:

- Remove shared/str.h where not used.
- Remove shared/debug.h from all files as it has been completely replaced
  by shared/report.h (it will be removed later).
- Add more doxygen comments to shared/* and clients/lcdproc/*.
- Include static functions in doxygen output.
This commit is contained in:
mmdolze
2010-02-02 23:20:29 +00:00
parent e914ee3d72
commit 66023939a1
49 changed files with 929 additions and 590 deletions
-2
View File
@@ -34,8 +34,6 @@
#endif
#include "lcd.h"
#include "bayrad.h"
//#include "drv_base.h"
#include "shared/str.h"
#include "report.h"
#include "lcd_lib.h"
-1
View File
@@ -35,7 +35,6 @@
#define DEBUG 1
#include "lcd.h"
#include "shared/str.h"
#include "glk.h"
#include "glkproto.h"
#include "report.h"
-1
View File
@@ -53,7 +53,6 @@
#include "hd44780-i2c.h"
#include "hd44780-low.h"
#include "shared/str.h"
#include "report.h"
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -401,8 +401,8 @@ static void setLIS2Fans(int fd, int fan1, int fan2, int fan3, int fan4)
/**
* Write a character.
* \param fd File handle to write to.
* \param ch Character to write.
* \param fd File handle to write to.
* \param code Character to write.
*/
static void writeChar(int fd, unsigned char code)
{
+1 -1
View File
@@ -1428,7 +1428,7 @@ HD44780_output(Driver *drvthis, int on)
* \param dispOffsets Array to store display offsets.
* \param dOffsize Size of dispOffsets.
* \param dispSizeArray Array of display vertical sizes (= spanlist).
* \param spanlist '\0'-terminated input span list in comma delimited format.
* \param spanlist '\\0'-terminated input span list in comma delimited format.
* \return Number of span elements, -1 on parse error.
*/
static int
-1
View File
@@ -39,7 +39,6 @@
# include "config.h"
#endif
#include "shared/str.h"
#include "lcd.h"
#include "i2500vfd.h"
#include "report.h"
+1 -1
View File
@@ -1018,7 +1018,7 @@ imonlcd_output(Driver *drvthis, int state)
icon |= IMON_ICON_OGG;
break;
case 3:
icon |= IMON_ICON_WMA;
icon |= IMON_ICON_WMA2;
break;
case 4:
icon |= IMON_ICON_WAV;
-1
View File
@@ -27,7 +27,6 @@
#include "config.h"
#endif
#include "shared/str.h"
#include "lcd.h"
#include "irmanin.h"
#include "report.h"
-1
View File
@@ -45,7 +45,6 @@
#include <arpa/inet.h>
#include "lcd.h"
#include "shared/str.h"
#include "irtrans.h"
#include "irtrans_remote.h"
#include "irtrans_network.h"
-1
View File
@@ -39,7 +39,6 @@
#include "lcd.h"
#include "joy.h"
#include "report.h"
#include "shared/str.h"
#define JOY_NAMELENGTH 128
#define JOY_DEFAULT_DEVICE "/dev/js0"
-2
View File
@@ -31,9 +31,7 @@
#include "lcd.h"
#include "lb216.h"
#include "shared/str.h"
#include "report.h"
//#include "drv_base.h"
#define LB216_DEFAULT_DEVICE "/dev/lcd"
#define LB216_DEFAULT_SPEED 9600
-1
View File
@@ -50,7 +50,6 @@
#include "report.h"
#include "lcd_lib.h"
/*
#include "shared/str.h"
#include "server/configfile.h"
*/
-1
View File
@@ -62,7 +62,6 @@
#define WR 0x01
#define IODELAY 500
#include "shared/str.h"
#include "lcd.h"
#include "sed1520.h"
#include "report.h"
-1
View File
@@ -38,7 +38,6 @@
# include "config.h"
#endif
#include "shared/str.h"
#include "lcd.h"
#include "stv5730.h"
#include "report.h"
-2
View File
@@ -25,8 +25,6 @@
#include "report.h"
#include "lcd_lib.h"
#include "shared/str.h"
#define SLI_DEFAULT_DEVICE "/dev/lcd"
typedef enum {