~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Monty Taylor
  • Date: 2009-03-04 02:16:28 UTC
  • mto: (917.1.2 mordred)
  • mto: This revision was merged to the branch mainline in revision 912.
  • Revision ID: mordred@inaugust.com-20090304021628-rfq0b16uoi09g8tx
Fix to make VPATH builds work again.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*******************************************************************
 
2
Byte utilities
 
3
 
 
4
(c) 1994, 1995 Innobase Oy
 
5
 
 
6
Created 5/11/1994 Heikki Tuuri
 
7
********************************************************************/
 
8
 
 
9
#include "ut0byte.h"
 
10
 
 
11
#ifdef UNIV_NONINL
 
12
#include "ut0byte.ic"
 
13
#endif
 
14
 
 
15
/* Zero value for a dulint */
 
16
UNIV_INTERN const dulint        ut_dulint_zero  = {0, 0};
 
17
 
 
18
/* Maximum value for a dulint */
 
19
UNIV_INTERN const dulint        ut_dulint_max   = {0xFFFFFFFFUL, 0xFFFFFFFFUL};
 
20
 
 
21
#ifdef notdefined /* unused code */
 
22
#include "ut0sort.h"
 
23
 
 
24
/****************************************************************
 
25
Sort function for dulint arrays. */
 
26
UNIV_INTERN
 
27
void
 
28
ut_dulint_sort(dulint* arr, dulint* aux_arr, ulint low, ulint high)
 
29
/*===============================================================*/
 
30
{
 
31
        UT_SORT_FUNCTION_BODY(ut_dulint_sort, arr, aux_arr, low, high,
 
32
                              ut_dulint_cmp);
 
33
}
 
34
#endif /* notdefined */