changeset 628:e7e47ba162b1

Constify.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 03 Sep 2007 04:07:03 +0000
parents 109445214255
children ce1fe59627f2
files src/xs_support.c src/xs_support.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xs_support.c	Mon Sep 03 02:46:02 2007 +0000
+++ b/src/xs_support.c	Mon Sep 03 04:07:03 2007 +0000
@@ -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/xs_support.h	Mon Sep 03 02:46:02 2007 +0000
+++ b/src/xs_support.h	Mon Sep 03 04:07:03 2007 +0000
@@ -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