summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConfuSomu2021-05-27 19:43:32 -0400
committerConfuSomu2021-05-27 19:43:32 -0400
commitb02cd462dce7095d55def3a014fe51eddc238088 (patch)
treec9ad7e0eabdcd03cae9d82eb2e473249fe03daea
parent51a7257cbabfa608a2f685e634ac9b37a17c4086 (diff)
downloadpico-watch-b02cd462dce7095d55def3a014fe51eddc238088.tar
pico-watch-b02cd462dce7095d55def3a014fe51eddc238088.tar.gz
pico-watch-b02cd462dce7095d55def3a014fe51eddc238088.zip
Use pragma once in main.hpp
#pragma once will be used in every header file from now on. Changes will be made for the other header files.
-rw-r--r--apps/settings/main.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/settings/main.hpp b/apps/settings/main.hpp
index 0626dc7..927caca 100644
--- a/apps/settings/main.hpp
+++ b/apps/settings/main.hpp
@@ -1,5 +1,4 @@
-#ifndef __SETTINGS_H__
-#define __SETTINGS_H__
+#pragma once
#include "../../api.hpp"
namespace app_settings {
@@ -9,5 +8,3 @@ namespace app_settings {
int bgrefresh(Api *app_api, bool in_foreground);
int destroy(Api *app_api);
}
-
-#endif