Use glib-like function prototypes instead of "extern <function>

1999-02-18  Martin Baulig  <martin@home-of-linux.org>

	* include/glibtop/*.h: Use glib-like function prototypes
	instead of "extern <function> __P((args))".
This commit is contained in:
Martin Baulig
1999-02-18 20:39:37 +00:00
committed by Martin Baulig
parent 1da8264984
commit 69fed8d42d
40 changed files with 199 additions and 144 deletions

View File

@@ -66,8 +66,8 @@ int statvfs ();
#include <glibtop/error.h>
#include <glibtop/fsusage.h>
static int get_fs_usage __P ((const char *, const char *,
struct fs_usage *));
static int
get_fs_usage (const char *path, const char *disk, struct fs_usage *fsp);
int safe_read ();

View File

@@ -35,11 +35,11 @@
#include <fcntl.h>
#ifdef UNIX_DOMAIN_SOCKETS
static int connect_to_unix_server __P((void));
static int connect_to_unix_server (void);
#endif
#ifdef INTERNET_DOMAIN_SOCKETS
static int connect_to_internet_server __P((const char *, u_short));
static int connect_to_internet_server (const char *serverhost, u_short port);
#endif
/* On some systems, e.g. DGUX, inet_addr returns a 'struct in_addr'. */

View File

@@ -38,7 +38,7 @@ void free ();
#include <glibtop/xmalloc.h>
#include <glibtop/mountlist.h>
static struct mount_entry *read_filesystem_list __P((int, int));
static struct mount_entry *read_filesystem_list (int need_fs_type, int all_fs);
#undef xmalloc
#undef xrealloc