thermometers/rdconfig.c

changeset 145
1396350141cf
parent 144
3446371e0bdb
--- a/thermometers/rdconfig.c	Tue Jul 29 20:42:02 2014 +0200
+++ b/thermometers/rdconfig.c	Tue Jul 29 21:05:40 2014 +0200
@@ -33,12 +33,9 @@
 
 static int getw1(char **);
 #ifdef HAVE_WIRINGPI_H
-static int getstr(char **);
 static int getint(char **);
 static int getrcs(char **);
 #endif
-//static int getbyt(char **);
-//static int gethex(char **);
 
 #define XSTR(x) #x
 #define STR(x) XSTR(x)
@@ -193,17 +190,6 @@
 
 
 #ifdef HAVE_WIRINGPI_H
-static int getstr(char **dest)
-{
-    if (debug)
-	syslog(LOG_NOTICE, "rdconfig: getstr: %s(%d): %s %s", mypath, linecnt, MBSE_SS(k), MBSE_SS(v));
-
-    *dest = xstrcpy(v);
-    return 0;
-}
-
-
-
 static int getint(char **dest)
 {
     if (debug)

mercurial