On 05/04/2019 19:03, Jeff King wrote: > As CodingGuidelines recommends, we do not need an "extern" when > declaring a public function. Let's drop these. Note that we leave the > extern on report_garbage(), as that is actually a function pointer, not > a function itself. Hmm, perhaps we need to edit CodingGuidelines to make it clear that the 'extern' keyword is not needed on _function_ declarations only. ;-) Because, ... [snip] > /* global flag to enable extra checks when accessing packed objects */ > -extern int do_check_packed_object_crc; > +int do_check_packed_object_crc; ... removing this 'extern' on an int variable sends 'sparse' into a frenzy of warnings! :-D [You didn't use a global s/extern// by any chance?] ATB, Ramsay Jones
- [PATCH 07/12] server-info: simplify cleanup in parse_pack_d... Jeff King
- [PATCH 06/12] server-info: fix blind pointer arithmetic Jeff King
- [PATCH 08/12] server-info: use strbuf to read old info/pack... Jeff King
- [PATCH 09/12] server-info: drop nr_alloc struct member Jeff King
- [PATCH 10/12] packfile.h: drop extern from function declara... Jeff King
- [PATCH 12/12] update_info_refs(): drop unused force paramet... Jeff King
- [PATCH 11/12] server-info: drop objdirlen pointer arithmeti... Jeff King
- Re: [PATCH 0/12] a rabbit hole of update-server-info fixes Junio C Hamano
- [PATCH v2 0/13] a rabbit hole of update-server-info (and mi... Jeff King
- [PATCH v2 01/13] packfile.h: drop extern from function... Jeff King
- Re: [PATCH v2 01/13] packfile.h: drop extern from ... Ramsay Jones
- Re: [PATCH v2 01/13] packfile.h: drop extern f... Jeff King
- Re: [PATCH v2 01/13] packfile.h: drop exte... Junio C Hamano
- Re: [PATCH v2 01/13] packfile.h: drop... Jeff King
- Re: [PATCH v2 01/13] packfile.h: drop exte... Junio C Hamano
- Re: [PATCH v2 01/13] packfile.h: drop... Jeff King
- [PATCH v2 03/13] t5319: fix bogus cat-file argument Jeff King
- [PATCH v2 02/13] pack-revindex: open index if necessar... Jeff King
- [PATCH v2 04/13] t5319: drop useless --buffer from cat... Jeff King
- [PATCH v2 05/13] midx: check both pack and index names... Jeff King
- Re: [PATCH v2 05/13] midx: check both pack and ind... René Scharfe

