~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

[patch 028/129] Merge patch for revision 1816 from InnoDB SVN:
revno: 1816
revision-id: svn-v4:16c675df-0fcb-4bc9-8058-dcc011a37293:branches/zip:5744
parent: svn-v4:16c675df-0fcb-4bc9-8058-dcc011a37293:branches/zip:5743
committer: marko
timestamp: Thu 2009-09-03 07:28:35 +0000
message:
  branches/zip: ut_align(): Make ptr const, like in ut_align_down().
modified:
  include/ut0byte.h              2@16c675df-0fcb-4bc9-8058-dcc011a37293:trunk%2Finclude%2Fut0byte.h
  include/ut0byte.ic             2@16c675df-0fcb-4bc9-8058-dcc011a37293:trunk%2Finclude%2Fut0byte.ic
diff:
=== modified file 'include/ut0byte.h'

Show diffs side-by-side

added added

removed removed

Lines of Context:
219
219
void*
220
220
ut_align(
221
221
/*=====*/
222
 
        void*   ptr,            /*!< in: pointer */
223
 
        ulint   align_no);      /*!< in: align by this number */
 
222
        const void*     ptr,            /*!< in: pointer */
 
223
        ulint           align_no);      /*!< in: align by this number */
224
224
/*********************************************************//**
225
225
The following function rounds down a pointer to the nearest
226
226
aligned address.