aboutsummaryrefslogtreecommitdiff
path: root/slirp/misc.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-07-01 19:11:17 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-07-01 19:11:17 +0000
commit6cb9c6d36f17c964a7e5b56c5452178f0e3abdb4 (patch)
tree88fe4f534351b5c93a74ef479771fe1acac3e764 /slirp/misc.h
parent22d091b38d30cc22b923daca8cf0f0c0cffadcd7 (diff)
downloadqemu-arm-6cb9c6d36f17c964a7e5b56c5452178f0e3abdb4.tar.gz
Fix breakage by obsolete _P() for good
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'slirp/misc.h')
-rw-r--r--slirp/misc.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/slirp/misc.h b/slirp/misc.h
index e43519dcba..c335394356 100644
--- a/slirp/misc.h
+++ b/slirp/misc.h
@@ -17,10 +17,10 @@ struct ex_list {
};
#ifndef HAVE_STRDUP
-char *strdup _P((const char *));
+char *strdup(const char *);
#endif
-void do_wait _P((int));
+void do_wait(int);
#define EMU_NONE 0x0
@@ -58,20 +58,20 @@ struct emu_t {
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 slirp_insque _P((void *, void *));
-void slirp_remque _P((void *));
-int add_exec _P((struct ex_list **, int, char *, struct in_addr, int));
-int slirp_openpty _P((int *, int *));
+int show_x(char *, struct socket *);
+void redir_x(u_int32_t, int, int, int);
+void slirp_insque(void *, void *);
+void slirp_remque(void *);
+int add_exec(struct ex_list **, int, char *, struct in_addr, int);
+int slirp_openpty(int *, int *);
int fork_exec(struct socket *so, const char *ex, int do_pty);
-void snooze_hup _P((int));
-void snooze _P((void));
-void relay _P((int));
-void add_emu _P((char *));
-void u_sleep _P((int));
-void fd_nonblock _P((int));
-void fd_block _P((int));
-int rsh_exec _P((struct socket *, struct socket *, char *, char *, char *));
+void snooze_hup(int);
+void snooze(void);
+void relay(int);
+void add_emu(char *);
+void u_sleep(int);
+void fd_nonblock(int);
+void fd_block(int);
+int rsh_exec(struct socket *, struct socket *, char *, char *, char *);
#endif