aboutsummaryrefslogtreecommitdiffstats
path: root/src/myfprintf.h
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-07-30 23:32:39 +0000
committerEric Wong <normalperson@yhbt.net>2006-07-30 23:32:39 +0000
commit381d7232a0d63c0a145fae5e2c40e577ff2f44f1 (patch)
tree6a9191774f3c797a77ef7d85dbe71564ff252ada /src/myfprintf.h
parent71fe871908db4317e5afd4308a044909a1799c9e (diff)
downloadmpd-381d7232a0d63c0a145fae5e2c40e577ff2f44f1.tar.gz
mpd-381d7232a0d63c0a145fae5e2c40e577ff2f44f1.tar.xz
mpd-381d7232a0d63c0a145fae5e2c40e577ff2f44f1.zip
remove deprecated myfprintf wrapper
This shaves another 5-6k because we've removed the paranoid fflush() calls after every fprintf. Now we only fflush() when we need to git-svn-id: https://svn.musicpd.org/mpd/trunk@4493 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/myfprintf.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/myfprintf.h b/src/myfprintf.h
index fe918a101..5c876bc29 100644
--- a/src/myfprintf.h
+++ b/src/myfprintf.h
@@ -30,11 +30,6 @@ void myfprintfStdLogMode(FILE * out, FILE * err);
mpd_fprintf void fdprintf(const int fd, const char *fmt, ...);
void vfdprintf(const int fd, const char *fmt, va_list arglist);
-#define myfprintf(fp, ...) do { \
- fprintf(fp, __VA_ARGS__); \
- fflush(fp); \
- } while (0)
-
int myfprintfCloseAndOpenLogFile();
void myfprintfCloseLogFile();