summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-28 20:50:02 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-28 20:50:10 -0700
commit1ac4dd6c7abe6fe185c0dafb3bb592720128a737 (patch)
treeaf12250268ccee51f35af5aef64b8ef7e67d5805
parent24c9341f0e7b0fb7aee326a72982e59e535055e1 (diff)
Remove unused function hasExtension
Leftover from the Xprint code removed in commit 889264a52a6cf988 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--xdpyinfo.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/xdpyinfo.c b/xdpyinfo.c
index 1e467c4..c0e8181 100644
--- a/xdpyinfo.c
+++ b/xdpyinfo.c
@@ -439,21 +439,6 @@ print_visual_info(XVisualInfo *vip)
vip->bits_per_rgb);
}
-/* xc/programs/twm/twm.c has a copy of |hasExtension()|, please
- * keep both versions in sync... */
-static
-Bool hasExtension(Display *dpy, char *extname)
-{
- int num_extensions,
- i;
- char **extensions;
- extensions = XListExtensions(dpy, &num_extensions);
- for (i = 0; i < num_extensions &&
- (strcmp(extensions[i], extname) != 0); i++);
- XFreeExtensionList(extensions);
- return i != num_extensions;
-}
-
static void
print_screen_info(Display *dpy, int scr)
{