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

Remove freebsd wifi stuff since the API seems to be

changed and I have no wifi devices to test it.


git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@893 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Roman Bogorodskiy 2007-08-06 16:42:48 +00:00
parent d5e116a4d2
commit cf49198176
4 changed files with 9 additions and 0 deletions

View File

@ -201,8 +201,10 @@ void update_stuff()
if (NEED(INFO_DISKIO))
update_diskio();
#if 0
if (NEED(INFO_WIFI))
update_wifi_stats();
#endif
if (NEED(INFO_MAIL))
update_mail_count();

View File

@ -2603,6 +2603,7 @@ static struct text_object *construct_text_object(const char *s, const char *arg,
else {
CRIT_ERR("addr needs argument");
}
#if 0
END OBJ(linkstatus, INFO_WIFI)
if(arg) {
obj->data.net = get_net_stat(arg);
@ -2610,6 +2611,7 @@ static struct text_object *construct_text_object(const char *s, const char *arg,
else {
CRIT_ERR("linkstatus needs argument");
}
#endif
END OBJ(tail, 0)
char buf[64];
int n1, n2;

View File

@ -469,7 +469,9 @@ void prepare_update(void);
void update_uptime(void);
void update_meminfo(void);
void update_net_stats(void);
#if 0
void update_wifi_stats(void);
#endif
void update_cpu_usage(void);
void update_total_processes(void);
void update_running_processes(void);

View File

@ -595,6 +595,7 @@ update_top()
proc_find_top(info.cpu, info.memu);
}
#if 0
void
update_wifi_stats()
{
@ -651,6 +652,8 @@ cleanup:
close(s);
}
}
#endif
void
update_diskio()
{