From c8956c6fecf0d1390241eefc6a95f9c97fab1e7e Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Thu, 15 Jun 2006 16:08:09 +0000 Subject: 2006-06-15 Corinna Vinschen * libc/include/stdio.h (__sgetc_r): Fix typo. * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r. * libc/stdio/rget.c (__srbuf): Reinstantiate. * libc/stdio/wbuf.c (__swbuf): Ditto. --- newlib/libc/include/stdio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newlib/libc/include/stdio.h') diff --git a/newlib/libc/include/stdio.h b/newlib/libc/include/stdio.h index fb132f6af..9f260214c 100644 --- a/newlib/libc/include/stdio.h +++ b/newlib/libc/include/stdio.h @@ -402,7 +402,7 @@ FILE *_EXFUN(funopen,(const _PTR _cookie, #define __sgetc_raw_r(__ptr, __f) (--(__f)->_r < 0 ? __srget_r(__ptr, __f) : (int)(*(__f)->_p++)) #ifdef __SCLE -static __inline__ int __sgetc_r(struct _REENT *__ptr, FILE *__p) +static __inline__ int __sgetc_r(struct _reent *__ptr, FILE *__p) { int __c = __sgetc_raw_r(__ptr, __p); if ((__p->_flags & __SCLE) && (__c == '\r')) -- cgit v1.2.3