Hi guys,

'putc' in mingw/include/stdio.h was missing a 'return'.
Fixed in trunk with the patch below.

Cheers,
Pedro Alves

---

2006-10-22  Pedro Alves  <[EMAIL PROTECTED]>

      * include/stdio.h (puts) [__COREDLL__]: Add missing return.


Index: include/stdio.h
===================================================================
--- include/stdio.h     (revision 746)
+++ include/stdio.h     (working copy)
@@ -322,7 +322,7 @@
 #else /* __COREDLL__ */
 
 __CRT_INLINE int __cdecl getc (FILE* __F) { return fgetc(__F); }
-__CRT_INLINE int __cdecl putc (int __c, FILE* __F) { fputc (__c, __F); }
+__CRT_INLINE int __cdecl putc (int __c, FILE* __F) { return fputc (__c, __F); }
 _CRTIMP int __cdecl getchar (void);
 _CRTIMP int __cdecl putchar(int __c);
 
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cegcc-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to