Uninlined.

* glibtop_private.c: (skip_token):
	* glibtop_private.h: Uninlined.
This commit is contained in:
Benoît Dejean
2005-01-16 11:16:19 +00:00
parent 92a9e7d937
commit 703a17f3f0
3 changed files with 17 additions and 8 deletions

View File

@@ -1,3 +1,8 @@
2005-01-16 Benoît Dejean <TazForEver@dlfp.org>
* glibtop_private.c: (skip_token):
* glibtop_private.h: Uninlined.
2005-01-13 Benoît Dejean <TazForEver@dlfp.org>
* fsusage.c: (get_partition), (get_sys_path), (linux_2_6_0): Reworked.

View File

@@ -32,6 +32,16 @@ get_scaled(const char *buffer, const char *key)
}
char *
skip_token (const char *p)
{
p = next_token(p);
while (*p && !isspace(*p)) p++;
p = next_token(p);
return (char *)p;
}
/*
* Read functions
*/

View File

@@ -40,14 +40,8 @@ next_token(const char *p)
return (char*) p;
}
static inline char *
skip_token (const char *p)
{
p = next_token(p);
while (*p && !isspace(*p)) p++;
p = next_token(p);
return (char *)p;
}
char * G_GNUC_INTERNAL
skip_token (const char *p);
static inline char *
skip_multiple_token (const char *p, size_t count)