On Wed, Apr 10, 2019 at 12:08:45AM +0900, Junio C Hamano wrote:
> Jeff King writes:
>
> > On Fri, Apr 05, 2019 at 08:19:30PM +0100, Ramsay Jones wrote:
> >
> >> > /* global flag to enable extra checks when accessing packed objects */
> >> > -extern int do_check_packed_object_crc;
> >> > +int do
Jeff King writes:
> On Fri, Apr 05, 2019 at 08:19:30PM +0100, Ramsay Jones wrote:
>
>> > /* 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
On Mon, Apr 08, 2019 at 02:13:17PM +0900, Junio C Hamano wrote:
> Jeff King writes:
>
> > On Fri, Apr 05, 2019 at 08:19:30PM +0100, Ramsay Jones wrote:
> >
> >> > /* global flag to enable extra checks when accessing packed objects */
> >> > -extern int do_check_packed_object_crc;
> >> > +int do
Jeff King writes:
> On Fri, Apr 05, 2019 at 08:19:30PM +0100, Ramsay Jones wrote:
>
>> > /* 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
On Fri, Apr 05, 2019 at 08:19:30PM +0100, Ramsay Jones wrote:
> > /* 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 fren
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
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.
Signed-off-by: Jeff King
---
This is bumped to the front in v2 since we
7 matches
Mail list logo