summaryrefslogtreecommitdiff
path: root/src/global.h
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2023-04-10 19:36:12 +0200
committerAlexis Hildebrandt <afh@surryhill.net>2023-04-10 19:36:12 +0200
commitca375cc8af4bb9d3a870dd0ff81e9853be216c87 (patch)
tree2dce91e7281b45f1c5bfd0f971f4b2ca24ed6333 /src/global.h
parent4f40c3056a68151f52422d54572fa72c0f19151d (diff)
downloadfork-ledger-ca375cc8af4bb9d3a870dd0ff81e9853be216c87.tar.gz
fork-ledger-ca375cc8af4bb9d3a870dd0ff81e9853be216c87.tar.bz2
fork-ledger-ca375cc8af4bb9d3a870dd0ff81e9853be216c87.zip
Use #pragma once
Diffstat (limited to 'src/global.h')
-rw-r--r--src/global.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/global.h b/src/global.h
index 5a29796d..9607ba1a 100644
--- a/src/global.h
+++ b/src/global.h
@@ -35,8 +35,7 @@
*
* @brief Contains the top-level functions used by main.cc
*/
-#ifndef INCLUDED_GLOBAL_H
-#define INCLUDED_GLOBAL_H
+#pragma once
#include "option.h"
#include "report.h"
@@ -182,5 +181,3 @@ See LICENSE file included with the distribution for details and disclaimer.");
void handle_debug_options(int argc, char * argv[]);
} // namespace ledger
-
-#endif // INCLUDED_GLOBAL_H