[libgtop] Define glibtop_machine for Linux as empty because it's not used. Fix compilation.
- From: Benoît Dejean <bdejean src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgtop] Define glibtop_machine for Linux as empty because it's not used. Fix compilation.
- Date: Sat, 15 Aug 2015 08:43:41 +0000 (UTC)
commit ca42f1f3af153374f3b0a66f7f470776981e3f9d
Author: Benoît Dejean <bdejean gmail com>
Date: Sat Aug 8 11:05:25 2015 +0200
Define glibtop_machine for Linux as empty because it's not used.
Fix compilation.
sysdeps/linux/glibtop_machine.h | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/sysdeps/linux/glibtop_machine.h b/sysdeps/linux/glibtop_machine.h
index 133d7c8..14a21bf 100644
--- a/sysdeps/linux/glibtop_machine.h
+++ b/sysdeps/linux/glibtop_machine.h
@@ -22,9 +22,7 @@
#ifndef __GLIBTOP_MACHINE_H__
#define __GLIBTOP_MACHINE_H__
-#include <unistd.h>
-#include <fcntl.h>
-#include <ctype.h>
+#include <glib.h>
G_BEGIN_DECLS
@@ -32,8 +30,6 @@ typedef struct _glibtop_machine glibtop_machine;
struct _glibtop_machine
{
- guint64 reserved[8];
- int reserved[8];
};
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]