summaryrefslogtreecommitdiff
path: root/sysdeps/common
diff options
context:
space:
mode:
authorMartin Baulig <martin@src.gnome.org>1998-10-06 09:04:27 +0000
committerMartin Baulig <martin@src.gnome.org>1998-10-06 09:04:27 +0000
commitcf0e724f7de3d12115737c95be28176fbac94912 (patch)
tree5618c2f922ffe44245a25ffb4f654e41aa04a9f8 /sysdeps/common
parent0659b93dffe9c75e85380c332ffd7eeedc4506c7 (diff)
downloadlibgtop-cf0e724f7de3d12115737c95be28176fbac94912.tar.gz
Removed G_GNUC_UNUSED.
Diffstat (limited to 'sysdeps/common')
-rw-r--r--sysdeps/common/fsusage.c2
-rw-r--r--sysdeps/common/inodedb.c4
-rw-r--r--sysdeps/common/mountlist.c2
-rw-r--r--sysdeps/common/xmalloc.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/common/fsusage.c b/sysdeps/common/fsusage.c
index 1021bf37..9e6a84af 100644
--- a/sysdeps/common/fsusage.c
+++ b/sysdeps/common/fsusage.c
@@ -103,7 +103,7 @@ adjust_blocks (blocks, fromsize, tosize)
static int
get_fs_usage (path, disk, fsp)
const char *path;
- const char G_GNUC_UNUSED *disk;
+ const char *disk;
struct fs_usage *fsp;
{
#ifdef STAT_STATFS3_OSF1
diff --git a/sysdeps/common/inodedb.c b/sysdeps/common/inodedb.c
index d3faab5a..ef3d2018 100644
--- a/sysdeps/common/inodedb.c
+++ b/sysdeps/common/inodedb.c
@@ -33,7 +33,7 @@
glibtop_inodedb *
glibtop_inodedb_open_s (glibtop *server, unsigned databases,
- unsigned long G_GNUC_UNUSED cachesize)
+ unsigned long cachesize)
{
glibtop_inodedb *inodedb;
char filename [BUFSIZ];
@@ -76,7 +76,7 @@ glibtop_inodedb_open_s (glibtop *server, unsigned databases,
}
const char *
-glibtop_inodedb_lookup_s (glibtop G_GNUC_UNUSED *server,
+glibtop_inodedb_lookup_s (glibtop *server,
glibtop_inodedb *inodedb,
u_int64_t device, u_int64_t inode)
{
diff --git a/sysdeps/common/mountlist.c b/sysdeps/common/mountlist.c
index 895dfce1..77f9755a 100644
--- a/sysdeps/common/mountlist.c
+++ b/sysdeps/common/mountlist.c
@@ -260,7 +260,7 @@ fstype_to_string (t)
static struct mount_entry *
read_filesystem_list (need_fs_type, all_fs)
- int G_GNUC_UNUSED need_fs_type, G_GNUC_UNUSED all_fs;
+ int need_fs_type, all_fs;
{
struct mount_entry *mount_list;
struct mount_entry *me;
diff --git a/sysdeps/common/xmalloc.c b/sysdeps/common/xmalloc.c
index afbaf0e4..fcf5c96d 100644
--- a/sysdeps/common/xmalloc.c
+++ b/sysdeps/common/xmalloc.c
@@ -64,7 +64,7 @@ glibtop_strdup_r (glibtop *server, const char *string)
}
void
-glibtop_free_r (glibtop G_GNUC_UNUSED *server, const void *ptr)
+glibtop_free_r (glibtop *server, const void *ptr)
{
if (ptr) free ((void *) ptr);
}