diff options
author | Osier Yang <jyang@redhat.com> | 2013-04-16 21:41:44 +0800 |
---|---|---|
committer | Osier Yang <jyang@redhat.com> | 2013-04-17 15:41:04 +0800 |
commit | 2beae9c202bf80bffdbc4768b946c9eb93a26c7e (patch) | |
tree | d75fdef308ba7836e70e217f690bc4ca6ee3e23a /tests/shunloadtest.c | |
parent | 0cb171f60f313fd09b91216dfce8465ae2031da5 (diff) | |
download | libvirt-2beae9c202bf80bffdbc4768b946c9eb93a26c7e.tar.gz |
cleanup: Only include testutils.h once
No reason to include it in both "if" and "else" branches.
Diffstat (limited to 'tests/shunloadtest.c')
-rw-r--r-- | tests/shunloadtest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/shunloadtest.c b/tests/shunloadtest.c index eddb81877d..8271b93647 100644 --- a/tests/shunloadtest.c +++ b/tests/shunloadtest.c @@ -40,6 +40,8 @@ #include <config.h> +#include "testutils.h" + #ifdef linux # include <dlfcn.h> @@ -50,7 +52,6 @@ # include <signal.h> # include "internal.h" -# include "testutils.h" pthread_cond_t cond = PTHREAD_COND_INITIALIZER; pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER; @@ -143,7 +144,6 @@ int main(int argc ATTRIBUTE_UNUSED, char **argv) } #else -# include "testutils.h" int main(void) { |