Author: vlendec Date: 2006-06-08 12:22:39 +0000 (Thu, 08 Jun 2006) New Revision: 16096
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16096 Log: comparison_fn_t is needed in proto.h Modified: trunk/source/include/includes.h Changeset: Modified: trunk/source/include/includes.h =================================================================== --- trunk/source/include/includes.h 2006-06-08 11:45:16 UTC (rev 16095) +++ trunk/source/include/includes.h 2006-06-08 12:22:39 UTC (rev 16096) @@ -1062,6 +1062,10 @@ /* NUM_FLUSH_REASONS must remain the last value in the enumeration. */ NUM_FLUSH_REASONS}; +#ifndef HAVE_COMPARISON_FN_T +typedef int (*comparison_fn_t)(const void *, const void *); +#endif + /***** automatically generated prototypes *****/ #ifndef NO_PROTO_H #include "proto.h" @@ -1083,10 +1087,6 @@ #define QSORT_CAST (int (*)(const void *, const void *)) #endif -#ifndef HAVE_COMPARISON_FN_T -typedef int (*comparison_fn_t)(const void *, const void *); -#endif - #ifndef DEFAULT_PRINTING #ifdef HAVE_CUPS #define DEFAULT_PRINTING PRINT_CUPS
