diff options
author | ConfuSomu | 2021-05-27 19:43:32 -0400 |
---|---|---|
committer | ConfuSomu | 2021-05-27 19:43:32 -0400 |
commit | b02cd462dce7095d55def3a014fe51eddc238088 (patch) | |
tree | c9ad7e0eabdcd03cae9d82eb2e473249fe03daea | |
parent | 51a7257cbabfa608a2f685e634ac9b37a17c4086 (diff) | |
download | pico-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.hpp | 5 |
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 |