[patch] Fix typos in newlib/libc/include/sys/stdio.h.
Kazu Hirata
kazu@codesourcery.com
Thu Jan 8 00:02:00 GMT 2009
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
More information about the Newlib
mailing list