summaryrefslogtreecommitdiff
path: root/sock.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2004-09-04 03:39:20 +0000
committerRoland McGrath <roland@redhat.com>2004-09-04 03:39:20 +0000
commitd9f816f60457930af27349fac3d23b3b78338036 (patch)
tree3233de8a865dde571d3cdd4150b18b3b0bd18c73 /sock.c
parentb036f584a0f1bf7b3ac809f84714e50c0c95387e (diff)
downloadstrace-d9f816f60457930af27349fac3d23b3b78338036.tar.gz
strace-d9f816f60457930af27349fac3d23b3b78338036.tar.bz2
strace-d9f816f60457930af27349fac3d23b3b78338036.tar.xz
2004-09-03 Roland McGrath <roland@redhat.com>
* util.c (xlookup, printxval, addflags, printflags): Use const for struct xlat * argument. * defs.h (xlookup, printxval, addflags, printflags): Update decls. * bjm.c: Add const to all struct xlat defns. * desc.c: Likewise. * file.c: Likewise. * ipc.c: Likewise. * mem.c: Likewise. * net.c: Likewise. * proc.c: Likewise. * process.c: Likewise. * resource.c: Likewise. * signal.c: Likewise. * sock.c: Likewise. * stream.c: Likewise. * system.c: Likewise. * term.c: Likewise. * time.c: Likewise. * util.c: Likewise.
Diffstat (limited to 'sock.c')
-rw-r--r--sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sock.c b/sock.c
index 412577a..5c1e7ef 100644
--- a/sock.c
+++ b/sock.c
@@ -46,7 +46,7 @@
#endif
#include <net/if.h>
-extern struct xlat addrfams[];
+extern const struct xlat addrfams[];
int
sock_ioctl(tcp, code, arg)