thermferm/rdconfig.c

changeset 69
df5d983dab1b
parent 66
805f1d285acd
child 71
a09c5cdc4022
--- a/thermferm/rdconfig.c	Mon Jun 23 19:53:33 2014 +0200
+++ b/thermferm/rdconfig.c	Mon Jun 23 19:56:54 2014 +0200
@@ -32,9 +32,9 @@
 
 
 //static int getstr(char **);
-//static int getint(char **);
 static int getw1(char **);
 #ifdef HAVE_WIRINGPI_H
+static int getint(char **);
 static int getrcs(char **);
 #endif
 static int getuch(char **);
@@ -312,7 +312,7 @@
 
 
 
-/*
+#ifdef HAVE_WIRINGPI_H
 static int getint(char **dest)
 {
     if (debug)
@@ -324,7 +324,7 @@
 	*((int*)dest)=atoi(v);
     return 0;
 }
-*/
+#endif
 
 
 

mercurial