diff options
author | Martin Baulig <martin@src.gnome.org> | 2000-02-15 22:33:32 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 2000-02-15 22:33:32 +0000 |
commit | 6402efe19694bc53db497f0401f31fe9232cc58c (patch) | |
tree | 94c96a49136ec6310fa4f1869a5ad4183eea0ebe | |
parent | 00a32c887cfc3f0ad85e6a3ec4ca91ac5c9431a0 (diff) | |
download | libgtop-6402efe19694bc53db497f0401f31fe9232cc58c.tar.gz |
This now compiles on a Solaris 7 system :)
-rw-r--r-- | sysdeps/solaris/glibtop_server.h | 1 | ||||
-rw-r--r-- | sysdeps/solaris/netinfo.c | 9 |
2 files changed, 6 insertions, 4 deletions
diff --git a/sysdeps/solaris/glibtop_server.h b/sysdeps/solaris/glibtop_server.h index d23ee540..3e8a1838 100644 --- a/sysdeps/solaris/glibtop_server.h +++ b/sysdeps/solaris/glibtop_server.h @@ -46,6 +46,7 @@ BEGIN_LIBGTOP_DECLS #define GLIBTOP_SUID_PROC_SEGMENT 0 #define GLIBTOP_SUID_PROC_ARGS 0 #define GLIBTOP_SUID_PROC_MAP 0 +#define GLIBTOP_SUID_NETINFO 0 #define GLIBTOP_SUID_NETLOAD 0 #define GLIBTOP_SUID_INTERFACE_NAMES 0 #define GLIBTOP_SUID_PPP 0 diff --git a/sysdeps/solaris/netinfo.c b/sysdeps/solaris/netinfo.c index 21ed5860..16cfcec5 100644 --- a/sysdeps/solaris/netinfo.c +++ b/sysdeps/solaris/netinfo.c @@ -41,11 +41,12 @@ glibtop_init_netinfo_s (glibtop *server) /* Provides network statistics. */ -int -glibtop_get_netinfo_s (glibtop *server, glibtop_netinfo *buf, - const char *interface, unsigned transport) +glibtop_ifaddr * +glibtop_get_netinfo_s (glibtop *server, glibtop_array *array, + glibtop_netinfo *buf, const char *interface, + u_int64_t transport) { memset (buf, 0, sizeof (glibtop_netinfo)); - return 0; + return NULL; } |