summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--clipnotify.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/clipnotify.c b/clipnotify.c
index e0440b3..f09583e 100644
--- a/clipnotify.c
+++ b/clipnotify.c
@@ -4,23 +4,12 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#ifdef __OpenBSD__
-#define MAYBE_PLEDGE(p, ep) pledge(p, ep)
-#else
-#define MAYBE_PLEDGE(p, ep) 0
-#endif /* __OpenBSD__ */
-
 int main(void) {
     Display *disp;
     Window root;
     Atom clip;
     XEvent evt;
 
-    if (MAYBE_PLEDGE("stdio rpath", NULL) < 0) {
-        perror("pledge");
-        exit(2);
-    }
-
     disp = XOpenDisplay(NULL);
     if (!disp) {
         fprintf(stderr, "Can't open X display\n");