diff --git a/dix/dispatch.c b/dix/dispatch.c index 0a7fc948c8..2b01e26da8 100644 --- a/dix/dispatch.c +++ b/dix/dispatch.c @@ -716,12 +716,6 @@ CreateConnectionBlock(void) return TRUE; } -int -ProcBadRequest(ClientPtr client) -{ - return BadRequest; -} - int ProcCreateWindow(ClientPtr client) { diff --git a/dix/tables.c b/dix/tables.c index 2c096c3173..50494d18a9 100644 --- a/dix/tables.c +++ b/dix/tables.c @@ -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, diff --git a/include/dixstruct.h b/include/dixstruct.h index 06a5c1b2c7..4d112b4887 100644 --- a/include/dixstruct.h +++ b/include/dixstruct.h @@ -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 */