From 7b9fd65ce6a28ccf51a13b2da0605b814e632073 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Mon, 6 Jan 2014 15:34:03 +0100 Subject: [PATCH] A const Signed-off-by: Sebastian Ramacher --- config.c | 2 +- config.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.c b/config.c index 32a8326..6c12ae9 100644 --- a/config.c +++ b/config.c @@ -454,7 +454,7 @@ config_load_default(zathura_t* zathura) } void -config_load_file(zathura_t* zathura, char* path) +config_load_file(zathura_t* zathura, const char* path) { if (zathura == NULL || path == NULL) { return; diff --git a/config.h b/config.h index 4587468..1d107c6 100644 --- a/config.h +++ b/config.h @@ -21,6 +21,6 @@ void config_load_default(zathura_t* zathura); * @param zathura The zathura session * @param path Path to the configuration file */ -void config_load_file(zathura_t* zathura, char* path); +void config_load_file(zathura_t* zathura, const char* path); #endif // CONFIG_H