From 0ca22128d653337b4809141261cbd4fc429e20ac Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Sun, 4 Dec 2005 15:23:02 +0000 Subject: [PATCH] Fixes for IRIX/mips build with MIPSPro compilers --- BasiliskII/src/slirp/misc.c | 4 ++-- BasiliskII/src/slirp/misc.h | 4 ++-- BasiliskII/src/slirp/slirp.h | 4 ---- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/BasiliskII/src/slirp/misc.c b/BasiliskII/src/slirp/misc.c index bb957e23..aa268060 100644 --- a/BasiliskII/src/slirp/misc.c +++ b/BasiliskII/src/slirp/misc.c @@ -137,7 +137,7 @@ struct quehead { struct quehead *qh_rlink; }; -inline void +void insque(a, b) void *a, *b; { @@ -150,7 +150,7 @@ insque(a, b) = (struct quehead *)element; } -inline void +void remque(a) void *a; { diff --git a/BasiliskII/src/slirp/misc.h b/BasiliskII/src/slirp/misc.h index 8e6a606c..efea9ff8 100644 --- a/BasiliskII/src/slirp/misc.h +++ b/BasiliskII/src/slirp/misc.h @@ -70,8 +70,8 @@ extern int x_port, x_server, x_display; int show_x _P((char *, struct socket *)); void redir_x _P((u_int32_t, int, int, int)); void getouraddr _P((void)); -inline void slirp_insque _P((void *, void *)); -inline void slirp_remque _P((void *)); +void slirp_insque _P((void *, void *)); +void slirp_remque _P((void *)); int add_exec _P((struct ex_list **, int, char *, int, int)); int slirp_openpty _P((int *, int *)); int fork_exec _P((struct socket *, char *, int)); diff --git a/BasiliskII/src/slirp/slirp.h b/BasiliskII/src/slirp/slirp.h index bb3bb2f5..1ff68cb0 100644 --- a/BasiliskII/src/slirp/slirp.h +++ b/BasiliskII/src/slirp/slirp.h @@ -37,10 +37,6 @@ typedef char *caddr_t; # define O_BINARY 0 #endif -#ifdef HAVE_STDINT_H -# include -#endif - #include #ifdef HAVE_SYS_BITYPES_H # include