1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 04:17:33 +00:00

Fix build on FreeBSD.

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@156 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Roman Bogorodskiy 2005-08-23 06:10:25 +00:00
parent 033002fcd8
commit dfd3ce76a5
2 changed files with 11 additions and 2 deletions

View 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>

View 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()
{
}