Marked private functions G_GNUC_INTERNAL.

* fsusage.c: (_glibtop_linux_get_fsusage_read_write):
	* glibtop_private.h: Marked private functions G_GNUC_INTERNAL.
This commit is contained in:
Benoît Dejean
2004-12-23 15:56:51 +00:00
parent 9fe6dadcec
commit 817057bc3c
3 changed files with 18 additions and 10 deletions

View File

@@ -13,9 +13,11 @@
#include <string.h>
#include <stdlib.h>
void _glibtop_linux_get_fsusage_read_write(glibtop *server,
glibtop_fsusage *buf,
const char *path);
void
G_GNUC_INTERNAL
_glibtop_linux_get_fsusage_read_write(glibtop *server,
glibtop_fsusage *buf,
const char *path);
/*
* Linux 2.6.x
@@ -92,9 +94,10 @@ static void linux_2_4_0(glibtop *server, glibtop_fsusage *buf, const char *path)
}
void _glibtop_linux_get_fsusage_read_write(glibtop *server,
glibtop_fsusage *buf,
const char *path)
void G_GNUC_INTERNAL
_glibtop_linux_get_fsusage_read_write(glibtop *server,
glibtop_fsusage *buf,
const char *path)
{
if(server->os_version_code >= LINUX_VERSION_CODE(2, 6, 0))
{