Fix function definition style for fshut.c

This commit is contained in:
sin 2015-04-05 09:16:17 +01:00
parent 343923b1cc
commit bb2c0cff45

View File

@ -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);
}