diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-28 20:50:02 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-28 20:50:10 -0700 |
commit | 1ac4dd6c7abe6fe185c0dafb3bb592720128a737 (patch) | |
tree | af12250268ccee51f35af5aef64b8ef7e67d5805 | |
parent | 24c9341f0e7b0fb7aee326a72982e59e535055e1 (diff) | |
download | xdpyinfo-1ac4dd6c7abe6fe185c0dafb3bb592720128a737.tar.gz xdpyinfo-1ac4dd6c7abe6fe185c0dafb3bb592720128a737.tar.bz2 xdpyinfo-1ac4dd6c7abe6fe185c0dafb3bb592720128a737.zip |
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.c | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -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) { |