summaryrefslogtreecommitdiff
path: root/slirp/ip_icmp.h
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-14 06:45:34 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-14 06:45:34 +0000
commit4a8c78db8e8d60b8e9ad2b09af3027657d4f6398 (patch)
tree29ccfd792bcd8109ef331d031b6f04d89b99b310 /slirp/ip_icmp.h
parent49b32bf0c09505d81a561e3284f52b549c54637e (diff)
downloadqemu-4a8c78db8e8d60b8e9ad2b09af3027657d4f6398.tar.gz
qemu-4a8c78db8e8d60b8e9ad2b09af3027657d4f6398.tar.bz2
qemu-4a8c78db8e8d60b8e9ad2b09af3027657d4f6398.zip
Fix warnings that would be caused by gcc flag -Wwrite-strings
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5206 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'slirp/ip_icmp.h')
-rw-r--r--slirp/ip_icmp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/slirp/ip_icmp.h b/slirp/ip_icmp.h
index 8c9b5a1ba5..5cd9f7ffc4 100644
--- a/slirp/ip_icmp.h
+++ b/slirp/ip_icmp.h
@@ -158,7 +158,8 @@ struct icmp {
(type) == ICMP_MASKREQ || (type) == ICMP_MASKREPLY)
void icmp_input _P((struct mbuf *, int));
-void icmp_error _P((struct mbuf *, u_char, u_char, int, char *));
+void icmp_error(struct mbuf *msrc, u_char type, u_char code, int minsize,
+ const char *message);
void icmp_reflect _P((struct mbuf *));
#endif