diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2015-05-20 09:58:38 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2015-05-20 09:58:38 +0900 |
commit | d64a13ebe0ecd241ee3260dbffd8f4a01e254183 (patch) | |
tree | 422ed4354f768277d89b21d49401dcd8f1742f07 | |
parent | 818c180c8932233b214a35ba0647af82f7bcec3d (diff) |
Replace SyncFence typedef with declaration of struct _SyncFence
Fixes build failure in some environments:
CC radeon_sync.lo
In file included from radeon_sync.c:28:
/home/tinderbox/xorg-build/include/xorg/misync.h:31: error: redefinition of typedef 'SyncFence'
radeon.h:93: note: previous declaration of 'SyncFence' was here
make[2]: *** [radeon_sync.lo] Error 1
Reported-Tested-and-Acked-by: David Airlie <airlied@redhat.com>
-rw-r--r-- | src/radeon.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon.h b/src/radeon.h index 7feed043..d6f18fad 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -90,7 +90,7 @@ #include "simple_list.h" #include "atipcirename.h" -typedef struct _SyncFence SyncFence; +struct _SyncFence; #ifndef MAX #define MAX(a,b) ((a)>(b)?(a):(b)) @@ -457,7 +457,7 @@ typedef struct { void (*BlockHandler)(BLOCKHANDLER_ARGS_DECL); - void (*CreateFence) (ScreenPtr pScreen, SyncFence *pFence, + void (*CreateFence) (ScreenPtr pScreen, struct _SyncFence *pFence, Bool initially_triggered); int pix24bpp; /* Depth of pixmap for 24bpp fb */ |