diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2016-01-02 13:28:43 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2016-01-05 23:17:11 +0000 |
commit | 0c8853c3c39fe11f1a80456e744d7db861c39df2 (patch) | |
tree | 65aa2d71bfbcd8f897d908db6546e9024bdd8dcd /tests/pc.c | |
parent | 87e6b230fff800eb768b68b2e5173ebbe83fd3ef (diff) | |
download | strace-0c8853c3c39fe11f1a80456e744d7db861c39df2.tar.gz |
tests: include tests.h instead of config.h
Automatically edit tests/*.c files using the following perl one-liner:
perl -0777 -pi -e \
's/#ifdef HAVE_CONFIG_H\n# include "config\.h"\n#endif\n*/#include "tests.h"\n/' \
tests/*.c
Diffstat (limited to 'tests/pc.c')
-rw-r--r-- | tests/pc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/pc.c b/tests/pc.c index 7d64ae021..aef0bc39d 100644 --- a/tests/pc.c +++ b/tests/pc.c @@ -25,9 +25,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "tests.h" #include <dlfcn.h> #include <fcntl.h> #include <unistd.h> |