diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-06-20 10:09:56 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-06-20 10:09:56 +0000 |
commit | 7ac3e2a7d2c23ea71adeb56d8afbe1b1cbeee4df (patch) | |
tree | c9fe5fa4426d7334d8486a3a7e59c64a43d2ef9e /drv_generic_parport.h | |
parent | e4626159694ea6774386faa2f0d2fb517de1eb8b (diff) | |
download | lcd4linux-7ac3e2a7d2c23ea71adeb56d8afbe1b1cbeee4df.tar.gz |
[lcd4linux @ 2004-06-20 10:09:52 by reinelt]
'const'ified the whole source
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@476 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_generic_parport.h')
-rw-r--r-- | drv_generic_parport.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/drv_generic_parport.h b/drv_generic_parport.h index 5e35ca6..7e23205 100644 --- a/drv_generic_parport.h +++ b/drv_generic_parport.h @@ -1,4 +1,4 @@ -/* $Id: drv_generic_parport.h,v 1.2 2004/01/20 15:32:49 reinelt Exp $ +/* $Id: drv_generic_parport.h,v 1.3 2004/06/20 10:09:55 reinelt Exp $ * * generic driver helper for parallel port displays * @@ -23,6 +23,10 @@ * * * $Log: drv_generic_parport.h,v $ + * Revision 1.3 2004/06/20 10:09:55 reinelt + * + * 'const'ified the whole source + * * Revision 1.2 2004/01/20 15:32:49 reinelt * first version of Next Generation HD44780 (untested! but it compiles...) * some cleanup in the other drivers @@ -77,14 +81,14 @@ #ifndef _DRV_GENERIC_PARPORT_H_ #define _DRV_GENERIC_PARPORT_H_ -int drv_generic_parport_open (char *section, char *driver); +int drv_generic_parport_open (const char *section, const char *driver); int drv_generic_parport_close (void); -unsigned char drv_generic_parport_wire_ctrl (char *name, unsigned char *deflt); -unsigned char drv_generic_parport_wire_data (char *name, unsigned char *deflt); -void drv_generic_parport_direction (int direction); -void drv_generic_parport_control (unsigned char mask, unsigned char value); -void drv_generic_parport_toggle (unsigned char bit, int level, int delay); -void drv_generic_parport_data (unsigned char data); +unsigned char drv_generic_parport_wire_ctrl (const char *name, const unsigned char *deflt); +unsigned char drv_generic_parport_wire_data (const char *name, const unsigned char *deflt); +void drv_generic_parport_direction (const int direction); +void drv_generic_parport_control (const unsigned char mask, const unsigned char value); +void drv_generic_parport_toggle (const unsigned char bit, const int level, const int delay); +void drv_generic_parport_data (const unsigned char data); unsigned char drv_generic_parport_read (void); void drv_generic_parport_debug (void); |