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 /ptp.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 'ptp.c')
-rw-r--r-- | ptp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3,9 +3,9 @@ #include <linux/ptp_clock.h> static const struct xlat ptp_flags_options[] = { - { PTP_ENABLE_FEATURE, "PTP_ENABLE_FEATURE" }, - { PTP_RISING_EDGE, "PTP_RISING_EDGE" }, - { PTP_FALLING_EDGE, "PTP_FALLING_EDGE" }, + XLAT(PTP_ENABLE_FEATURE), + XLAT(PTP_RISING_EDGE), + XLAT(PTP_FALLING_EDGE), { 0, NULL } }; |