From 7026d151d1bf717c57775a769e7de7babdc6544d Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sun, 1 Oct 2006 08:18:21 +0000 Subject: cleanup, accomodate Irix compiler literal prototype comparison git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@75 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- lib/pm.h | 2 +- lib/ppmdraw.h | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'lib') diff --git a/lib/pm.h b/lib/pm.h index 696d763c..3850943c 100644 --- a/lib/pm.h +++ b/lib/pm.h @@ -65,7 +65,7 @@ extern "C" { #ifdef __GNUC__ #define PM_GNU_PRINTF_ATTR(a,b) __attribute__ ((format (printf, a, b))) #else -#define PM_GNU_PRINTF_ATTR +#define PM_GNU_PRINTF_ATTR(a,b) #endif diff --git a/lib/ppmdraw.h b/lib/ppmdraw.h index 9efe51b9..a3c4f831 100644 --- a/lib/ppmdraw.h +++ b/lib/ppmdraw.h @@ -265,17 +265,17 @@ ppmd_fill(pixel ** const pixels, /* Text drawing routines. */ void -ppmd_text(pixel** const pixels, - int const cols, - int const rows, - pixval const maxval, - int const xpos, - int const ypos, - int const height, - int const angle, - const char * const sArg, - void (*drawprocP)(pixel**, int, int, pixval, int, int, const void*), - const void* const clientdata); +ppmd_text(pixel** const pixels, + int const cols, + int const rows, + pixval const maxval, + int const xpos, + int const ypos, + int const height, + int const angle, + const char * const sArg, + 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 baseline inclined 'angle' degrees with the X axis. The supplied -- cgit 1.4.1