From 6da4016aea2dc5bf311fea160bd8ef96ca82b999 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sun, 3 Jul 2005 10:10:45 -0700 Subject: Fix sparse warnings. Mainly making a lot of local functions and variables be marked "static", but there was a "zero as NULL" warning in there too. --- apply.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apply.c') diff --git a/apply.c b/apply.c index c81b0a240a..701c01a3bc 100644 --- a/apply.c +++ b/apply.c @@ -724,8 +724,8 @@ static int parse_chunk(char *buffer, unsigned long size, struct patch *patch) return offset + hdrsize + patchsize; } -const char pluses[] = "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"; -const char minuses[]= "----------------------------------------------------------------------"; +static const char pluses[] = "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"; +static const char minuses[]= "----------------------------------------------------------------------"; static void show_stats(struct patch *patch) { -- cgit v1.2.3