~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2010-02-07 01:33:54 UTC
  • Revision ID: brian@gaz-20100207013354-d2pg1n68u5c09pgo
Remove giant include header to its own file.

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
 
#include "ut0sort.h"
16
 
 
17
 
/* Zero value for a dulint */
18
 
dulint  ut_dulint_zero          = {0, 0};
19
 
 
20
 
/* Maximum value for a dulint */
21
 
dulint  ut_dulint_max           = {0xFFFFFFFFUL, 0xFFFFFFFFUL};
22
 
 
23
 
/****************************************************************
24
 
Sort function for dulint arrays. */
25
 
void
26
 
ut_dulint_sort(dulint* arr, dulint* aux_arr, ulint low, ulint high)
27
 
/*===============================================================*/
28
 
{
29
 
        UT_SORT_FUNCTION_BODY(ut_dulint_sort, arr, aux_arr, low, high,
30
 
                              ut_dulint_cmp);
31
 
}