diff options
author | John Ankarström <john@ankarstrom.se> | 2021-07-19 11:32:34 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-07-19 11:32:34 +0200 |
commit | e96f9f3869c6ea5803f5759bf1737547a46be22f (patch) | |
tree | e070f699751eebad032a47f118293ef219f1e147 /src/theme.c | |
parent | 0d1af7a8c8e163250e940833d646a12852aa9e5b (diff) | |
download | jwm-e96f9f3869c6ea5803f5759bf1737547a46be22f.tar.gz |
Change function declaration style
This is a very sweeping change, but I feel that it is necessary.
Diffstat (limited to 'src/theme.c')
-rw-r--r-- | src/theme.c | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/src/theme.c b/src/theme.c index 4560abc..00e0d30 100644 --- a/src/theme.c +++ b/src/theme.c @@ -18,7 +18,9 @@ static char *themeName; /**************************************************************************** ****************************************************************************/ -void InitializeThemes() { +void +InitializeThemes() +{ themeName = NULL; themePaths = NULL; @@ -27,17 +29,23 @@ void InitializeThemes() { /**************************************************************************** ****************************************************************************/ -void StartupThemes() { +void +StartupThemes() +{ } /**************************************************************************** ****************************************************************************/ -void ShutdownThemes() { +void +ShutdownThemes() +{ } /**************************************************************************** ****************************************************************************/ -void DestroyThemes() { +void +DestroyThemes() +{ ThemePathNode *tp; @@ -56,7 +64,9 @@ void DestroyThemes() { /**************************************************************************** ****************************************************************************/ -void AddThemePath(const char *path) { +void +AddThemePath(const char *path) +{ ThemePathNode *tp; @@ -75,7 +85,9 @@ void AddThemePath(const char *path) { /**************************************************************************** ****************************************************************************/ -void SetTheme(const char *name) { +void +SetTheme(const char *name) +{ if(themeName) { Warning("theme set multiple times"); |