aboutsummaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-19 11:32:34 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-19 11:32:34 +0200
commite96f9f3869c6ea5803f5759bf1737547a46be22f (patch)
treee070f699751eebad032a47f118293ef219f1e147 /src/screen.c
parent0d1af7a8c8e163250e940833d646a12852aa9e5b (diff)
downloadjwm-e96f9f3869c6ea5803f5759bf1737547a46be22f.tar.gz
Change function declaration style
This is a very sweeping change, but I feel that it is necessary.
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c20
1 files changed, 15 insertions, 5 deletions
diff --git a/src/screen.c b/src/screen.c
index cc2b8fd..d62c1d5 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -13,13 +13,17 @@ static int screenCount;
/****************************************************************************
****************************************************************************/
-void InitializeScreens() {
+void
+InitializeScreens()
+{
screens = NULL;
}
/****************************************************************************
****************************************************************************/
-void StartupScreens() {
+void
+StartupScreens()
+{
#ifdef USE_XINERAMA
XineramaScreenInfo *info;
@@ -67,7 +71,9 @@ void StartupScreens() {
/****************************************************************************
****************************************************************************/
-void ShutdownScreens() {
+void
+ShutdownScreens()
+{
if(screens) {
Release(screens);
screens = NULL;
@@ -76,7 +82,9 @@ void ShutdownScreens() {
/****************************************************************************
****************************************************************************/
-void DestroyScreens() {
+void
+DestroyScreens()
+{
}
/****************************************************************************
@@ -129,7 +137,9 @@ const ScreenType *GetScreen(int index) {
/****************************************************************************
****************************************************************************/
-int GetScreenCount() {
+int
+GetScreenCount()
+{
return screenCount;