summaryrefslogtreecommitdiff
path: root/ipproto.h
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2010-02-20 08:45:56 +0100
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2010-02-20 08:45:56 +0100
commit08696c5fabdec8ae2b6a1a9444180fc3d874199f (patch)
tree52b72dc11cabf606979ae104755b1734ad3c8459 /ipproto.h
parent16c6af16deedfe470548e1dcc640b308ca8a576d (diff)
downloadtcpdump-08696c5fabdec8ae2b6a1a9444180fc3d874199f.tar.gz
ipproto.h/c: mark several structs as const
Diffstat (limited to 'ipproto.h')
-rw-r--r--ipproto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipproto.h b/ipproto.h
index f5257863..96407541 100644
--- a/ipproto.h
+++ b/ipproto.h
@@ -37,7 +37,7 @@
* $FreeBSD: src/sys/netinet/in.h,v 1.38.2.3 1999/08/29 16:29:34 peter Exp $
*/
-extern struct tok ipproto_values[];
+extern const struct tok ipproto_values[];
#ifndef IPPROTO_IP
#define IPPROTO_IP 0 /* dummy for IP */