The source project of this merge request has been removed.
Fix fatal compiler warnings
CFLAGS="-Wall -Werror=implicit-function-declaration" should be the norm during development.
xfce4-cpufreq-linux-sysfs.c: In function 'cpufreq_sysfs_read_int':
xfce4-cpufreq-linux-sysfs.c:106:17: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration]
(*intval) = atoi (contents);
^~~~
xfce4-cpufreq-linux-sysfs.c: In function 'cpufreq_sysfs_read_string_list':
xfce4-cpufreq-linux-sysfs.c:159:37: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration]
*list = g_list_append (*list, strdup (tokens[i]));
Signed-off-by: Olaf Hering olaf@aepfle.de
Edited by O H