[ros-diffs] [navaraf] 19436: Use a standard header instead of redefining size_t.

navaraf at svn.reactos.com navaraf at svn.reactos.com
Tue Nov 22 01:16:58 CET 2005


Use a standard header instead of redefining size_t.
Modified: trunk/reactos/lib/rtl/qsort.c
  _____  

Modified: trunk/reactos/lib/rtl/qsort.c
--- trunk/reactos/lib/rtl/qsort.c	2005-11-22 00:15:47 UTC (rev
19435)
+++ trunk/reactos/lib/rtl/qsort.c	2005-11-22 00:16:37 UTC (rev
19436)
@@ -38,6 +38,8 @@

  * PROGRAMMER:        Adapted from CygWin newlib 2000-03-12.       
  */
 
+#include <stddef.h>
+
 #ifndef __GNUC__
 #define inline
 #endif
@@ -45,7 +47,6 @@
 /* FIXME: these types should be from the default includes */
 
 typedef int (* 	_pfunccmp_t) (char *, char *);
-typedef int size_t;
 
 #define min(a,b) ((a)<(b)?(a):(b))
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051122/a553dea3/attachment.html


More information about the Ros-diffs mailing list