Fixed gcc-4.0 warnings.

* glibtop_private.h: Fixed gcc-4.0 warnings.
This commit is contained in:
Benoît Dejean
2005-04-01 20:06:35 +00:00
parent 765a919305
commit d1891b11ef
2 changed files with 8 additions and 4 deletions

View File

@@ -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> 2005-03-29 Benoît Dejean <TazForEver@dlfp.org>
* fsusage.c: (get_partition): Removed a g_return_if_fail. * fsusage.c: (get_partition): Removed a g_return_if_fail.

View File

@@ -40,8 +40,8 @@ next_token(const char *p)
return (char*) p; return (char*) p;
} }
char * G_GNUC_INTERNAL char *
skip_token (const char *p); skip_token (const char *p) G_GNUC_INTERNAL;
static inline char * static inline char *
skip_multiple_token (const char *p, size_t count) skip_multiple_token (const char *p, size_t count)
@@ -61,8 +61,8 @@ skip_line (const char *p)
} }
unsigned long long G_GNUC_INTERNAL unsigned long long
get_scaled(const char *buffer, const char *key); get_scaled(const char *buffer, const char *key) G_GNUC_INTERNAL;
/* aborts on error */ /* aborts on error */