aboutsummaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
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;