summaryrefslogtreecommitdiffstats
path: root/tools/xhost+.c
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2005-08-20 21:09:11 +0000
committerMystery Man <unknown@mandriva.org>2005-08-20 21:09:11 +0000
commit132ca0305e567b13a0bdf65455e7f04d3d8c33a8 (patch)
treeb6d9f55e281d5d8f037ca88ef643ed483587fb2e /tools/xhost+.c
parentb569006d83d0e3c836e9f5eacae81b485015b6c3 (diff)
downloaddrakx-backup-do-not-use-132ca0305e567b13a0bdf65455e7f04d3d8c33a8.tar
drakx-backup-do-not-use-132ca0305e567b13a0bdf65455e7f04d3d8c33a8.tar.gz
drakx-backup-do-not-use-132ca0305e567b13a0bdf65455e7f04d3d8c33a8.tar.bz2
drakx-backup-do-not-use-132ca0305e567b13a0bdf65455e7f04d3d8c33a8.tar.xz
drakx-backup-do-not-use-132ca0305e567b13a0bdf65455e7f04d3d8c33a8.zip
This commit was manufactured by cvs2svn to create tagV10_3_0_47mdk
'V10_3_0_47mdk'.
Diffstat (limited to 'tools/xhost+.c')
-rw-r--r--tools/xhost+.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/tools/xhost+.c b/tools/xhost+.c
deleted file mode 100644
index 58781274e..000000000
--- a/tools/xhost+.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <stdlib.h>
-#include <X11/Xlib.h>
-
-
-int main(int argc, char **argv) {
- Display *d = XOpenDisplay(getenv("DISPLAY") ? getenv("DISPLAY") : ":0");
- if (d == NULL) exit(1);
- XDisableAccessControl(d);
- XCloseDisplay(d);
- exit(0);
-}