sbase

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

commit bb2c0cff4596818204a4f4ec610d7dc7aa5a7911
parent 343923b1cc9ce5d8371b9804a470f52ee21100e8
Author: sin <sin@2f30.org>
Date:   Sun Apr  5 09:16:17 +0100

Fix function definition style for fshut.c

Diffstat:
libutil/fshut.c | 9++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/libutil/fshut.c b/libutil/fshut.c @@ -3,7 +3,8 @@ #include "../util.h" -int fshut(FILE *fp, const char *fname) +int +fshut(FILE *fp, const char *fname) { int ret = 0; @@ -27,13 +28,15 @@ int fshut(FILE *fp, const char *fname) return ret; } -void enfshut(int status, FILE *fp, const char *fname) +void +enfshut(int status, FILE *fp, const char *fname) { if (fshut(fp, fname)) exit(status); } -void efshut(FILE *fp, const char *fname) +void +efshut(FILE *fp, const char *fname) { enfshut(1, fp, fname); }