[hackers] [sbase] Fix function definition style for fshut.c || sin
commit bb2c0cff4596818204a4f4ec610d7dc7aa5a7911
Author: sin <sin_AT_2f30.org>
Date: Sun Apr 5 09:16:17 2015 +0100
Fix function definition style for fshut.c
diff --git a/libutil/fshut.c b/libutil/fshut.c
index 4de6596..96c2b79 100644
--- a/libutil/fshut.c
+++ b/libutil/fshut.c
_AT_@ -3,7 +3,8 @@
#include "../util.h"
-int fshut(FILE *fp, const char *fname)
+int
+fshut(FILE *fp, const char *fname)
{
int ret = 0;
_AT_@ -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);
}
Received on Sun Apr 05 2015 - 10:16:54 CEST
This archive was generated by hypermail 2.3.0
: Sun Apr 05 2015 - 10:24:20 CEST