]> granicus.if.org Git - strace/commit
Move sysent shorthand notations to separate files
authorEdgar Kaziakhmedov <edgar.kaziakhmedov@virtuozzo.com>
Sat, 5 Aug 2017 01:57:35 +0000 (04:57 +0300)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 7 Aug 2017 12:49:44 +0000 (12:49 +0000)
commit3d565ef25a653674ac28003ad747a7e0b42639e5
tree7dfab27816a997f91e66039ceb38ca03c8b8fca6
parentf9638667eea797a54e1aeed07166fd6db080da7e
Move sysent shorthand notations to separate files

Avoid proliferation of exactly the same definitions of shorthand
notations for macros defined in sysent.h by moving definitions
and undefs of these shorthand notations to separate files.

* sysent_shorthand_defs.h: New file.
* sysent_shorthand_undefs.h: Likewise.
* Makefile.am (strace_SOURCES): Add them.
* syscall.c: Use them.

Signed-off-by: Edgar Kaziakhmedov <edgar.kaziakhmedov@virtuozzo.com>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Makefile.am
syscall.c
sysent_shorthand_defs.h [new file with mode: 0644]
sysent_shorthand_undefs.h [new file with mode: 0644]