[hackers] [sbase] Use BSD style function definitions || sin

From: <git_AT_suckless.org>
Date: Sun, 15 Feb 2015 17:04:49 +0100 (CET)

commit d01debaaeb48d9fb49bc1e2419940602d1b4e099
Author: sin <sin_AT_2f30.org>
Date: Sun Feb 15 16:00:32 2015 +0000

    Use BSD style function definitions

diff --git a/printf.c b/printf.c
index ec5d441..e57562c 100644
--- a/printf.c
+++ b/printf.c
_AT_@ -8,12 +8,14 @@
 #include "utf.h"
 #include "util.h"
 
-static void usage(void)
+static void
+usage(void)
 {
         eprintf("%s format [arg ...]\n", argv0);
 }
 
-int main(int argc, char *argv[])
+int
+main(int argc, char *argv[])
 {
         Rune *rarg;
         size_t i, j, argi, lastargi, formatlen, arglen;
Received on Sun Feb 15 2015 - 17:04:49 CET

This archive was generated by hypermail 2.3.0 : Sun Feb 15 2015 - 17:12:14 CET