From 138476486eb913c35e0f05fdc4991e8b327c2a86 Mon Sep 17 00:00:00 2001 From: Sascha Kruse Date: Fri, 22 Feb 2013 16:20:32 +0000 Subject: [PATCH] removed another unused function --- x.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/x.c b/x.c index 68121f4..258827d 100644 --- a/x.c +++ b/x.c @@ -245,21 +245,6 @@ static void x_win_move(int width, int height) } -void eprintf(const char *fmt, ...) -{ - va_list ap; - - va_start(ap, fmt); - vfprintf(stderr, fmt, ap); - va_end(ap); - - if (fmt[0] != '\0' && fmt[strlen(fmt) - 1] == ':') { - fputc(' ', stderr); - perror(NULL); - } - exit(EXIT_FAILURE); -} - void setopacity(Window win, unsigned long opacity) { Atom _NET_WM_WINDOW_OPACITY =