Fixed all warnings.

This commit is contained in:
Martin Baulig
1999-07-30 21:03:22 +00:00
parent 2814206ffa
commit 9152479981
13 changed files with 20 additions and 22 deletions

View File

@@ -112,8 +112,6 @@ glibtop_get_netload_s (glibtop *server, glibtop_netload *buf,
skfd = socket (AF_INET, SOCK_DGRAM, 0);
if (skfd) {
struct ifreq ifr;
struct sockaddr_in addr;
char *address;
unsigned flags;
strcpy (ifr.ifr_name, interface);

View File

@@ -31,6 +31,8 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <ctype.h>
#include <glib.h>
static const unsigned long _glibtop_sysdeps_ppp =