summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 35dc9cf)
raw | patch | inline | side by side (parent: 35dc9cf)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 21 Dec 2008 13:11:13 +0000 (14:11 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 21 Dec 2008 13:50:28 +0000 (14:50 +0100) |
I.e. inserted a newline between the return type and function name.
src/fb.c | patch | blob | history |
diff --git a/src/fb.c b/src/fb.c
index a60fa9e4f6c4dbb9c75a0150d6a1bea8d51551a2..c3d4c869502a238277bec823c5dac59c6b248130 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"
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"
exit(0);
} /* exit_version */
-int main(int argc, char **argv)
+int
+main(int argc, char **argv)
{
while (42) {
int opt = getopt(argc, argv, "hV");