Constify ReplySwapPtr, 2kb to rodata
This commit is contained in:
parent
14cbc31290
commit
c4f6608b7d
|
@ -724,7 +724,7 @@ EventSwapPtr EventSwapVector[128] =
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
ReplySwapPtr ReplySwapVector[256] =
|
const ReplySwapPtr ReplySwapVector[256] =
|
||||||
{
|
{
|
||||||
ReplyNotSwappd,
|
ReplyNotSwappd,
|
||||||
ReplyNotSwappd,
|
ReplyNotSwappd,
|
||||||
|
|
|
@ -188,7 +188,7 @@ int (* ProcVector[256]) (ClientPtr /*client*/);
|
||||||
int (* SwappedProcVector[256]) (ClientPtr /*client*/);
|
int (* SwappedProcVector[256]) (ClientPtr /*client*/);
|
||||||
|
|
||||||
|
|
||||||
extern ReplySwapPtr ReplySwapVector[256];
|
extern const ReplySwapPtr ReplySwapVector[256];
|
||||||
|
|
||||||
int ProcBadRequest(ClientPtr /*client*/);
|
int ProcBadRequest(ClientPtr /*client*/);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue