glibtop_machine is defined in glibtop.h.
Don't duplicate the typedef (error unless C11).
This commit is contained in:
@@ -26,8 +26,6 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct _glibtop_machine glibtop_machine;
|
|
||||||
|
|
||||||
struct _glibtop_machine
|
struct _glibtop_machine
|
||||||
{
|
{
|
||||||
uid_t uid, euid;
|
uid_t uid, euid;
|
||||||
|
@@ -47,8 +47,6 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct _glibtop_machine glibtop_machine;
|
|
||||||
|
|
||||||
struct _glibtop_machine
|
struct _glibtop_machine
|
||||||
{
|
{
|
||||||
uid_t uid, euid;
|
uid_t uid, euid;
|
||||||
|
@@ -28,8 +28,6 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct _glibtop_machine glibtop_machine;
|
|
||||||
|
|
||||||
struct _glibtop_machine
|
struct _glibtop_machine
|
||||||
{
|
{
|
||||||
pid_t last_pid;
|
pid_t last_pid;
|
||||||
|
@@ -22,8 +22,6 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct _glibtop_machine glibtop_machine;
|
|
||||||
|
|
||||||
struct _glibtop_machine
|
struct _glibtop_machine
|
||||||
{
|
{
|
||||||
uid_t uid, euid; /* Real and effective user id */
|
uid_t uid, euid; /* Real and effective user id */
|
||||||
|
@@ -38,8 +38,6 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct _glibtop_machine glibtop_machine;
|
|
||||||
|
|
||||||
struct _glibtop_machine
|
struct _glibtop_machine
|
||||||
{
|
{
|
||||||
uid_t uid, euid;
|
uid_t uid, euid;
|
||||||
|
@@ -26,8 +26,6 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct _glibtop_machine glibtop_machine;
|
|
||||||
|
|
||||||
struct _glibtop_machine
|
struct _glibtop_machine
|
||||||
{
|
{
|
||||||
};
|
};
|
||||||
|
@@ -36,8 +36,6 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct _glibtop_machine glibtop_machine;
|
|
||||||
|
|
||||||
struct _glibtop_machine
|
struct _glibtop_machine
|
||||||
{
|
{
|
||||||
uid_t uid, euid;
|
uid_t uid, euid;
|
||||||
|
@@ -34,8 +34,6 @@ G_BEGIN_DECLS
|
|||||||
|
|
||||||
int table (int id, int index, char *addr, int nel, u_int lel);
|
int table (int id, int index, char *addr, int nel, u_int lel);
|
||||||
|
|
||||||
typedef struct _glibtop_machine glibtop_machine;
|
|
||||||
|
|
||||||
struct _glibtop_machine
|
struct _glibtop_machine
|
||||||
{
|
{
|
||||||
uid_t uid, euid; /* Real and effective user id */
|
uid_t uid, euid; /* Real and effective user id */
|
||||||
|
@@ -36,8 +36,6 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct _glibtop_machine glibtop_machine;
|
|
||||||
|
|
||||||
struct _glibtop_machine
|
struct _glibtop_machine
|
||||||
{
|
{
|
||||||
uid_t uid, euid;
|
uid_t uid, euid;
|
||||||
|
@@ -24,8 +24,6 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct _glibtop_machine glibtop_machine;
|
|
||||||
|
|
||||||
struct _glibtop_machine
|
struct _glibtop_machine
|
||||||
{
|
{
|
||||||
uid_t uid, euid; /* Real and effective user id */
|
uid_t uid, euid; /* Real and effective user id */
|
||||||
|
Reference in New Issue
Block a user