diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-07-17 16:52:08 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-07-17 16:52:08 -0700 |
commit | 8ca076471e89d4a2a4b2f9b48873855c6c981b83 (patch) | |
tree | 33a1dbd9d361c561b084f541e539aae34378f066 | |
parent | d8086f474c8d2d60180968d1295dd1a55d465920 (diff) | |
download | xorg-lib-libXp-8ca076471e89d4a2a4b2f9b48873855c6c981b83.tar.gz |
XpExtVer.c: fix -Wredundant-decls warning
XpExtVer.c:67:12: warning: redundant redeclaration of ‘XpCheckExtInitUnlocked’ [-Wredundant-decls]
67 | extern int XpCheckExtInitUnlocked(
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from XpExtVer.c:44:
XpExtUtil.h:42:12: note: previous declaration of ‘XpCheckExtInitUnlocked’ with type ‘int(Display *, int)’
42 | extern int XpCheckExtInitUnlocked(
| ^~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | src/XpExtVer.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/XpExtVer.c b/src/XpExtVer.c index 5433988..3eb1daf 100644 --- a/src/XpExtVer.c +++ b/src/XpExtVer.c @@ -62,13 +62,6 @@ XpQueryExtension ( } } -/* Prototype for |XpCheckExtInitUnlocked()| - * See XpExtUtil.c - same as |XpCheckExtInit()| but does not obtain the Xlib global lock */ -extern int XpCheckExtInitUnlocked( - register Display *dpy, - register int version_index -); - Status XpQueryVersion ( Display *dpy, |