comparison src/xs_support.c @ 628:e7e47ba162b1

Constify.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 03 Sep 2007 04:07:03 +0000
parents 3e4901a89f3d
children a50428d6cc49
comparison
equal deleted inserted replaced
627:109445214255 628:e7e47ba162b1
91 } 91 }
92 92
93 93
94 /* Load a file to a buffer, return 0 on success, negative value on error 94 /* Load a file to a buffer, return 0 on success, negative value on error
95 */ 95 */
96 gint xs_fload_buffer(gchar *pcFilename, guint8 **buf, size_t *bufSize) 96 gint xs_fload_buffer(const gchar *pcFilename, guint8 **buf, size_t *bufSize)
97 { 97 {
98 t_xs_file *f; 98 t_xs_file *f;
99 glong seekPos; 99 glong seekPos;
100 100
101 /* Open file, get file size */ 101 /* Open file, get file size */