diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2017-03-16 13:46:36 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2017-03-16 13:46:36 +0000 |
commit | c36875b1709a3ed3f21ef71a84ef5a7a936c8a8e (patch) | |
tree | c1ce3d0fb16c81822f082c508ece1e44df5d6999 /tests/ustat.c | |
parent | 72b7cfb3bf534c69cfa980fd6f4336e5a14d752b (diff) | |
download | strace-c36875b1709a3ed3f21ef71a84ef5a7a936c8a8e.tar.gz |
tests: use TAIL_ALLOC_OBJECT_VAR_PTR
Automatically convert tests to use TAIL_ALLOC_OBJECT_VAR_PTR macro
with the following sed expression:
sed -ri \
's/^([[:space:]]*)(([^*]+[[:alnum:]_])( \*)?) *\*([^ =]+) = tail_alloc\(sizeof\((\2|\*\5)\)\);/\1TAIL_ALLOC_OBJECT_VAR_PTR(\2, \5);/' \
tests/{move_pages,net-sockaddr,sendfile}.c
Diffstat (limited to 'tests/ustat.c')
0 files changed, 0 insertions, 0 deletions