mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-08 11:28:03 +02:00
XkbOpenDisplay: Add _Xconst qualifier to display name argument
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
parent
c88ceaad4a
commit
35d1513bc7
3 changed files with 3 additions and 3 deletions
|
|
@ -297,7 +297,7 @@ extern Bool XkbIgnoreExtension(
|
|||
);
|
||||
|
||||
extern Display *XkbOpenDisplay(
|
||||
char * /* name */,
|
||||
_Xconst char * /* name */,
|
||||
int * /* ev_rtrn */,
|
||||
int * /* err_rtrn */,
|
||||
int * /* major_rtrn */,
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ the library and the server, and initializes the extension for use.
|
|||
.SH SYNOPSIS
|
||||
.HP
|
||||
.B Display *XkbOpenDisplay
|
||||
.BI "(\^char *" "display_name" "\^,"
|
||||
.BI "(\^_Xconst char *" "display_name" "\^,"
|
||||
.BI "int *" "event_rtrn" "\^,"
|
||||
.BI "int *" "error_rtrn" "\^,"
|
||||
.BI "int *" "major_in_out" "\^,"
|
||||
|
|
|
|||
|
|
@ -721,7 +721,7 @@ XkbGetPerClientControls(Display *dpy, unsigned *ctrls)
|
|||
}
|
||||
|
||||
Display *
|
||||
XkbOpenDisplay(char *name,
|
||||
XkbOpenDisplay(_Xconst char *name,
|
||||
int *ev_rtrn,
|
||||
int *err_rtrn,
|
||||
int *major_rtrn,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue