diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2016-12-26 10:26:03 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2016-12-26 10:43:34 +0000 |
commit | 7fa3d78319b20a996923f9b665afc3a3571ed08b (patch) | |
tree | c1fcdd2b642ebc521fea460e8aa26a0a5295270c /sock.c | |
parent | e625443bb501c99e3cbed7cf041ef3036c7955f0 (diff) | |
download | strace-7fa3d78319b20a996923f9b665afc3a3571ed08b.tar.gz |
Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t
Remove temporary types created for transition from long
to kernel_ulong_t.
Automatically replace kernel_scno_t and kernel_ureg_t with
kernel_ulong_t using
$ git grep -El 'kernel_(scno|ureg)_t' |
xargs sed -ri 's/kernel_(scno|ureg)_t/kernel_ulong_t/g'
* kernel_types.h (kernel_scno_t, kernel_ureg_t): Remove.
All users updated.
Diffstat (limited to 'sock.c')
-rw-r--r-- | sock.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -51,7 +51,7 @@ print_ifname(const char *ifname) static void print_ifreq(struct tcb *const tcp, const unsigned int code, - const kernel_ureg_t arg, const struct ifreq *const ifr) + const kernel_ulong_t arg, const struct ifreq *const ifr) { switch (code) { case SIOCSIFADDR: @@ -132,7 +132,7 @@ print_ifc_len(int len) } static int -decode_ifconf(struct tcb *const tcp, const kernel_ureg_t addr) +decode_ifconf(struct tcb *const tcp, const kernel_ulong_t addr) { struct ifconf ifc; @@ -195,7 +195,7 @@ decode_ifconf(struct tcb *const tcp, const kernel_ureg_t addr) } int -sock_ioctl(struct tcb *const tcp, const unsigned int code, const kernel_ureg_t arg) +sock_ioctl(struct tcb *const tcp, const unsigned int code, const kernel_ulong_t arg) { struct ifreq ifr; |