diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2017-03-25 12:30:33 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2017-03-25 12:30:33 +0100 |
commit | 152657501adf3afe9896ac0c118f94d3c7747c8b (patch) | |
tree | 9271299efe871a2ae864ad337f0ddbb217b3b5f7 /src/settings.h | |
parent | 43153057c66f4cf1ed6a97671e9aa59e0eacb3bd (diff) | |
download | pianobar-152657501adf3afe9896ac0c118f94d3c7747c8b.tar.gz pianobar-152657501adf3afe9896ac0c118f94d3c7747c8b.tar.bz2 pianobar-152657501adf3afe9896ac0c118f94d3c7747c8b.zip |
Switch to #pragma once
Diffstat (limited to 'src/settings.h')
-rw-r--r-- | src/settings.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/settings.h b/src/settings.h index 0403a83..083e610 100644 --- a/src/settings.h +++ b/src/settings.h @@ -21,8 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#ifndef SRC_SETTINGS_H_IPL0ON9L -#define SRC_SETTINGS_H_IPL0ON9L +#pragma once #include <stdbool.h> @@ -76,13 +75,13 @@ typedef enum { BAR_SORT_COUNT = 6, } BarStationSorting_t; -#include "ui_types.h" - typedef struct { char *prefix; char *postfix; } BarMsgFormatStr_t; +#include "ui_types.h" + typedef struct { bool autoselect; unsigned int history, maxPlayerErrors; @@ -116,4 +115,3 @@ void BarSettingsDestroy (BarSettings_t *); void BarSettingsRead (BarSettings_t *); void BarSettingsWrite (PianoStation_t *, BarSettings_t *); -#endif /* SRC_SETTINGS_H_IPL0ON9L */ |