changeset 1578:6d90d40ca0c8

Constify arguments.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 03 Sep 2007 08:45:34 +0300
parents bdf7935a2e26
children a5725f7f1a5e
files src/sid/xs_player.h src/sid/xs_sidplay.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/sid/xs_player.h	Mon Sep 03 08:45:00 2007 +0300
+++ b/src/sid/xs_player.h	Mon Sep 03 08:45:34 2007 +0300
@@ -19,7 +19,7 @@
 	guint		(*plrFillBuffer)(struct t_xs_status *, gchar *, guint);
 	gboolean	(*plrLoadSID)(struct t_xs_status *, gchar *);
 	void		(*plrDeleteSID)(struct t_xs_status *);
-	t_xs_tuneinfo*	(*plrGetSIDInfo)(gchar *);
+	t_xs_tuneinfo*	(*plrGetSIDInfo)(const gchar *);
 	gboolean	(*plrUpdateSIDInfo)(struct t_xs_status *);
 	void		(*plrFlush)(struct t_xs_status *);
 } t_xs_player;
--- a/src/sid/xs_sidplay.h	Mon Sep 03 08:45:00 2007 +0300
+++ b/src/sid/xs_sidplay.h	Mon Sep 03 08:45:34 2007 +0300
@@ -26,7 +26,7 @@
  * (those variables that are only set by libSIDPlay when tune is initialized).
  * Rest of the information is acquired in TFUNCTION2()
  */
-t_xs_tuneinfo *TFUNCTION(gchar *sidFilename)
+t_xs_tuneinfo *TFUNCTION(const gchar *sidFilename)
 {
 	t_xs_tuneinfo *pResult;
 	TTUNEINFO myInfo;