From 7ccfb2eb5f9d91bdb4139cb420a3b5f8deb2f6e8 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sun, 14 Sep 2008 06:45:34 +0000 Subject: 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 --- slirp/ip_icmp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'slirp/ip_icmp.h') 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 -- cgit v1.2.1