aboutsummaryrefslogtreecommitdiff
path: root/src/help.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/help.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/help.c')
-rw-r--r--src/help.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/help.c b/src/help.c
index cdcd377..6078be2 100644
--- a/src/help.c
+++ b/src/help.c
@@ -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");
}