~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/ut/ut0byte.c

  • Committer: Monty Taylor
  • Date: 2010-11-25 01:53:19 UTC
  • mto: (1953.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1955.
  • Revision ID: mordred@inaugust.com-20101125015319-ia85msn25uemopgc
Re-enabled -Wformat and then cleaned up the carnage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#ifdef UNIV_NONINL
29
29
#include "ut0byte.ic"
30
30
#endif
 
31
 
 
32
/** Zero value for a dulint */
 
33
UNIV_INTERN const dulint        ut_dulint_zero  = {0, 0};
 
34
 
 
35
/** Maximum value for a dulint */
 
36
UNIV_INTERN const dulint        ut_dulint_max   = {0xFFFFFFFFUL, 0xFFFFFFFFUL};
 
37
 
 
38
#ifdef notdefined /* unused code */
 
39
#include "ut0sort.h"
 
40
 
 
41
/************************************************************//**
 
42
Sort function for dulint arrays. */
 
43
UNIV_INTERN
 
44
void
 
45
ut_dulint_sort(
 
46
/*===========*/
 
47
        dulint* arr,    /*!< in/out: array to be sorted */
 
48
        dulint* aux_arr,/*!< in/out: auxiliary array (same size as arr) */
 
49
        ulint   low,    /*!< in: low bound of sort interval, inclusive */
 
50
        ulint   high)   /*!< in: high bound of sort interval, noninclusive */
 
51
{
 
52
        UT_SORT_FUNCTION_BODY(ut_dulint_sort, arr, aux_arr, low, high,
 
53
                              ut_dulint_cmp);
 
54
}
 
55
#endif /* notdefined */