diff options
author | Max Horn | 2009-02-15 14:46:42 +0000 |
---|---|---|
committer | Max Horn | 2009-02-15 14:46:42 +0000 |
commit | 9daed50e0165f387f597fec4d06b57805e1f717c (patch) | |
tree | eca2f45cf9f2b90ef83be380e42d32e99ecb1862 /engines/sci/sfx/softseq.h | |
parent | 0082a84b8d956bf25c6aaef153d401d641f0923d (diff) | |
download | scummvm-rg350-9daed50e0165f387f597fec4d06b57805e1f717c.tar.gz scummvm-rg350-9daed50e0165f387f597fec4d06b57805e1f717c.tar.bz2 scummvm-rg350-9daed50e0165f387f597fec4d06b57805e1f717c.zip |
Fixed lots of warnings and errors (on my system) by backporting a patch I had sent the FreeSCI folks some time ago (but apparently it never made it, or only made it to a branch not imported?)
svn-id: r38245
Diffstat (limited to 'engines/sci/sfx/softseq.h')
-rw-r--r-- | engines/sci/sfx/softseq.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/sci/sfx/softseq.h b/engines/sci/sfx/softseq.h index 6284aef8ec..d790f87229 100644 --- a/engines/sci/sfx/softseq.h +++ b/engines/sci/sfx/softseq.h @@ -42,11 +42,11 @@ typedef struct sfx_softseq { const char *version; int - (*set_option)(struct sfx_softseq *self, char *name, char *value); + (*set_option)(struct sfx_softseq *self, const char *name, const char *value); /* Sets an option for the sequencer ** Parameters: (sfx_softseq_t *) self: Self reference - ** (char *) name: Name of the option to set - ** (char *0 value: Value to set the option to + ** (const char *) name: Name of the option to set + ** (const char *) value: Value to set the option to ** Returns : (int) GFX_OK on success, or GFX_ERROR if not supported */ @@ -125,9 +125,9 @@ typedef struct sfx_softseq { sfx_softseq_t * -sfx_find_softseq(char *name); +sfx_find_softseq(const char *name); /* Finds a given or default software sequencer -** Parameters: (char *) name: Name of the sequencer to look up, or NULL for default +** Parameters: (const char *) name: Name of the sequencer to look up, or NULL for default ** Returns : (sfx_softseq_t *) The requested sequencer, or NULL if not found */ |