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

From: <git_AT_suckless.org>
Date: Tue, 24 Mar 2015 23:53:50 +0100 (CET)

commit 92b14e9c7770bf679da3fa8551f906d46a9a39c3
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 Tue Mar 24 2015 - 23:53:50 CET

This archive was generated by hypermail 2.3.0 : Wed Mar 25 2015 - 00:10:21 CET