]> granicus.if.org Git - strace/commit
tests: move print_time function to libtests
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 26 Feb 2017 20:35:37 +0000 (20:35 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 26 Feb 2017 20:35:37 +0000 (20:35 +0000)
commitaf10e6e75154ad5ebc00f862da2fbd04f4a015ef
tree08dfb7729396d85349252c982287c7078eb60035
parentb8a045fbf078dee850b02f72359a41b9bc91996b
tests: move print_time function to libtests

Rename print_time function to print_time_t and move it to libtests.

* tests/print_time.c: New file.
* tests/Makefile.am (libtests_a_SOURCES): Add it.
* tests/tests.h (print_time_t): New prototype.
* tests/print_time.c (print_time): Remove.
(print_stat): Replace print_time with print_time_t.
tests/Makefile.am
tests/print_time.c [new file with mode: 0644]
tests/tests.h
tests/xstatx.c