diff options
Diffstat (limited to 'libappstream-glib/as-utils.h')
-rw-r--r-- | libappstream-glib/as-utils.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libappstream-glib/as-utils.h b/libappstream-glib/as-utils.h index a72162c..732d33f 100644 --- a/libappstream-glib/as-utils.h +++ b/libappstream-glib/as-utils.h @@ -5,13 +5,12 @@ * SPDX-License-Identifier: LGPL-2.1+ */ +#pragma once + #if !defined (__APPSTREAM_GLIB_H) && !defined (AS_COMPILATION) #error "Only <appstream-glib.h> can be included directly." #endif -#ifndef __AS_UTILS_H -#define __AS_UTILS_H - #include <glib.h> #include "as-app.h" @@ -182,5 +181,3 @@ gchar *as_utils_appstream_id_build (const gchar *str); gboolean as_utils_appstream_id_valid (const gchar *str); G_END_DECLS - -#endif /* __AS_UTILS_H */ |