Added missing const qualifier.
* sysinfo.c: Added missing const qualifier.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2004-06-13 Benoît Dejean <tazforever@dlfp.org>
|
||||||
|
|
||||||
|
* sysinfo.c: Added missing const qualifier.
|
||||||
|
|
||||||
2004-06-06 Benoît Dejean <tazforever@dlfp.org>
|
2004-06-06 Benoît Dejean <tazforever@dlfp.org>
|
||||||
|
|
||||||
* procargs.c: (glibtop_get_proc_args_s): Removed never executed if statements.
|
* procargs.c: (glibtop_get_proc_args_s): Removed never executed if statements.
|
||||||
|
@@ -179,7 +179,7 @@ static void init_sysinfo(void)
|
|||||||
sysinfo.flags = _glibtop_sysdeps_sysinfo;
|
sysinfo.flags = _glibtop_sysdeps_sysinfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
glibtop_sysinfo *
|
const glibtop_sysinfo *
|
||||||
glibtop_get_sysinfo_s (glibtop *server)
|
glibtop_get_sysinfo_s (glibtop *server)
|
||||||
{
|
{
|
||||||
static int first_time = 1;
|
static int first_time = 1;
|
||||||
|
@@ -1,3 +1,7 @@
|
|||||||
|
2004-06-13 Benoît Dejean <tazforever@dlfp.org>
|
||||||
|
|
||||||
|
* sysinfo.c: Added missing const qualifier.
|
||||||
|
|
||||||
2004-06-06 Benoît Dejean <tazforever@dlfp.org>
|
2004-06-06 Benoît Dejean <tazforever@dlfp.org>
|
||||||
|
|
||||||
* proclist.c: (glibtop_get_proclist_s): Used g_memdup.
|
* proclist.c: (glibtop_get_proclist_s): Used g_memdup.
|
||||||
|
@@ -86,7 +86,7 @@ init_sysinfo (glibtop *server)
|
|||||||
sysinfo.flags = _glibtop_sysdeps_sysinfo;
|
sysinfo.flags = _glibtop_sysdeps_sysinfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
glibtop_sysinfo *
|
const glibtop_sysinfo *
|
||||||
glibtop_get_sysinfo_s (glibtop *server)
|
glibtop_get_sysinfo_s (glibtop *server)
|
||||||
{
|
{
|
||||||
init_sysinfo (server);
|
init_sysinfo (server);
|
||||||
|
Reference in New Issue
Block a user