[vlc-commits] Use standard putc_unlocked() instead of fputc_unlocked()

Rémi Denis-Courmont git at videolan.org
Sun Aug 21 10:24:19 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Aug 21 11:23:57 2011 +0300| [2ba959747d1b2c60aed38f5458c73364080207ed] | committer: Rémi Denis-Courmont

Use standard putc_unlocked() instead of fputc_unlocked()

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2ba959747d1b2c60aed38f5458c73364080207ed
---

 modules/misc/logger.c |    2 +-
 src/misc/messages.c   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/misc/logger.c b/modules/misc/logger.c
index 9dcb409..6500d07 100644
--- a/modules/misc/logger.c
+++ b/modules/misc/logger.c
@@ -351,7 +351,7 @@ static void TextPrint( void *opaque, int type, const msg_item_t *item,
     flockfile( stream );
     utf8_fprintf( stream, "%s%s: ", item->psz_module, ppsz_type[type] );
     utf8_fprintf( stream, fmt, ap );
-    fputc_unlocked( '\n', stream );
+    putc_unlocked( '\n', stream );
     funlockfile( stream );
     vlc_restorecancel( canc );
 }
diff --git a/src/misc/messages.c b/src/misc/messages.c
index 3c57774..21fe81b 100644
--- a/src/misc/messages.c
+++ b/src/misc/messages.c
@@ -298,7 +298,7 @@ static void PrintMsg (void *d, int type, const msg_item_t *p_item,
     utf8_fprintf (stream, "%s %s%s: ", p_item->psz_module,
                   p_item->psz_object_type, msg_type[type]);
     utf8_vfprintf (stream, format, ap);
-    fputc_unlocked ('\n', stream);
+    putc_unlocked ('\n', stream);
 #if defined (WIN32) || defined (__OS2__)
     fflush (stream);
 #endif



More information about the vlc-commits mailing list