diff options
author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-13 01:55:54 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-13 01:55:54 +0200 |
commit | d7e17087ed2fc5eed57efa03e81460e3e41f7238 (patch) | |
tree | efaa34fdd54e485be21c5e98f617678a61e4a9e1 /util.c | |
parent | 8b59083eb13c0712e04d9a5b6d7bf4af5913c442 (diff) | |
download | dwm-d7e17087ed2fc5eed57efa03e81460e3e41f7238.tar.gz |
new stuff (some warning elimination)
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util.c b/util.c index 1d37906..09fd872 100644 --- a/util.c +++ b/util.c @@ -14,7 +14,7 @@ #include "wm.h" void -error(char *errstr, ...) { +error(const char *errstr, ...) { va_list ap; va_start(ap, errstr); vfprintf(stderr, errstr, ap); @@ -75,7 +75,7 @@ swap(void **p1, void **p2) } void -spawn(Display *dpy, char *argv[]) +spawn(char *argv[]) { if(!argv || !argv[0]) return; |