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
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user