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/help.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/help.c')
-rw-r--r-- | src/help.c | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -11,13 +11,17 @@ #include "help.h" /** Display program name, version, and compiled options . */ -void DisplayAbout() { +void +DisplayAbout() +{ printf("JWM v%s by Joe Wingbermuehle\n", PACKAGE_VERSION); DisplayCompileOptions(); } /** Display compiled options. */ -void DisplayCompileOptions() { +void +DisplayCompileOptions() +{ printf("compiled options: "); @@ -66,7 +70,9 @@ void DisplayCompileOptions() { } /** Display all help. */ -void DisplayHelp() { +void +DisplayHelp() +{ DisplayUsage(); printf(" -display X Set the X display to use\n"); printf(" -exit Exit JWM (send _JWM_EXIT to the root)\n"); @@ -77,7 +83,9 @@ void DisplayHelp() { } /** Display program usage information. */ -void DisplayUsage() { +void +DisplayUsage() +{ DisplayAbout(); printf("usage: jwm [ options ]\n"); } |