summaryrefslogtreecommitdiff
path: root/src/xine-engine/configfile.c
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2002-09-09 19:24:48 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2002-09-09 19:24:48 +0000
commit6d580c1e2b663bea95a2107370b458fb58afda37 (patch)
tree91400358abf6427a1e060d67a3aa6f98282974f1 /src/xine-engine/configfile.c
parentc8489f82948511ec9bbd97f7146ed4b772a89c7f (diff)
downloadxine-lib-6d580c1e2b663bea95a2107370b458fb58afda37.tar.gz
xine-lib-6d580c1e2b663bea95a2107370b458fb58afda37.tar.bz2
Remove so const abuse ;-)
CVS patchset: 2637 CVS date: 2002/09/09 19:24:48
Diffstat (limited to 'src/xine-engine/configfile.c')
-rw-r--r--src/xine-engine/configfile.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/xine-engine/configfile.c b/src/xine-engine/configfile.c
index 35cd9b44a..f4742df89 100644
--- a/src/xine-engine/configfile.c
+++ b/src/xine-engine/configfile.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: configfile.c,v 1.26 2002/09/08 22:11:41 mroi Exp $
+ * $Id: configfile.c,v 1.27 2002/09/09 19:24:48 f1rmb Exp $
*
* config object (was: file) management - implementation
*
@@ -91,7 +91,7 @@ static cfg_entry_t *xine_config_add (config_values_t *this, char *key) {
* external interface
*/
-static cfg_entry_t *_xine_config_lookup_entry (config_values_t *this, const char *key) {
+static cfg_entry_t *_xine_config_lookup_entry (config_values_t *this, char *key) {
cfg_entry_t *entry;
entry = this->first;
@@ -108,8 +108,8 @@ static char *_xine_config_register_string (config_values_t *this,
char *description,
char *help,
int exp_level,
- const xine_config_cb_t changed_cb,
- const void *const cb_data) {
+ xine_config_cb_t changed_cb,
+ void *cb_data) {
cfg_entry_t *entry;
@@ -171,8 +171,8 @@ static int _xine_config_register_num (config_values_t *this,
char *description,
char *help,
int exp_level,
- const xine_config_cb_t changed_cb,
- const void *const cb_data) {
+ xine_config_cb_t changed_cb,
+ void *cb_data) {
cfg_entry_t *entry;
@@ -226,8 +226,8 @@ static int _xine_config_register_bool (config_values_t *this,
char *description,
char *help,
int exp_level,
- const xine_config_cb_t changed_cb,
- const void *const cb_data) {
+ xine_config_cb_t changed_cb,
+ void *const cb_data) {
cfg_entry_t *entry;
@@ -282,8 +282,8 @@ static int _xine_config_register_range (config_values_t *this,
char *description,
char *help,
int exp_level,
- const xine_config_cb_t changed_cb,
- const void *const cb_data) {
+ xine_config_cb_t changed_cb,
+ void *cb_data) {
cfg_entry_t *entry;
@@ -369,8 +369,8 @@ static int _xine_config_register_enum (config_values_t *this,
char *description,
char *help,
int exp_level,
- const xine_config_cb_t changed_cb,
- const void *const cb_data) {
+ xine_config_cb_t changed_cb,
+ void *cb_data) {
cfg_entry_t *entry;
@@ -498,7 +498,7 @@ static void xine_config_update_string (config_values_t *this,
/*
* load/save config data from/to afile (e.g. $HOME/.xine/config)
*/
-void xine_load_config (xine_p xine_ro, const char *filename) {
+void xine_load_config (xine_p xine_ro, char *filename) {
config_values_t *this = xine_ro->config;
FILE *f_config;
@@ -557,7 +557,7 @@ void xine_load_config (xine_p xine_ro, const char *filename) {
}
}
-void xine_save_config (xine_p xine_ro, const char *filename) {
+void xine_save_config (xine_p xine_ro, char *filename) {
config_values_t *this = xine_ro->config;
FILE *f_config;