From e96f9f3869c6ea5803f5759bf1737547a46be22f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Mon, 19 Jul 2021 11:32:34 +0200 Subject: Change function declaration style This is a very sweeping change, but I feel that it is necessary. --- src/theme.c | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) (limited to 'src/theme.c') 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"); -- cgit v1.2.3