Mercurial > aewl
diff util.c @ 33:e90449e03167
new stuff (some warning elimination)
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Thu, 13 Jul 2006 01:55:54 +0200 |
parents | 082c75b937b5 |
children | cd30cce52b78 |
line wrap: on
line diff
--- a/util.c Thu Jul 13 01:30:55 2006 +0200 +++ b/util.c Thu Jul 13 01:55:54 2006 +0200 @@ -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 @@ } void -spawn(Display *dpy, char *argv[]) +spawn(char *argv[]) { if(!argv || !argv[0]) return;