diff options
author | Christian Hergert <chergert@redhat.com> | 2023-03-16 16:34:02 -0700 |
---|---|---|
committer | Christian Hergert <chergert@redhat.com> | 2023-03-22 16:44:35 -0700 |
commit | 35e70f0b4581276955cc9caa5088afea1a9d6ca6 (patch) | |
tree | 3fa5e842b57e2af016cf4cd5658b204690364071 /libpeas/peas-extension-base.h | |
parent | 39bcd89306a72c04871433e9b4587b075ab4127a (diff) | |
download | libpeas-35e70f0b4581276955cc9caa5088afea1a9d6ca6.tar.gz |
janitorial: use #pragma once
We can rely on modern compilers to support #pragma once instead of doing
the #ifndef style.
Diffstat (limited to 'libpeas/peas-extension-base.h')
-rw-r--r-- | libpeas/peas-extension-base.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libpeas/peas-extension-base.h b/libpeas/peas-extension-base.h index 5ed1b67..559e47d 100644 --- a/libpeas/peas-extension-base.h +++ b/libpeas/peas-extension-base.h @@ -21,8 +21,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __PEAS_EXTENSION_BASE_H__ -#define __PEAS_EXTENSION_BASE_H__ +#pragma once #include <glib-object.h> @@ -81,5 +80,3 @@ PEAS_AVAILABLE_IN_ALL gchar *peas_extension_base_get_data_dir (PeasExtensionBase *extbase); G_END_DECLS - -#endif /* __PEAS_EXTENSION_BASE_H__ */ |