diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-04-01 19:15:13 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-04-01 19:15:13 (GMT) |
commit | ac700071228681cf1b8227258dc7d6e5a9982899 (patch) | |
tree | 1142f4902d53b04c460fe68eeb8778ce4a1554ac /generic/tkInt.decls | |
parent | c5a38f8dee64da2d1d20ee4f95fdc0a91d5617e9 (diff) | |
download | tk-ac700071228681cf1b8227258dc7d6e5a9982899.zip tk-ac700071228681cf1b8227258dc7d6e5a9982899.tar.gz tk-ac700071228681cf1b8227258dc7d6e5a9982899.tar.bz2 |
CONSTify function XkbOpenDisplay(), and resolve conflict with definition in X11
Diffstat (limited to 'generic/tkInt.decls')
-rw-r--r-- | generic/tkInt.decls | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkInt.decls b/generic/tkInt.decls index d4355dc..dd493e9 100644 --- a/generic/tkInt.decls +++ b/generic/tkInt.decls @@ -1552,7 +1552,7 @@ declare 157 win { KeySym XkbKeycodeToKeysym(Display *d, unsigned int k, int g, int i) } declare 158 win { - Display *XkbOpenDisplay(char *name, int *ev_rtrn, int *err_rtrn, + Display *XkbOpenDisplay(const char *name, int *ev_rtrn, int *err_rtrn, int *major_rtrn, int *minor_rtrn, int *reason) } @@ -2049,7 +2049,7 @@ declare 157 macosx { KeySym XkbKeycodeToKeysym(Display *d, unsigned int k, int g, int i) } declare 158 macosx { - Display *XkbOpenDisplay(char *name, int *ev_rtrn, int *err_rtrn, + Display *XkbOpenDisplay(const char *name, int *ev_rtrn, int *err_rtrn, int *major_rtrn, int *minor_rtrn, int *reason) } |