diff options
author | Roland McGrath <roland@redhat.com> | 2004-09-04 03:39:20 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2004-09-04 03:39:20 +0000 |
commit | d9f816f60457930af27349fac3d23b3b78338036 (patch) | |
tree | 3233de8a865dde571d3cdd4150b18b3b0bd18c73 /sock.c | |
parent | b036f584a0f1bf7b3ac809f84714e50c0c95387e (diff) | |
download | strace-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -46,7 +46,7 @@ #endif #include <net/if.h> -extern struct xlat addrfams[]; +extern const struct xlat addrfams[]; int sock_ioctl(tcp, code, arg) |