diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2014-02-05 01:33:50 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2014-02-05 01:33:50 +0000 |
commit | bce0cc6a2d103e1da4c15a4c5396fdc5676294f7 (patch) | |
tree | 25a89204211c047c75d21e19f47a4fa627e99499 /io.c | |
parent | a69ddcb672f326418aaa74f399f600f69d074758 (diff) | |
download | strace-bce0cc6a2d103e1da4c15a4c5396fdc5676294f7.tar.gz strace-bce0cc6a2d103e1da4c15a4c5396fdc5676294f7.tar.bz2 strace-bce0cc6a2d103e1da4c15a4c5396fdc5676294f7.tar.xz |
Use XLAT macro
Automatically convert all xlat structures to XLAT form
using the following sed regexp:
s/^[[:space:]]*{[[:space:]]*\([^",}[:space:]]\+\)[[:space:]]*,[[:space:]]*"\1",\?[[:space:]]*}[[:space:]]*/\tXLAT(\1)/
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -319,16 +319,16 @@ sys_sendfile64(struct tcb *tcp) static const struct xlat splice_flags[] = { #ifdef SPLICE_F_MOVE - { SPLICE_F_MOVE, "SPLICE_F_MOVE" }, + XLAT(SPLICE_F_MOVE), #endif #ifdef SPLICE_F_NONBLOCK - { SPLICE_F_NONBLOCK, "SPLICE_F_NONBLOCK" }, + XLAT(SPLICE_F_NONBLOCK), #endif #ifdef SPLICE_F_MORE - { SPLICE_F_MORE, "SPLICE_F_MORE" }, + XLAT(SPLICE_F_MORE), #endif #ifdef SPLICE_F_GIFT - { SPLICE_F_GIFT, "SPLICE_F_GIFT" }, + XLAT(SPLICE_F_GIFT), #endif { 0, NULL }, }; |