changeset 1575:71a2e6b5b713

Constify.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 03 Sep 2007 07:06:15 +0300
parents e566e18e9e3d
children 716bbba83929
files src/sid/xs_support.c src/sid/xs_support.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/sid/xs_support.c	Mon Sep 03 06:28:17 2007 +0300
+++ b/src/sid/xs_support.c	Mon Sep 03 07:06:15 2007 +0300
@@ -93,7 +93,7 @@
 
 /* Load a file to a buffer, return 0 on success, negative value on error
  */
-gint xs_fload_buffer(gchar *pcFilename, guint8 **buf, size_t *bufSize)
+gint xs_fload_buffer(const gchar *pcFilename, guint8 **buf, size_t *bufSize)
 {
 	t_xs_file *f;
 	glong seekPos;
--- a/src/sid/xs_support.h	Mon Sep 03 06:28:17 2007 +0300
+++ b/src/sid/xs_support.h	Mon Sep 03 07:06:15 2007 +0300
@@ -92,7 +92,7 @@
 #endif
 guint16 xs_fread_be16(t_xs_file *);
 guint32 xs_fread_be32(t_xs_file *);
-gint	xs_fload_buffer(gchar *, guint8 **, size_t *);
+gint	xs_fload_buffer(const gchar *, guint8 **, size_t *);
 
 
 /* Misc functions