~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2008-11-03 03:49:00 UTC
  • mfrom: (520.4.50 devel)
  • Revision ID: brian@tangent.org-20081103034900-znhvcgtipr3tlel5
Merging in Monty's work

Show diffs side-by-side

added added

removed removed

Lines of Context:
211
211
                                        /* out: aligned pointer */
212
212
        const void*     ptr,            /* in: pointer */
213
213
        ulint           align_no)       /* in: align by this number */
214
 
                __attribute__((const));
 
214
                __attribute__((__const__));
215
215
/*************************************************************
216
216
The following function computes the offset of a pointer from the nearest
217
217
aligned address. */
223
223
                                        pointer */
224
224
        const void*     ptr,            /* in: pointer */
225
225
        ulint           align_no)       /* in: align by this number */
226
 
                        __attribute__((const));
 
226
                        __attribute__((__const__));
227
227
/*********************************************************************
228
228
Gets the nth bit of a ulint. */
229
229
UNIV_INLINE