From 2fa253477b2f12e033c7e337268ca1c4354a280a Mon Sep 17 00:00:00 2001 From: reinelt <> Date: Mon, 19 Aug 2002 07:52:19 +0000 Subject: [lcd4linux @ 2002-08-19 07:52:19 by reinelt] corrected type declaration of (*defchar)() --- bar.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'bar.h') diff --git a/bar.h b/bar.h index 2864cc7..f8e4505 100644 --- a/bar.h +++ b/bar.h @@ -1,4 +1,4 @@ -/* $Id: bar.h,v 1.2 2002/08/19 07:36:29 reinelt Exp $ +/* $Id: bar.h,v 1.3 2002/08/19 07:52:19 reinelt Exp $ * * generic bar handling * @@ -20,6 +20,9 @@ * * * $Log: bar.h,v $ + * Revision 1.3 2002/08/19 07:52:19 reinelt + * corrected type declaration of (*defchar)() + * * Revision 1.2 2002/08/19 07:36:29 reinelt * * finished bar.c, USBLCD is the first driver that uses the generic bar functions @@ -67,7 +70,7 @@ int bar_init (int rows, int cols, int xres, int yres, int chars); void bar_clear(void); void bar_add_segment(int len1, int len2, int type, int ascii); int bar_draw (int type, int row, int col, int max, int len1, int len2); -int bar_process (int(*defchar)(int ascii, char *matrix)); +int bar_process (void(*defchar)(int ascii, char *matrix)); int bar_peek (int row, int col); #endif -- cgit v1.2.3