summaryrefslogtreecommitdiff
path: root/xdpyinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'xdpyinfo.c')
-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)
{