diff options
author | Jonathon Jongsma <jjongsma@redhat.com> | 2019-06-18 11:13:15 -0500 |
---|---|---|
committer | Ján Tomko <jtomko@redhat.com> | 2019-06-19 17:12:34 +0200 |
commit | a325763ff125be3c122ca1793ddb15bf653d883f (patch) | |
tree | 70a17465225db461169e96fe84760b87cd85152c /tools/virsh-console.h | |
parent | c35d8a7d5e8266268433b7242361c170c54f4eff (diff) | |
download | libvirt-a325763ff125be3c122ca1793ddb15bf653d883f.tar.gz |
tools: 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 'tools/virsh-console.h')
-rw-r--r-- | tools/virsh-console.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/tools/virsh-console.h b/tools/virsh-console.h index bc1a70b518..e89484d24b 100644 --- a/tools/virsh-console.h +++ b/tools/virsh-console.h @@ -18,18 +18,15 @@ * <http://www.gnu.org/licenses/>. */ -#ifndef LIBVIRT_VIRSH_CONSOLE_H -# define LIBVIRT_VIRSH_CONSOLE_H +#pragma once -# ifndef WIN32 +#ifndef WIN32 -# include <virsh.h> +# include <virsh.h> int virshRunConsole(vshControl *ctl, virDomainPtr dom, const char *dev_name, unsigned int flags); -# endif /* !WIN32 */ - -#endif /* LIBVIRT_VIRSH_CONSOLE_H */ +#endif /* !WIN32 */ |