~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/include/ut0rnd.h

  • Committer: mordred
  • Date: 2008-11-02 08:47:15 UTC
  • mto: (575.1.1 devel)
  • mto: This revision was merged to the branch mainline in revision 573.
  • Revision ID: mordred@opensolaris-20081102084715-y8f52lubmqmmnxpf
A whole bunch of solaris/sun studio compile fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
                        /* out: folded value */
79
79
        ulint   n1,     /* in: ulint */
80
80
        ulint   n2)     /* in: ulint */
81
 
        __attribute__((const));
 
81
        __attribute__((__const__));
82
82
/*****************************************************************
83
83
Folds a dulint. */
84
84
UNIV_INLINE
87
87
/*===========*/
88
88
                        /* out: folded value */
89
89
        dulint  d)      /* in: dulint */
90
 
        __attribute__((const));
 
90
        __attribute__((__const__));
91
91
/*****************************************************************
92
92
Folds a character string ending in the null character. */
93
93
UNIV_INLINE
116
116
/*==========*/
117
117
                        /* out: prime */
118
118
        ulint   n)      /* in: positive number > 100 */
119
 
        __attribute__((const));
 
119
        __attribute__((__const__));
120
120
 
121
121
 
122
122
#ifndef UNIV_NONINL