Make some strings const

Signed-off-by: Timo Hirvonen <tihirvon@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Timo Hirvonen
2006-06-28 12:04:39 +03:00
committed by Junio C Hamano
parent 66eb64cba6
commit 554fe20d80
11 changed files with 16 additions and 15 deletions

View File

@ -95,8 +95,8 @@ static void create_pack_file(void)
int i;
int args;
const char **argv;
const char **p;
char *buf;
char **p;
if (create_full_pack) {
args = 10;
@ -441,7 +441,7 @@ static int receive_needs(void)
static int send_ref(const char *refname, const unsigned char *sha1)
{
static char *capabilities = "multi_ack thin-pack side-band";
static const char *capabilities = "multi_ack thin-pack side-band";
struct object *o = parse_object(sha1);
if (!o)