about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Hill <dhill@conformal.com>2013-06-07 13:29:15 -0400
committerDavid Hill <dhill@conformal.com>2013-06-07 13:29:15 -0400
commit01ff22410f4bd34ed3e6a365668e27ec78486595 (patch)
tree85c0dba1a41cf6b2efb14b884ff63755c38b382c
parent100efa23d892ea219b665c02ffa71e94e1128c0b (diff)
downloadxombrero-01ff22410f4bd34ed3e6a365668e27ec78486595.tar.gz
constify
-rw-r--r--settings.c2
-rw-r--r--xombrero.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/settings.c b/settings.c
index 6f9ffdd..58f052b 100644
--- a/settings.c
+++ b/settings.c
@@ -3066,7 +3066,7 @@ check_fancy_bar(char **tt)
 }
 
 int
-setup_proxy(char *uri)
+setup_proxy(const char *uri)
 {
 	struct tab		*t;
 
diff --git a/xombrero.h b/xombrero.h
index de74b97..07ea6b5 100644
--- a/xombrero.h
+++ b/xombrero.h
@@ -831,7 +831,7 @@ int		set(struct tab *, struct karg *);
 int		xtp_page_rt(struct tab *, struct karg *);
 size_t		get_settings_size(void);
 int		settings_add(char *, char *);
-int		setup_proxy(char *);
+int		setup_proxy(const char *);
 int		proxy_cmd(struct tab *, struct karg *);
 int		set_browser_mode(struct settings *, char *);
 int		set_encoding(struct tab *, struct karg *);