Fixed compilation

Mon, 23 Jun 2014 19:56:54 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 23 Jun 2014 19:56:54 +0200
changeset 69
df5d983dab1b
parent 68
6dba71439cd8
child 70
920eface3ec5

Fixed compilation

thermferm/rdconfig.c file | annotate | diff | comparison | revisions
--- 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