diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2002-08-19 07:52:19 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2002-08-19 07:52:19 +0000 |
commit | 2e0aea4d5beae921b86b259adddae549955db036 (patch) | |
tree | 2199705f23d1f48c5e9365f744fa35c721e097de /bar.c | |
parent | 3459cefb2dcd1736f50e8134fdc2518aa8edc402 (diff) | |
download | lcd4linux-2e0aea4d5beae921b86b259adddae549955db036.tar.gz |
[lcd4linux @ 2002-08-19 07:52:19 by reinelt]
corrected type declaration of (*defchar)()
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@160 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r-- | bar.c | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,4 +1,4 @@ -/* $Id: bar.c,v 1.2 2002/08/19 07:36:29 reinelt Exp $ +/* $Id: bar.c,v 1.3 2002/08/19 07:52:19 reinelt Exp $ * * generic bar handling * @@ -20,6 +20,9 @@ * * * $Log: bar.c,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 @@ -41,7 +44,7 @@ * * int bar_draw (int type, int row, int col, int max, int len1, int len2) * - * int bar_process (void) + * int bar_process (void(*defchar)(int ascii, char *matrix)) * * int bar_peek (int row, int col) * @@ -311,7 +314,7 @@ static void pack_segments (void) } -static void define_chars (int(*defchar)(int ascii, char *matrix)) +static void define_chars (void(*defchar)(int ascii, char *matrix)) { int c, i, j; char buffer[8]; @@ -373,7 +376,7 @@ static void define_chars (int(*defchar)(int ascii, char *matrix)) } -int bar_process (int(*defchar)(int ascii, char *matrix)) +int bar_process (void(*defchar)(int ascii, char *matrix)) { int n, s; |