summaryrefslogtreecommitdiff
path: root/sha1_file.c
diff options
context:
space:
mode:
authorPeter Hagervall <hager@cs.umu.se>2005-09-02 12:17:10 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-09-04 17:28:38 (GMT)
commit2ab141a26f93c4d97e243a6be8a38a7dd4eb35a3 (patch)
treef5399eb6ab1c1242e0efcb56759288bf8063b773 /sha1_file.c
parentbaeda3a749ddcb6feee8354cf2b6f8f55cbd7200 (diff)
downloadgit-2ab141a26f93c4d97e243a6be8a38a7dd4eb35a3.zip
git-2ab141a26f93c4d97e243a6be8a38a7dd4eb35a3.tar.gz
git-2ab141a26f93c4d97e243a6be8a38a7dd4eb35a3.tar.bz2
[PATCH] Possible cleanups for local-pull.c
Hi. This patch contains the following possible cleanups: * Make some needlessly global functions in local-pull.c static * Change 'char *' to 'const char *' where appropriate Signed-off-by: Peter Hagervall <hager@cs.umu.se> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'sha1_file.c')
-rw-r--r--sha1_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sha1_file.c b/sha1_file.c
index fa37f1e..64eac59 100644
--- a/sha1_file.c
+++ b/sha1_file.c
@@ -487,7 +487,7 @@ struct packed_git *parse_pack_index(unsigned char *sha1)
return parse_pack_index_file(sha1, path);
}
-struct packed_git *parse_pack_index_file(unsigned char *sha1, char *idx_path)
+struct packed_git *parse_pack_index_file(const unsigned char *sha1, char *idx_path)
{
struct packed_git *p;
unsigned long idx_size;