excerpts from my local tree, part 6
tree 704510865f9c
parent 8e097bb7e2f3
author Tamas TEVESZ <[email protected]> 1230236693 -3600
committer Tamas TEVESZ <[email protected]> 1230236693 -3600
revision 1621
branch ice
Fix funpointer decls
diff --git a/wrlib/scale.c b/wrlib/scale.c
--- a/wrlib/scale.c
+++ b/wrlib/scale.c
@@ -349,7 +349,7 @@
return(0.0);
}
-static double (*filterf)() = Mitchell_filter;
+static double (*filterf)(double) = Mitchell_filter;
static double fwidth = Mitchell_support;
void
diff --git a/wrlib/xutil.c b/wrlib/xutil.c
--- a/wrlib/xutil.c
+++ b/wrlib/xutil.c
@@ -42,7 +42,7 @@
static int shmError;
-static int (*oldErrorHandler)();
+static int (*oldErrorHandler)(Display *, XErrorEvent *);
static int
errorHandler(Display *dpy, XErrorEvent *err)
--
[-]
mkdir /nonexistent
--
To unsubscribe, send mail to [email protected].