diff options
author | Jonathon Jongsma <jjongsma@redhat.com> | 2019-06-18 11:13:14 -0500 |
---|---|---|
committer | Ján Tomko <jtomko@redhat.com> | 2019-06-19 17:12:34 +0200 |
commit | c35d8a7d5e8266268433b7242361c170c54f4eff (patch) | |
tree | 7e9ebe571458098c213a522c60473ec6ec08dc0a /tests/testutilsxen.h | |
parent | 78b2a0396672c760de903572407fb3596174d772 (diff) | |
download | libvirt-c35d8a7d5e8266268433b7242361c170c54f4eff.tar.gz |
tests: use #pragma once in headers
Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Diffstat (limited to 'tests/testutilsxen.h')
-rw-r--r-- | tests/testutilsxen.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/tests/testutilsxen.h b/tests/testutilsxen.h index 9164a59507..95dadb04c4 100644 --- a/tests/testutilsxen.h +++ b/tests/testutilsxen.h @@ -14,14 +14,11 @@ * <http://www.gnu.org/licenses/>. */ -#ifndef LIBVIRT_TESTUTILSXEN_H -# define LIBVIRT_TESTUTILSXEN_H +#pragma once -# include "capabilities.h" -# ifdef WITH_LIBXL -# include "libxl/libxl_capabilities.h" -# endif +#include "capabilities.h" +#ifdef WITH_LIBXL +# include "libxl/libxl_capabilities.h" +#endif virCapsPtr testXLInitCaps(void); - -#endif /* LIBVIRT_TESTUTILSXEN_H */ |