aboutsummaryrefslogtreecommitdiff
path: root/slirp/slirp_config.h
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-30 09:51:20 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-30 09:51:20 +0000
commit79383c9c082e5d56618968237dad806d0eb615f3 (patch)
tree5a4ec99b6d47de6540d2be29ac64a8d79c48da87 /slirp/slirp_config.h
parentc8f9349ad98dbfd20f72d49643dc8a5453ddc11e (diff)
Fix some warnings that would be generated by gcc -Wredundant-decls
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5115 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'slirp/slirp_config.h')
-rw-r--r--slirp/slirp_config.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/slirp/slirp_config.h b/slirp/slirp_config.h
index e7e95dd5a0..dbc8dfd428 100644
--- a/slirp/slirp_config.h
+++ b/slirp/slirp_config.h
@@ -128,10 +128,10 @@
#undef HAVE_SYS_STROPTS_H
/* Define to whatever your compiler thinks inline should be */
-#define inline inline
+//#define inline inline
/* Define to whatever your compiler thinks const should be */
-#define const const
+//#define const const
/* Define if your compiler doesn't like prototypes */
#undef NO_PROTOTYPES
@@ -170,7 +170,7 @@
#undef HAVE_SETENV
/* Define if you have index() */
-#undef HAVE_INDEX
+#define HAVE_INDEX
/* Define if you have bcmp() */
#undef HAVE_BCMP
@@ -182,7 +182,7 @@
#define HAVE_MEMMOVE
/* Define if you have gethostid */
-#undef HAVE_GETHOSTID
+#define HAVE_GETHOSTID
/* Define if you DON'T have unix-domain sockets */
#undef NO_UNIX_SOCKETS