Skip to content

Commit a6a8e8a

Browse files
committed
[PR #1064] dix: make ProcBadRequest() static
PR: #1064
1 parent ad05cda commit a6a8e8a

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

dix/dispatch.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -715,12 +715,6 @@ CreateConnectionBlock(void)
715715
return TRUE;
716716
}
717717

718-
int
719-
ProcBadRequest(ClientPtr client)
720-
{
721-
return BadRequest;
722-
}
723-
724718
int
725719
ProcCreateWindow(ClientPtr client)
726720
{

dix/tables.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ SOFTWARE.
5959
#include "swaprep.h"
6060
#include "swapreq.h"
6161

62+
static int
63+
ProcBadRequest(ClientPtr client)
64+
{
65+
return BadRequest;
66+
}
67+
6268
int (*InitialVector[3]) (ClientPtr /* client */) = {
6369
0,
6470
ProcInitialConnection,

include/dixstruct.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,4 @@ extern _X_EXPORT int (*SwappedProcVector[256]) (ClientPtr /*client */ );
156156
/* fixme: still needed by (public) dix.h */
157157
extern ReplySwapPtr ReplySwapVector[256];
158158

159-
extern _X_EXPORT int
160-
ProcBadRequest(ClientPtr /*client */ );
161-
162159
#endif /* DIXSTRUCT_H */

0 commit comments

Comments
 (0)