aboutsummaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-13 01:55:54 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-13 01:55:54 +0200
commitd7e17087ed2fc5eed57efa03e81460e3e41f7238 (patch)
treeefaa34fdd54e485be21c5e98f617678a61e4a9e1 /util.c
parent8b59083eb13c0712e04d9a5b6d7bf4af5913c442 (diff)
downloaddwm-d7e17087ed2fc5eed57efa03e81460e3e41f7238.tar.gz
dwm-d7e17087ed2fc5eed57efa03e81460e3e41f7238.tar.bz2
dwm-d7e17087ed2fc5eed57efa03e81460e3e41f7238.zip
new stuff (some warning elimination)
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
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;