]> granicus.if.org Git - strace/commit
xlat: generate xlat pairs using new XLAT_PAIR macro
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 28 Apr 2016 23:58:34 +0000 (23:58 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 29 Apr 2016 00:15:01 +0000 (00:15 +0000)
commit3f25b65d63863d0bf8463757062d6d60e8e42caf
tree7df9fdbfd946329dfedff69fe8e370cfd035f107
parenta9f956d279437d5679eb93e19f69d989ec60f79d
xlat: generate xlat pairs using new XLAT_PAIR macro

Before this change there were two forms of xlat entries: those that use XLAT
or XLAT_END macros, and others verbatim entries.  This change converts
the latter to use new XLAT_PAIR macro.

This is necessary for the upcoming change of xlat.val type.

* xlat.h (XLAT_PAIR): New macro.
* xlat/gen.sh (cond_xlat, gen_header): Use it.
xlat.h
xlat/gen.sh