diff options
author | Benoît Dejean <bdejean@src.gnome.org> | 2005-04-01 20:06:35 +0000 |
---|---|---|
committer | Benoît Dejean <bdejean@src.gnome.org> | 2005-04-01 20:06:35 +0000 |
commit | d1891b11efe0cf2ddb5dce3b4c2f899999b9d9c7 (patch) | |
tree | 6af574414ef16b6c3f43518f946eaf64477e6057 /sysdeps | |
parent | 765a9193059c168804a17dbcece0d1abb18961fe (diff) | |
download | libgtop-d1891b11efe0cf2ddb5dce3b4c2f899999b9d9c7.tar.gz |
Fixed gcc-4.0 warnings.
* glibtop_private.h: Fixed gcc-4.0 warnings.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/linux/ChangeLog | 4 | ||||
-rw-r--r-- | sysdeps/linux/glibtop_private.h | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/sysdeps/linux/ChangeLog b/sysdeps/linux/ChangeLog index 4bb2daaa..92f9eadf 100644 --- a/sysdeps/linux/ChangeLog +++ b/sysdeps/linux/ChangeLog @@ -1,3 +1,7 @@ +2005-04-01 Benoît Dejean <TazForEver@dlfp.org> + + * glibtop_private.h: Fixed gcc-4.0 warnings. + 2005-03-29 Benoît Dejean <TazForEver@dlfp.org> * fsusage.c: (get_partition): Removed a g_return_if_fail. diff --git a/sysdeps/linux/glibtop_private.h b/sysdeps/linux/glibtop_private.h index 7e4369b3..fc6a1c6c 100644 --- a/sysdeps/linux/glibtop_private.h +++ b/sysdeps/linux/glibtop_private.h @@ -40,8 +40,8 @@ next_token(const char *p) return (char*) p; } -char * G_GNUC_INTERNAL -skip_token (const char *p); +char * +skip_token (const char *p) G_GNUC_INTERNAL; static inline char * skip_multiple_token (const char *p, size_t count) @@ -61,8 +61,8 @@ skip_line (const char *p) } -unsigned long long G_GNUC_INTERNAL -get_scaled(const char *buffer, const char *key); +unsigned long long +get_scaled(const char *buffer, const char *key) G_GNUC_INTERNAL; /* aborts on error */ |