Constify ReplySwapPtr, 2kb to rodata

This commit is contained in:
Lauri Kasanen 2015-02-25 16:23:18 +02:00
parent 14cbc31290
commit c4f6608b7d
2 changed files with 2 additions and 2 deletions

View File

@ -724,7 +724,7 @@ EventSwapPtr EventSwapVector[128] =
};
ReplySwapPtr ReplySwapVector[256] =
const ReplySwapPtr ReplySwapVector[256] =
{
ReplyNotSwappd,
ReplyNotSwappd,

View File

@ -188,7 +188,7 @@ int (* ProcVector[256]) (ClientPtr /*client*/);
int (* SwappedProcVector[256]) (ClientPtr /*client*/);
extern ReplySwapPtr ReplySwapVector[256];
extern const ReplySwapPtr ReplySwapVector[256];
int ProcBadRequest(ClientPtr /*client*/);