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:
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 */
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user