Removed some warnings.
This commit is contained in:
parent
315d6a2b1d
commit
7a0d16ef0a
|
@ -206,7 +206,7 @@ ephyrDRIScreenInit (ScreenPtr a_screen)
|
||||||
a_screen->ClipNotify = ephyrDRIClipNotify ;
|
a_screen->ClipNotify = ephyrDRIClipNotify ;
|
||||||
|
|
||||||
is_ok = TRUE ;
|
is_ok = TRUE ;
|
||||||
out:
|
|
||||||
return is_ok ;
|
return is_ok ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -33,8 +33,8 @@
|
||||||
|
|
||||||
#ifdef NDEBUG
|
#ifdef NDEBUG
|
||||||
/*we are not in debug mode*/
|
/*we are not in debug mode*/
|
||||||
#define EPHYR_LOG
|
#define EPHYR_LOG(...)
|
||||||
#define EPHYR_LOG_ERROR
|
#define EPHYR_LOG_ERROR(...)
|
||||||
#endif /*NDEBUG*/
|
#endif /*NDEBUG*/
|
||||||
|
|
||||||
#define ERROR_LOG_LEVEL 3
|
#define ERROR_LOG_LEVEL 3
|
||||||
|
|
|
@ -1078,16 +1078,6 @@ out:
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
int is_valid ;
|
|
||||||
int local_id ;
|
|
||||||
int remote_id ;
|
|
||||||
} ResourcePair ;
|
|
||||||
|
|
||||||
#define RESOURCE_PEERS_SIZE 1024*10
|
|
||||||
static ResourcePair resource_peers[RESOURCE_PEERS_SIZE] ;
|
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
hostx_create_window (int a_screen_number,
|
hostx_create_window (int a_screen_number,
|
||||||
EphyrBox *a_geometry,
|
EphyrBox *a_geometry,
|
||||||
|
@ -1259,6 +1249,16 @@ hostx_has_xshape (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef XEPHYR_DRI
|
#ifdef XEPHYR_DRI
|
||||||
|
typedef struct {
|
||||||
|
int is_valid ;
|
||||||
|
int local_id ;
|
||||||
|
int remote_id ;
|
||||||
|
} ResourcePair ;
|
||||||
|
|
||||||
|
#define RESOURCE_PEERS_SIZE 1024*10
|
||||||
|
static ResourcePair resource_peers[RESOURCE_PEERS_SIZE] ;
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
hostx_allocate_resource_id_peer (int a_local_resource_id,
|
hostx_allocate_resource_id_peer (int a_local_resource_id,
|
||||||
int *a_remote_resource_id)
|
int *a_remote_resource_id)
|
||||||
|
|
Loading…
Reference in New Issue