sbase

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

commit 72c3956f0cde7764d48634bf5086cb6a43fe84da
parent 795706a2f73af35a5d27bb30674e44486732b3e5
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); }