diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-03-27 23:17:57 +0000 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2006-03-27 23:17:57 +0000 |
commit | 886bab49ddce6d3b0ad4a89a718e086fbeed8def (patch) | |
tree | fd5a0d7d27236e89586e3755f4458cc873952ac4 | |
parent | e108df6f4cae04a3c2eab572026b517605e7b0b0 (diff) |
Eliminate use of _XkbStrCaseCmp.XORG-7_0_99_901
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/XKBui.c | 9 |
2 files changed, 6 insertions, 8 deletions
@@ -1,3 +1,8 @@ +2006-03-27 Daniel Stone <daniel@freedesktop.org> + + * src/XKBui.c: + Eliminate use of _XkbStrCaseCmp. + 2005-12-20 Kevin E. Martin <kem-at-freedesktop-dot-org> * configure.ac: diff --git a/src/XKBui.c b/src/XKBui.c index 7470716..5dcd11b 100644 --- a/src/XKBui.c +++ b/src/XKBui.c @@ -46,13 +46,6 @@ # define M_PI 3.141592653589793238462 #endif -/* This function is an internal function in the xkbfile library */ -extern int _XkbStrCaseCmp( - char * /* str1 */, - char * /* str2 */ -); - - static XkbUI_ViewOptsRec dfltOpts = { XkbUI_AllViewOptsMask /* present */, 1 /* fg */, @@ -550,7 +543,7 @@ Bool dfltBorder; continue; } name= XkbAtomGetString(view->dpy,draw->u.doodad->any.name); - if ((name!=NULL)&&(_XkbStrCaseCmp(name,"edges")==0)) { + if ((name!=NULL)&&(strcmp(name,"edges")==0)) { dfltBorder= False; break; } |