JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
new stuff (some warning elimination)
[dwm.git] / util.c
diff --git a/util.c b/util.c
index 1d37906..09fd872 100644 (file)
--- 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;