diff options
author | Bastien Nocera <hadess@src.gnome.org> | 2003-10-20 15:20:16 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@src.gnome.org> | 2003-10-20 15:20:16 +0000 |
commit | b67e4c7f7d1a78e3e21b46955097eb33718bf461 (patch) | |
tree | 005dc92d623f76ab2c244e152770cd6db1b0a38d /sysdeps/freebsd | |
parent | ba36a20cb81c8b3561b99a2412a9fd71b7cd8c12 (diff) | |
download | libgtop-b67e4c7f7d1a78e3e21b46955097eb33718bf461.tar.gz |
- fixed compilation
Diffstat (limited to 'sysdeps/freebsd')
-rw-r--r-- | sysdeps/freebsd/ChangeLog | 11 | ||||
-rw-r--r-- | sysdeps/freebsd/glibtop_machine.h | 4 | ||||
-rw-r--r-- | sysdeps/freebsd/glibtop_server.h | 4 | ||||
-rw-r--r-- | sysdeps/freebsd/glibtop_suid.h | 4 | ||||
-rw-r--r-- | sysdeps/freebsd/open.c | 1 | ||||
-rw-r--r-- | sysdeps/freebsd/procargs.c | 1 | ||||
-rw-r--r-- | sysdeps/freebsd/proclist.c | 1 | ||||
-rw-r--r-- | sysdeps/freebsd/procmap.c | 1 | ||||
-rw-r--r-- | sysdeps/freebsd/swap.c | 2 |
9 files changed, 17 insertions, 12 deletions
diff --git a/sysdeps/freebsd/ChangeLog b/sysdeps/freebsd/ChangeLog index 16ca55c3..ee1abfb6 100644 --- a/sysdeps/freebsd/ChangeLog +++ b/sysdeps/freebsd/ChangeLog @@ -1,5 +1,16 @@ 2003-10-20 Bastien Nocera <hadess@hadess.net> + * glibtop_machine.h: + * glibtop_server.h: + * glibtop_suid.h: + * open.c: + * procargs.c: + * proclist.c: + * procmap.c: + * swap.c: fixed compilation + +2003-10-20 Bastien Nocera <hadess@hadess.net> + * procargs.c: (glibtop_get_proc_args_p): * proclist.c: (glibtop_get_proclist_p): * procmap.c: (glibtop_get_proc_map_p): diff --git a/sysdeps/freebsd/glibtop_machine.h b/sysdeps/freebsd/glibtop_machine.h index 192c3b7f..d7922681 100644 --- a/sysdeps/freebsd/glibtop_machine.h +++ b/sysdeps/freebsd/glibtop_machine.h @@ -39,7 +39,7 @@ #include <osreldate.h> #endif -BEGIN_LIBGTOP_DECLS +G_BEGIN_DECLS typedef struct _glibtop_machine glibtop_machine; @@ -54,6 +54,6 @@ struct _glibtop_machine kvm_t *kd; }; -END_LIBGTOP_DECLS +G_END_DECLS #endif /* __GLIBTOP_MACHINE_H__ */ diff --git a/sysdeps/freebsd/glibtop_server.h b/sysdeps/freebsd/glibtop_server.h index ccf3d29d..8bfa4a6c 100644 --- a/sysdeps/freebsd/glibtop_server.h +++ b/sysdeps/freebsd/glibtop_server.h @@ -24,7 +24,7 @@ #ifndef __GLIBTOP_SERVER_H__ #define __GLIBTOP_SERVER_H__ -BEGIN_LIBGTOP_DECLS +G_BEGIN_DECLS #define GLIBTOP_SUID_CPU (1 << GLIBTOP_SYSDEPS_CPU) #define GLIBTOP_SUID_MEM (1 << GLIBTOP_SYSDEPS_MEM) @@ -47,6 +47,6 @@ BEGIN_LIBGTOP_DECLS #define GLIBTOP_SUID_NETLOAD (1 << GLIBTOP_SYSDEPS_NETLOAD) #define GLIBTOP_SUID_PPP (1 << GLIBTOP_SYSDEPS_PPP) -END_LIBGTOP_DECLS +G_END_DECLS #endif diff --git a/sysdeps/freebsd/glibtop_suid.h b/sysdeps/freebsd/glibtop_suid.h index 18ad4b76..829cc51c 100644 --- a/sysdeps/freebsd/glibtop_suid.h +++ b/sysdeps/freebsd/glibtop_suid.h @@ -24,7 +24,7 @@ #ifndef __GLIBTOP_SUID_H__ #define __GLIBTOP_SUID_H__ -BEGIN_LIBGTOP_DECLS +G_BEGIN_DECLS #if _IN_LIBGTOP #include <sys/param.h> @@ -53,6 +53,6 @@ glibtop_open_p (glibtop *server, const char *program_name, const unsigned long features, const unsigned flags); -END_LIBGTOP_DECLS +G_END_DECLS #endif diff --git a/sysdeps/freebsd/open.c b/sysdeps/freebsd/open.c index ea95d16f..3689c159 100644 --- a/sysdeps/freebsd/open.c +++ b/sysdeps/freebsd/open.c @@ -23,7 +23,6 @@ #include <glibtop.h> #include <glibtop/open.h> -#include <glibtop/xmalloc.h> /* !!! THIS FUNCTION RUNS SUID ROOT - CHANGE WITH CAUTION !!! */ diff --git a/sysdeps/freebsd/procargs.c b/sysdeps/freebsd/procargs.c index 8e0ff2e7..77bfc87f 100644 --- a/sysdeps/freebsd/procargs.c +++ b/sysdeps/freebsd/procargs.c @@ -23,7 +23,6 @@ #include <glibtop.h> #include <glibtop/error.h> -#include <glibtop/xmalloc.h> #include <glibtop/procargs.h> #include <glibtop_suid.h> diff --git a/sysdeps/freebsd/proclist.c b/sysdeps/freebsd/proclist.c index 789e6937..692c9bc6 100644 --- a/sysdeps/freebsd/proclist.c +++ b/sysdeps/freebsd/proclist.c @@ -23,7 +23,6 @@ #include <glibtop.h> #include <glibtop/error.h> -#include <glibtop/xmalloc.h> #include <glibtop/proclist.h> #include <glibtop_suid.h> diff --git a/sysdeps/freebsd/procmap.c b/sysdeps/freebsd/procmap.c index cf32421d..f769b608 100644 --- a/sysdeps/freebsd/procmap.c +++ b/sysdeps/freebsd/procmap.c @@ -23,7 +23,6 @@ #include <glibtop.h> #include <glibtop/error.h> -#include <glibtop/xmalloc.h> #include <glibtop/procmap.h> #include <glibtop_suid.h> diff --git a/sysdeps/freebsd/swap.c b/sysdeps/freebsd/swap.c index b28d74b1..43305976 100644 --- a/sysdeps/freebsd/swap.c +++ b/sysdeps/freebsd/swap.c @@ -25,8 +25,6 @@ #include <glibtop/error.h> #include <glibtop/swap.h> -#include <glibtop/xmalloc.h> - #include <glibtop_suid.h> static const unsigned long _glibtop_sysdeps_swap = |