- fixed compilation

This commit is contained in:
Bastien Nocera
2003-10-20 15:20:16 +00:00
parent ba36a20cb8
commit b67e4c7f7d
166 changed files with 434 additions and 333 deletions

View File

@@ -1,3 +1,12 @@
2003-10-20 Bastien Nocera <hadess@hadess.net>
* glibtop_machine.h:
* glibtop_server.h:
* ppp.c:
* procargs.c: (glibtop_get_proc_args_s):
* proclist.c:
* procmap.c: fixed compilation
2003-10-20 Bastien Nocera <hadess@hadess.net>
* ppp.c: (get_ISDN_stats):

View File

@@ -28,7 +28,7 @@
#include <fcntl.h>
#include <ctype.h>
BEGIN_LIBGTOP_DECLS
G_BEGIN_DECLS
#if _IN_LIBGTOP
@@ -53,6 +53,6 @@ struct _glibtop_machine
char proc_status [BUFSIZ];
};
END_LIBGTOP_DECLS
G_END_DECLS
#endif

View File

@@ -27,7 +27,7 @@
#include <fcntl.h>
#include <ctype.h>
BEGIN_LIBGTOP_DECLS
G_BEGIN_DECLS
#ifdef _IN_LIBGTOP
@@ -130,6 +130,6 @@ proc_stat_after_cmd (char *p)
#define GLIBTOP_SUID_NETLOAD 0
#define GLIBTOP_SUID_PPP 0
END_LIBGTOP_DECLS
G_END_DECLS
#endif

View File

@@ -23,7 +23,6 @@
#include <glibtop.h>
#include <glibtop/error.h>
#include <glibtop/xmalloc.h>
#include <glibtop/ppp.h>
#include <linux/isdn.h>

View File

@@ -23,7 +23,6 @@
#include <glibtop.h>
#include <glibtop/error.h>
#include <glibtop/xmalloc.h>
#include <glibtop/procargs.h>
static const unsigned long _glibtop_sysdeps_proc_args =
@@ -57,7 +56,7 @@ glibtop_get_proc_args_s (glibtop *server, glibtop_proc_args *buf,
if (cmdline < 0) return NULL;
if (max_len) {
retval = g_malloc (server, max_len+1);
retval = g_malloc (max_len+1);
len = read (cmdline, retval, max_len);
close (cmdline);

View File

@@ -22,7 +22,6 @@
*/
#include <config.h>
#include <glibtop/xmalloc.h>
#include <glibtop/proclist.h>
#include <glibtop/procuid.h>

View File

@@ -23,7 +23,6 @@
#include <glibtop.h>
#include <glibtop/error.h>
#include <glibtop/xmalloc.h>
#include <glibtop/procmap.h>
static const unsigned long _glibtop_sysdeps_proc_map =