aboutsummaryrefslogtreecommitdiff
path: root/src/restore.h
diff options
context:
space:
mode:
authorJan Sucan <jan@jansucan.com>2024-04-07 14:57:04 +0200
committerJán Sučan <jan@jansucan.com>2024-04-07 15:01:38 +0200
commit92fb599f0ae99c429316700ee8eef92d7365c28c (patch)
tree747c122758e0e040e2e44d652293ab911ad6c9a6 /src/restore.h
parentd1eeddbc07e5d5fea402790f942edb0f1ae09374 (diff)
Use #pragma once include guard instead of #ifndef
Diffstat (limited to 'src/restore.h')
-rw-r--r--src/restore.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/restore.h b/src/restore.h
index 4aee092..ac98517 100644
--- a/src/restore.h
+++ b/src/restore.h
@@ -24,8 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef RESTORE_H
-#define RESTORE_H
+#pragma once
#include "exception.h"
#include "options.h"
@@ -37,5 +36,3 @@ class RestoreError : public DiffddError
};
void restore(const OptionsRestore &opts);
-
-#endif /* RESTORE_H */