Fix function definition style for fshut.c
This commit is contained in:
parent
343923b1cc
commit
bb2c0cff45
|
@ -3,7 +3,8 @@
|
||||||
|
|
||||||
#include "../util.h"
|
#include "../util.h"
|
||||||
|
|
||||||
int fshut(FILE *fp, const char *fname)
|
int
|
||||||
|
fshut(FILE *fp, const char *fname)
|
||||||
{
|
{
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
|
@ -27,13 +28,15 @@ int fshut(FILE *fp, const char *fname)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
void enfshut(int status, FILE *fp, const char *fname)
|
void
|
||||||
|
enfshut(int status, FILE *fp, const char *fname)
|
||||||
{
|
{
|
||||||
if (fshut(fp, fname))
|
if (fshut(fp, fname))
|
||||||
exit(status);
|
exit(status);
|
||||||
}
|
}
|
||||||
|
|
||||||
void efshut(FILE *fp, const char *fname)
|
void
|
||||||
|
efshut(FILE *fp, const char *fname)
|
||||||
{
|
{
|
||||||
enfshut(1, fp, fname);
|
enfshut(1, fp, fname);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user