xkb: Make XkbWriteCountedString take a const char * input parameter
Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
d0339a5c66
commit
eda9356271
|
@ -4419,7 +4419,7 @@ ProcXkbSetNames(ClientPtr client)
|
||||||
* (swapped) 16 bit string length, non-zero terminated.
|
* (swapped) 16 bit string length, non-zero terminated.
|
||||||
*/
|
*/
|
||||||
static char *
|
static char *
|
||||||
XkbWriteCountedString(char *wire, char *str, Bool swap)
|
XkbWriteCountedString(char *wire, const char *str, Bool swap)
|
||||||
{
|
{
|
||||||
CARD16 len, *pLen, paddedLen;
|
CARD16 len, *pLen, paddedLen;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue