sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

commit 92b14e9c7770bf679da3fa8551f906d46a9a39c3
parent 9418101293dd8152bd3a6be34da96fe266eb1166
Author: sin <sin@2f30.org>
Date:   Sun Feb 15 16:00:32 +0000

Use BSD style function definitions

Diffstat:
printf.c | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/printf.c b/printf.c @@ -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;