Commit b41a1b01 authored by marko's avatar marko

branches/zip: Replace __attribute with __attribute.

parent bf1f73aa
...@@ -798,7 +798,7 @@ buf_page_get_space( ...@@ -798,7 +798,7 @@ buf_page_get_space(
/*===============*/ /*===============*/
/* out: space id */ /* out: space id */
const buf_page_t* bpage) /* in: pointer to the control block */ const buf_page_t* bpage) /* in: pointer to the control block */
__attribute((pure)); __attribute__((pure));
/************************************************************************* /*************************************************************************
Gets the space id of a block. */ Gets the space id of a block. */
UNIV_INLINE UNIV_INLINE
...@@ -807,7 +807,7 @@ buf_block_get_space( ...@@ -807,7 +807,7 @@ buf_block_get_space(
/*================*/ /*================*/
/* out: space id */ /* out: space id */
const buf_block_t* block) /* in: pointer to the control block */ const buf_block_t* block) /* in: pointer to the control block */
__attribute((pure)); __attribute__((pure));
/************************************************************************* /*************************************************************************
Gets the page number of a block. */ Gets the page number of a block. */
UNIV_INLINE UNIV_INLINE
...@@ -816,7 +816,7 @@ buf_page_get_page_no( ...@@ -816,7 +816,7 @@ buf_page_get_page_no(
/*=================*/ /*=================*/
/* out: page number */ /* out: page number */
const buf_page_t* bpage) /* in: pointer to the control block */ const buf_page_t* bpage) /* in: pointer to the control block */
__attribute((pure)); __attribute__((pure));
/************************************************************************* /*************************************************************************
Gets the page number of a block. */ Gets the page number of a block. */
UNIV_INLINE UNIV_INLINE
...@@ -825,7 +825,7 @@ buf_block_get_page_no( ...@@ -825,7 +825,7 @@ buf_block_get_page_no(
/*==================*/ /*==================*/
/* out: page number */ /* out: page number */
const buf_block_t* block) /* in: pointer to the control block */ const buf_block_t* block) /* in: pointer to the control block */
__attribute((pure)); __attribute__((pure));
/************************************************************************* /*************************************************************************
Gets the compressed page size of a block. */ Gets the compressed page size of a block. */
UNIV_INLINE UNIV_INLINE
...@@ -834,7 +834,7 @@ buf_page_get_zip_size( ...@@ -834,7 +834,7 @@ buf_page_get_zip_size(
/*==================*/ /*==================*/
/* out: compressed page size, or 0 */ /* out: compressed page size, or 0 */
const buf_page_t* bpage) /* in: pointer to the control block */ const buf_page_t* bpage) /* in: pointer to the control block */
__attribute((pure)); __attribute__((pure));
/************************************************************************* /*************************************************************************
Gets the compressed page size of a block. */ Gets the compressed page size of a block. */
UNIV_INLINE UNIV_INLINE
...@@ -843,7 +843,7 @@ buf_block_get_zip_size( ...@@ -843,7 +843,7 @@ buf_block_get_zip_size(
/*===================*/ /*===================*/
/* out: compressed page size, or 0 */ /* out: compressed page size, or 0 */
const buf_block_t* block) /* in: pointer to the control block */ const buf_block_t* block) /* in: pointer to the control block */
__attribute((pure)); __attribute__((pure));
/************************************************************************* /*************************************************************************
Gets the compressed page descriptor corresponding to an uncompressed page Gets the compressed page descriptor corresponding to an uncompressed page
if applicable. */ if applicable. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment