1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ac,v 1.17 2006/10/03 23:01:25 schwarz Exp $
--- 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
|