Fix build on FreeBSD.
authorRoman Bogorodskiy <mirrorbox@users.sourceforge.net>
Tue, 23 Aug 2005 06:10:25 +0000 (06:10 +0000)
committerRoman Bogorodskiy <mirrorbox@users.sourceforge.net>
Tue, 23 Aug 2005 06:10:25 +0000 (06:10 +0000)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@156 7f574dfc-610e-0410-a909-a81674777703

src/conky.h
src/freebsd.c

index 9f832ce..87ac921 100644 (file)
@@ -9,8 +9,9 @@
 #ifndef _conky_h_
 #define _conky_h_
 
-
+#if defined(HAS_MCHECK_H)
 #include <mcheck.h>
+#endif /* HAS_MCHECK_H */
 #include "config.h"
 #include <sys/utsname.h>
 #include <stdio.h>
index 90e809d..8dfb3c2 100644 (file)
@@ -331,7 +331,7 @@ void update_cpu_usage()
        oldtotal = total;
 }
 
-double get_i2c_info(int *fd, int div, char *devtype)
+double get_i2c_info(int *fd, int arg, char *devtype, char *type)
 {
        return 0;
 }
@@ -449,3 +449,11 @@ char *get_freq()
        return "";
 #endif
 }
+
+void update_top()
+{
+}
+
+void update_wifi_stats()
+{
+}