From 381d7232a0d63c0a145fae5e2c40e577ff2f44f1 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 30 Jul 2006 23:32:39 +0000 Subject: 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 --- src/inputPlugin.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/inputPlugin.c') diff --git a/src/inputPlugin.c b/src/inputPlugin.c index 80781774b..1c795c59c 100644 --- a/src/inputPlugin.c +++ b/src/inputPlugin.c @@ -128,12 +128,13 @@ void printAllInputPluginSuffixes(FILE * fp) plugin = (InputPlugin *) node->data; suffixes = plugin->suffixes; while (suffixes && *suffixes) { - myfprintf(fp, "%s ", *suffixes); + fprintf(fp, "%s ", *suffixes); suffixes++; } node = node->nextNode; } - myfprintf(fp, "\n"); + fprintf(fp, "\n"); + fflush(fp); } extern InputPlugin mp3Plugin; -- cgit v1.2.3