diff options
| author | Jan Sucan <jan@jansucan.com> | 2024-04-07 14:57:04 +0200 |
|---|---|---|
| committer | Ján Sučan <jan@jansucan.com> | 2024-04-07 15:01:38 +0200 |
| commit | 92fb599f0ae99c429316700ee8eef92d7365c28c (patch) | |
| tree | 747c122758e0e040e2e44d652293ab911ad6c9a6 /src/options.h | |
| parent | d1eeddbc07e5d5fea402790f942edb0f1ae09374 (diff) | |
Use #pragma once include guard instead of #ifndef
Diffstat (limited to 'src/options.h')
| -rw-r--r-- | src/options.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/options.h b/src/options.h index 2355082..3d80c67 100644 --- a/src/options.h +++ b/src/options.h @@ -24,8 +24,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef OPTIONS_H -#define OPTIONS_H +#pragma once #include "exception.h" @@ -110,5 +109,3 @@ class OptionParser Options &opts); static const char *next_arg(char ***const argv); }; - -#endif /* OPTIONS_H */ |
