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

move the static last_*_update variables into the function

This commit is contained in:
Phil Sutter 2009-09-06 21:57:19 +02:00
parent 5a3b7c074b
commit 8cf8c4dac3

View File

@ -383,9 +383,6 @@ void format_seconds_short(char *buf, unsigned int n, long seconds)
}
}
static double last_meminfo_update;
static double last_fs_update;
unsigned long long need_mask;
int no_buffers;
@ -394,6 +391,8 @@ int no_buffers;
void update_stuff(void)
{
int i;
static double last_meminfo_update;
static double last_fs_update;
info.mask = 0;