summaryrefslogtreecommitdiff
path: root/src/WrFFrI.c
diff options
context:
space:
mode:
authorChristophe CURIS <christophe.curis@free.fr>2013-05-01 10:39:37 +0200
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-05-31 18:09:19 -0700
commit01ee6b9c500cd9c67f167e68c8383e8c58db5ddf (patch)
treeb690f225a97f12422a18e4aeb78dcb2f63264c01 /src/WrFFrI.c
parent980e9f851e47d31eed9635a6399a23d1456548d0 (diff)
Added 'const' qualifier to the filename argument to internal functions
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/WrFFrI.c')
-rw-r--r--src/WrFFrI.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WrFFrI.c b/src/WrFFrI.c
index d074516..bf47481 100644
--- a/src/WrFFrI.c
+++ b/src/WrFFrI.c
@@ -63,7 +63,7 @@ LFUNC(WritePixels, int, (FILE *file, unsigned int width, unsigned int height,
LFUNC(WriteExtensions, void, (FILE *file, XpmExtension *ext,
unsigned int num));
-LFUNC(OpenWriteFile, int, (char *filename, xpmData *mdata));
+LFUNC(OpenWriteFile, int, (const char *filename, xpmData *mdata));
LFUNC(xpmDataClose, void, (xpmData *mdata));
int
@@ -319,7 +319,7 @@ FUNC(xpmPipeThrough, FILE*, (int fd,
*/
static int
OpenWriteFile(
- char *filename,
+ const char *filename,
xpmData *mdata)
{
if (!filename) {