This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Fix typos in newlib/libc/include/sys/stdio.h.


Hi,

Attached is a patch to fix typos in newlib/libc/include/sys/stdio.h.

Tested by building m68k-elf.  Committed as obvious.

Kazu Hirata

2009-01-07  Kazu Hirata  <kazu@codesourcery.com>

	* libc/include/sys/stdio.h (_flockfile, _funlockfile): Fix typos.

Index: newlib/libc/include/sys/stdio.h
===================================================================
RCS file: /cvs/src/src/newlib/libc/include/sys/stdio.h,v
retrieving revision 1.4
diff -u -d -p -r1.4 stdio.h
--- newlib/libc/include/sys/stdio.h	11 Dec 2008 17:27:55 -0000	1.4
+++ newlib/libc/include/sys/stdio.h	7 Jan 2009 23:54:37 -0000
@@ -12,7 +12,7 @@
 #ifndef __SINGLE_THREAD__
 #  define _flockfile(fp) (((fp)->_flags & __SSTR) ? 0 : __lock_acquire_recursive((fp)->_lock))
 #else
-#  define _flockfile(fp)	(_CASTVOID 0)
+#  define _flockfile(fp)	(_CAST_VOID 0)
 #endif
 #endif
 
@@ -20,7 +20,7 @@
 #ifndef __SINGLE_THREAD__
 #  define _funlockfile(fp) (((fp)->_flags & __SSTR) ? 0 : __lock_release_recursive((fp)->_lock))
 #else
-#  define _funlockfile(fp)	(_CASTVOID 0)
+#  define _funlockfile(fp)	(_CAST_VOID 0)
 #endif
 #endif
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]