diff options
author | Hendrik Brueckner <brueckner@linux.vnet.ibm.com> | 2010-03-08 12:26:25 +0100 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2010-03-08 12:26:28 +0100 |
commit | 09003ed90a2880de7e36b170a9298dd10d53e322 (patch) | |
tree | ff3125abb3822685681245338e5e94caf0d7c184 /drivers/s390/net/smsgiucv.h | |
parent | [S390] dasd: automatic recognition of read-only devices (diff) | |
download | linux-09003ed90a2880de7e36b170a9298dd10d53e322.tar.xz linux-09003ed90a2880de7e36b170a9298dd10d53e322.zip |
[S390] smsgiucv: declare char pointers as "const"
Declare the smsgiucv prefix char pointer as "const" and use
use const char pointers in callback functions.
Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/net/smsgiucv.h')
-rw-r--r-- | drivers/s390/net/smsgiucv.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/s390/net/smsgiucv.h b/drivers/s390/net/smsgiucv.h index 67f5d4f8378d..9410b45fde03 100644 --- a/drivers/s390/net/smsgiucv.h +++ b/drivers/s390/net/smsgiucv.h @@ -5,6 +5,8 @@ * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com) */ -int smsg_register_callback(char *, void (*)(char *, char *)); -void smsg_unregister_callback(char *, void (*)(char *, char *)); +int smsg_register_callback(const char *, + void (*)(const char *, char *)); +void smsg_unregister_callback(const char *, + void (*)(const char *, char *)); |