summaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-13 01:30:55 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-13 01:30:55 +0200
commit8b59083eb13c0712e04d9a5b6d7bf4af5913c442 (patch)
treec71ce38a84380cd619c6bf7c478dc68ae3c20f9a /util.h
parentbefore leaning things up (diff)
downloaddwm-8b59083eb13c0712e04d9a5b6d7bf4af5913c442.tar.gz
dwm-8b59083eb13c0712e04d9a5b6d7bf4af5913c442.zip
removed unnecessary crap
Diffstat (limited to 'util.h')
-rw-r--r--util.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/util.h b/util.h
deleted file mode 100644
index 76fc09f..0000000
--- a/util.h
+++ /dev/null
@@ -1,22 +0,0 @@
1/*
2 * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
3 * See LICENSE file for license details.
4 */
5#include <X11/Xlib.h>
6
7extern void error(char *errstr, ...);
8extern void *emallocz(unsigned int size);
9extern void *emalloc(unsigned int size);
10extern void *erealloc(void *ptr, unsigned int size);
11extern char *estrdup(const char *str);
12#define eassert(a) \
13 do { \
14 if(!(a)) \
15 failed_assert(#a, __FILE__, __LINE__); \
16 } while (0)
17extern void failed_assert(char *a, char *file, int line);
18extern void pipe_spawn(char *buf, unsigned int len, Display *dpy, char *argv[]);
19extern void spawn(Display *dpy, char *argv[]);
20extern void swap(void **p1, void **p2);
21extern unsigned int tokenize(char **result, unsigned int reslen,
22 char *str, char delim);