mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00:00
dix: make ProcBadRequest() static
Nobody outside tables.c is actually using it, so can be static. The function used to be _X_EXPORT'ed, but there's no indication that any external driver (not even proprietary NVidia) ever using it, so we can get away w/o ABI version bump. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
48c72edf38
commit
9a920b8fc5
@@ -716,12 +716,6 @@ CreateConnectionBlock(void)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
int
|
||||
ProcBadRequest(ClientPtr client)
|
||||
{
|
||||
return BadRequest;
|
||||
}
|
||||
|
||||
int
|
||||
ProcCreateWindow(ClientPtr client)
|
||||
{
|
||||
|
||||
@@ -59,6 +59,12 @@ SOFTWARE.
|
||||
#include "swaprep.h"
|
||||
#include "swapreq.h"
|
||||
|
||||
static int
|
||||
ProcBadRequest(ClientPtr client)
|
||||
{
|
||||
return BadRequest;
|
||||
}
|
||||
|
||||
int (*InitialVector[3]) (ClientPtr /* client */) = {
|
||||
0,
|
||||
ProcInitialConnection,
|
||||
|
||||
@@ -156,7 +156,4 @@ extern _X_EXPORT int (*SwappedProcVector[256]) (ClientPtr /*client */ );
|
||||
/* fixme: still needed by (public) dix.h */
|
||||
extern ReplySwapPtr ReplySwapVector[256];
|
||||
|
||||
extern _X_EXPORT int
|
||||
ProcBadRequest(ClientPtr /*client */ );
|
||||
|
||||
#endif /* DIXSTRUCT_H */
|
||||
|
||||
Reference in New Issue
Block a user