Commit 36bae8dd959eb4d2d20dd904447e2f54ec83d2dc

Authored by blueswir1
1 parent b1d8e52e

Fix inline use warnings from sparse

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5540 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 2 changed files with 4 additions and 4 deletions
slirp/misc.h
... ... @@ -72,8 +72,8 @@ extern int x_port, x_server, x_display;
72 72 int show_x _P((char *, struct socket *));
73 73 void redir_x _P((u_int32_t, int, int, int));
74 74 void getouraddr _P((void));
75   -inline void slirp_insque _P((void *, void *));
76   -inline void slirp_remque _P((void *));
  75 +void slirp_insque _P((void *, void *));
  76 +void slirp_remque _P((void *));
77 77 int add_exec _P((struct ex_list **, int, char *, int, int));
78 78 int slirp_openpty _P((int *, int *));
79 79 int fork_exec(struct socket *so, const char *ex, int do_pty);
... ...
slirp/slirp.h
... ... @@ -270,8 +270,8 @@ void lprint _P((const char *, ...));
270 270 # define insque_32 insque
271 271 # define remque_32 remque
272 272 #else
273   - inline void insque_32 _P((void *, void *));
274   - inline void remque_32 _P((void *));
  273 + void insque_32 _P((void *, void *));
  274 + void remque_32 _P((void *));
275 275 #endif
276 276  
277 277 #ifndef _WIN32
... ...