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/libpeas.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/libpeas.h')
-rw-r--r-- | libpeas/libpeas.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libpeas/libpeas.h b/libpeas/libpeas.h index 03c1307..f730797 100644 --- a/libpeas/libpeas.h +++ b/libpeas/libpeas.h @@ -19,8 +19,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef __LIBPEAS_H__ -#define __LIBPEAS_H__ +#pragma once #include "peas-autocleanups.h" #include "peas-engine.h" @@ -31,5 +30,3 @@ #include "peas-plugin-info.h" #include "peas-version.h" #include "peas-version-macros.h" - -#endif /* __LIBPEAS_H__ */ |