[libgtop] glibtop_machine is defined in glibtop.h. Don't duplicate the typedef (error unless C11).
- From: Benoît Dejean <bdejean src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgtop] glibtop_machine is defined in glibtop.h. Don't duplicate the typedef (error unless C11).
- Date: Sat, 15 Aug 2015 09:01:00 +0000 (UTC)
commit c9e73e52acf25a39aadc52927d6e36f293ccd035
Author: Benoit Dejean <bdejean gmail com>
Date: Sat Aug 15 10:56:41 2015 +0200
glibtop_machine is defined in glibtop.h.
Don't duplicate the typedef (error unless C11).
sysdeps/aix/glibtop_machine.h | 2 --
sysdeps/bsd/glibtop_machine.h | 2 --
sysdeps/cygwin/glibtop_machine.h | 2 --
sysdeps/darwin/glibtop_machine.h | 2 --
sysdeps/freebsd/glibtop_machine.h | 2 --
sysdeps/linux/glibtop_machine.h | 2 --
sysdeps/openbsd/glibtop_machine.h | 2 --
sysdeps/osf1/glibtop_machine.h | 2 --
sysdeps/solaris/glibtop_machine.h | 2 --
sysdeps/stub_suid/glibtop_machine.h | 2 --
10 files changed, 0 insertions(+), 20 deletions(-)
---
diff --git a/sysdeps/aix/glibtop_machine.h b/sysdeps/aix/glibtop_machine.h
index 55a8d3d..727ae5f 100644
--- a/sysdeps/aix/glibtop_machine.h
+++ b/sysdeps/aix/glibtop_machine.h
@@ -26,8 +26,6 @@
G_BEGIN_DECLS
-typedef struct _glibtop_machine glibtop_machine;
-
struct _glibtop_machine
{
uid_t uid, euid;
diff --git a/sysdeps/bsd/glibtop_machine.h b/sysdeps/bsd/glibtop_machine.h
index 290611d..173aed6 100644
--- a/sysdeps/bsd/glibtop_machine.h
+++ b/sysdeps/bsd/glibtop_machine.h
@@ -47,8 +47,6 @@
G_BEGIN_DECLS
-typedef struct _glibtop_machine glibtop_machine;
-
struct _glibtop_machine
{
uid_t uid, euid;
diff --git a/sysdeps/cygwin/glibtop_machine.h b/sysdeps/cygwin/glibtop_machine.h
index a12d783..5f2ca00 100644
--- a/sysdeps/cygwin/glibtop_machine.h
+++ b/sysdeps/cygwin/glibtop_machine.h
@@ -28,8 +28,6 @@
G_BEGIN_DECLS
-typedef struct _glibtop_machine glibtop_machine;
-
struct _glibtop_machine
{
pid_t last_pid;
diff --git a/sysdeps/darwin/glibtop_machine.h b/sysdeps/darwin/glibtop_machine.h
index eb072e0..a31eb5c 100644
--- a/sysdeps/darwin/glibtop_machine.h
+++ b/sysdeps/darwin/glibtop_machine.h
@@ -22,8 +22,6 @@
G_BEGIN_DECLS
-typedef struct _glibtop_machine glibtop_machine;
-
struct _glibtop_machine
{
uid_t uid, euid; /* Real and effective user id */
diff --git a/sysdeps/freebsd/glibtop_machine.h b/sysdeps/freebsd/glibtop_machine.h
index cb39f39..4fd7025 100644
--- a/sysdeps/freebsd/glibtop_machine.h
+++ b/sysdeps/freebsd/glibtop_machine.h
@@ -38,8 +38,6 @@
G_BEGIN_DECLS
-typedef struct _glibtop_machine glibtop_machine;
-
struct _glibtop_machine
{
uid_t uid, euid;
diff --git a/sysdeps/linux/glibtop_machine.h b/sysdeps/linux/glibtop_machine.h
index 14a21bf..5c1daad 100644
--- a/sysdeps/linux/glibtop_machine.h
+++ b/sysdeps/linux/glibtop_machine.h
@@ -26,8 +26,6 @@
G_BEGIN_DECLS
-typedef struct _glibtop_machine glibtop_machine;
-
struct _glibtop_machine
{
};
diff --git a/sysdeps/openbsd/glibtop_machine.h b/sysdeps/openbsd/glibtop_machine.h
index 837634d..b435ed7 100644
--- a/sysdeps/openbsd/glibtop_machine.h
+++ b/sysdeps/openbsd/glibtop_machine.h
@@ -36,8 +36,6 @@
G_BEGIN_DECLS
-typedef struct _glibtop_machine glibtop_machine;
-
struct _glibtop_machine
{
uid_t uid, euid;
diff --git a/sysdeps/osf1/glibtop_machine.h b/sysdeps/osf1/glibtop_machine.h
index dab9f28..ae5cedc 100644
--- a/sysdeps/osf1/glibtop_machine.h
+++ b/sysdeps/osf1/glibtop_machine.h
@@ -34,8 +34,6 @@ G_BEGIN_DECLS
int table (int id, int index, char *addr, int nel, u_int lel);
-typedef struct _glibtop_machine glibtop_machine;
-
struct _glibtop_machine
{
uid_t uid, euid; /* Real and effective user id */
diff --git a/sysdeps/solaris/glibtop_machine.h b/sysdeps/solaris/glibtop_machine.h
index 18a1979..f45ea9e 100644
--- a/sysdeps/solaris/glibtop_machine.h
+++ b/sysdeps/solaris/glibtop_machine.h
@@ -36,8 +36,6 @@
G_BEGIN_DECLS
-typedef struct _glibtop_machine glibtop_machine;
-
struct _glibtop_machine
{
uid_t uid, euid;
diff --git a/sysdeps/stub_suid/glibtop_machine.h b/sysdeps/stub_suid/glibtop_machine.h
index 3e8e419..3254a60 100644
--- a/sysdeps/stub_suid/glibtop_machine.h
+++ b/sysdeps/stub_suid/glibtop_machine.h
@@ -24,8 +24,6 @@
G_BEGIN_DECLS
-typedef struct _glibtop_machine glibtop_machine;
-
struct _glibtop_machine
{
uid_t uid, euid; /* Real and effective user id */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]