Resources: Move rClient to resource.h
The definition of rClient was duplicated across three source files, so move it to resource.h. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
@@ -33,8 +33,6 @@
|
||||
#include "geext.h"
|
||||
#include "protocol-versions.h"
|
||||
|
||||
#define rClient(obj) (clients[CLIENT_ID((obj)->resource)])
|
||||
|
||||
DevPrivateKeyRec GEClientPrivateKeyRec;
|
||||
|
||||
int RT_GECLIENT = 0;
|
||||
|
||||
@@ -154,8 +154,6 @@ SecurityLookupRequestName(ClientPtr client)
|
||||
}
|
||||
|
||||
|
||||
#define rClient(obj) (clients[CLIENT_ID((obj)->resource)])
|
||||
|
||||
/* SecurityDeleteAuthorization
|
||||
*
|
||||
* Arguments:
|
||||
|
||||
Reference in New Issue
Block a user