1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-07 17:28:15 +00:00

util: string: 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>
This commit is contained in:
Jonathon Jongsma 2019-06-18 11:13:02 -05:00 committed by Ján Tomko
parent 1141bfd259
commit a6d386eb87

@ -16,8 +16,7 @@
* <http://www.gnu.org/licenses/>. * <http://www.gnu.org/licenses/>.
*/ */
#ifndef LIBVIRT_VIRSTRING_H #pragma once
# define LIBVIRT_VIRSTRING_H
#include <stdarg.h> #include <stdarg.h>
@ -326,5 +325,3 @@ int virStringParseYesNo(const char *str,
*/ */
#define VIR_AUTOSTRINGLIST \ #define VIR_AUTOSTRINGLIST \
__attribute__((cleanup(virStringListAutoFree))) char ** __attribute__((cleanup(virStringListAutoFree))) char **
#endif /* LIBVIRT_VIRSTRING_H */