Code

src/fb.c: Do not indent the strings of the usage output.
[template.git] / src / fb.c
index a60fa9e4f6c4dbb9c75a0150d6a1bea8d51551a2..d5add03eb5d342fa14ec802797e85f5264abd993 100644 (file)
--- a/src/fb.c
+++ b/src/fb.c
 
 #include <unistd.h>
 
-static void exit_usage(char *name, int status)
+static void
+exit_usage(char *name, int status)
 {
-       printf("Usage: %s <options>\n"
+       printf(
+"Usage: %s <options>\n"
 
-                       "\nOptions:\n"
-                       "  -h    display this help and exit\n"
-                       "  -V    display the version number and copyright\n"
+"\nOptions:\n"
+"  -h    display this help and exit\n"
+"  -V    display the version number and copyright\n"
 
-                       "\nfb "VERSION", http://tokkee.org\n", basename(name));
+"\nfb "VERSION", http://tokkee.org\n", basename(name));
        exit(status);
 } /* exit_usage */
 
-static void exit_version(void)
+static void
+exit_version(void)
 {
        printf("fb version "VERSION", built "BUILD_DATE"\n"
                        "Copyright (C) 2008 Sebastian Harl <sh@tokkee.org>\n"
@@ -61,7 +64,8 @@ static void exit_version(void)
        exit(0);
 } /* exit_version */
 
-int main(int argc, char **argv)
+int
+main(int argc, char **argv)
 {
        while (42) {
                int opt = getopt(argc, argv, "hV");