aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.h
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2015-10-09 13:15:47 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2015-10-09 14:00:56 +0200
commitc5c0eb873e0b9e40ffc3e85b621310ee85059ceb (patch)
tree06a3a6e14a805de318635166912e8c3a1cc7c7ec /ui-shared.h
parentui-shared: fix resource leak: free allocation from cgit_fileurl (diff)
downloadcgit-c5c0eb873e0b9e40ffc3e85b621310ee85059ceb.tar.xz
cgit-c5c0eb873e0b9e40ffc3e85b621310ee85059ceb.zip
ui-shared: return value of cgit_currenturl is not const
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'ui-shared.h')
-rw-r--r--ui-shared.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-shared.h b/ui-shared.h
index 246678b..4121416 100644
--- a/ui-shared.h
+++ b/ui-shared.h
@@ -4,7 +4,7 @@
extern const char *cgit_httpscheme();
extern const char *cgit_hosturl();
extern const char *cgit_rooturl();
-extern const char *cgit_currenturl();
+extern char *cgit_currenturl();
extern const char *cgit_loginurl();
extern char *cgit_repourl(const char *reponame);
extern char *cgit_fileurl(const char *reponame, const char *pagename,