summaryrefslogtreecommitdiff
path: root/interpolate.h
diff options
context:
space:
mode:
authorAlex Riesen <fork0@t-online.de>2006-09-28 19:12:55 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-09-29 01:25:36 (GMT)
commita28383770ec44357bfce4af834dc09bf14d9410e (patch)
tree79afc50f91df535052442aba1ca67667781b1827 /interpolate.h
parent393d340e4f4ae571cd48387c29c85e9ab098b098 (diff)
downloadgit-a28383770ec44357bfce4af834dc09bf14d9410e.zip
git-a28383770ec44357bfce4af834dc09bf14d9410e.tar.gz
git-a28383770ec44357bfce4af834dc09bf14d9410e.tar.bz2
do not discard constness in interp_set_entry value argument
Signed-off-by: Alex Riesen <raa.lkml@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'interpolate.h')
-rw-r--r--interpolate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/interpolate.h b/interpolate.h
index a55fb8e..190a180 100644
--- a/interpolate.h
+++ b/interpolate.h
@@ -16,7 +16,7 @@ struct interp {
char *value;
};
-extern void interp_set_entry(struct interp *table, int slot, char *value);
+extern void interp_set_entry(struct interp *table, int slot, const char *value);
extern void interp_clear_table(struct interp *table, int ninterps);
extern int interpolate(char *result, int reslen,