summaryrefslogtreecommitdiff
path: root/src/myfprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/myfprintf.c')
-rw-r--r--src/myfprintf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/myfprintf.c b/src/myfprintf.c
index aa3f95b12..fac61d660 100644
--- a/src/myfprintf.c
+++ b/src/myfprintf.c
@@ -96,7 +96,7 @@ void myfprintf(FILE * fp, char * format, ... ) {
va_end(arglist);
}
-int myfprintfCloseAndOpenLogFile() {
+int myfprintfCloseAndOpenLogFile(void) {
if(myfprintf_stdLogMode) {
while(fclose(myfprintf_out)<0 && errno==EINTR);
while(fclose(myfprintf_err)<0 && errno==EINTR);
@@ -121,7 +121,7 @@ int myfprintfCloseAndOpenLogFile() {
return 0;
}
-void myfprintfCloseLogFile() {
+void myfprintfCloseLogFile(void) {
if(myfprintf_stdLogMode) {
while(fclose(myfprintf_out)<0 && errno==EINTR);
while(fclose(myfprintf_err)<0 && errno==EINTR);