2006-10-04 01:01:25 +02:00
|
|
|
$NetBSD: patch-ac,v 1.17 2006/10/03 23:01:25 schwarz Exp $
|
|
|
|
|
2006-10-04 00:56:50 +02:00
|
|
|
--- lib/ppmdraw.h.orig 2006-09-26 21:01:00.000000000 +0200
|
|
|
|
+++ lib/ppmdraw.h 2006-09-26 21:13:09.000000000 +0200
|
|
|
|
@@ -59,7 +59,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-typedef void ppmd_drawproc(pixel **, int, int, pixval, int, int, const void *);
|
|
|
|
+typedef void ppmd_drawproc(pixel ** const, int const, int const, pixval const, int const, int const, const void *const);
|
|
|
|
|
|
|
|
ppmd_drawproc ppmd_point_drawproc;
|
|
|
|
|
|
|
|
@@ -274,7 +274,7 @@
|
|
|
|
int const height,
|
|
|
|
int const angle,
|
|
|
|
const char * const sArg,
|
|
|
|
- void (*drawprocP)(pixel**, int, int, pixval, int, int, const void*),
|
|
|
|
+ ppmd_drawproc drawproc,
|
|
|
|
const void* const clientdata);
|
|
|
|
/* Draws the null-terminated string 's' left justified at the point
|
|
|
|
('x', 'y'). The text will be 'height' pixels high and will be aligned on a
|