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 diff
     1.1 --- a/util.c	Thu Jul 13 01:30:55 2006 +0200
     1.2 +++ b/util.c	Thu Jul 13 01:55:54 2006 +0200
     1.3 @@ -14,7 +14,7 @@
     1.4  #include "wm.h"
     1.5  
     1.6  void
     1.7 -error(char *errstr, ...) {
     1.8 +error(const char *errstr, ...) {
     1.9  	va_list ap;
    1.10  	va_start(ap, errstr);
    1.11  	vfprintf(stderr, errstr, ap);
    1.12 @@ -75,7 +75,7 @@
    1.13  }
    1.14  
    1.15  void
    1.16 -spawn(Display *dpy, char *argv[])
    1.17 +spawn(char *argv[])
    1.18  {
    1.19  	if(!argv || !argv[0])
    1.20  		return;