diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-01-25 22:47:10 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-01-27 17:55:28 +0000 |
commit | 6d2d338ac04b02200e009c9e97d3ce030d07eb6f (patch) | |
tree | 9c7a32d2a510c7bd1652de1e590167e4b8bfe651 /src/drm/cairo-drm-i965-private.h | |
parent | 58980b4ad60a60923a59370c81d59bb0457a7922 (diff) |
drm: compile fix for cairo_always_inline
s/always_inline/cairo_always_inline/
Diffstat (limited to 'src/drm/cairo-drm-i965-private.h')
-rw-r--r-- | src/drm/cairo-drm-i965-private.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/drm/cairo-drm-i965-private.h b/src/drm/cairo-drm-i965-private.h index 14fabe9d..84c7134b 100644 --- a/src/drm/cairo-drm-i965-private.h +++ b/src/drm/cairo-drm-i965-private.h @@ -544,7 +544,7 @@ i965_emit_relocation (i965_device_t *device, uint32_t write_domain, uint32_t offset); -static always_inline uint32_t +static cairo_always_inline uint32_t i965_stream_emit (i965_stream_t *stream, const void *data, size_t size) { uint32_t offset; @@ -557,13 +557,13 @@ i965_stream_emit (i965_stream_t *stream, const void *data, size_t size) return offset; } -static always_inline void +static cairo_always_inline void i965_stream_align (i965_stream_t *stream, uint32_t size) { stream->used = (stream->used + size - 1) & -size; } -static always_inline void * +static cairo_always_inline void * i965_stream_alloc (i965_stream_t *stream, uint32_t align, uint32_t size) { void *ptr; @@ -578,7 +578,7 @@ i965_stream_alloc (i965_stream_t *stream, uint32_t align, uint32_t size) return ptr; } -static always_inline uint32_t +static cairo_always_inline uint32_t i965_stream_offsetof (i965_stream_t *stream, const void *ptr) { return (char *) ptr - (char *) stream->data; |