From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-4.0 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id 199D920248 for ; Fri, 5 Apr 2019 19:25:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731659AbfDETZh (ORCPT ); Fri, 5 Apr 2019 15:25:37 -0400 Received: from cloud.peff.net ([104.130.231.41]:48964 "HELO cloud.peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1731604AbfDETZh (ORCPT ); Fri, 5 Apr 2019 15:25:37 -0400 Received: (qmail 13829 invoked by uid 109); 5 Apr 2019 19:25:37 -0000 Received: from Unknown (HELO peff.net) (10.0.1.2) by cloud.peff.net (qpsmtpd/0.94) with SMTP; Fri, 05 Apr 2019 19:25:36 +0000 Authentication-Results: cloud.peff.net; auth=none Received: (qmail 29171 invoked by uid 111); 5 Apr 2019 19:26:03 -0000 Received: from sigill.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.7) by peff.net (qpsmtpd/0.94) with (ECDHE-RSA-AES256-GCM-SHA384 encrypted) SMTP; Fri, 05 Apr 2019 15:26:03 -0400 Authentication-Results: peff.net; auth=none Received: by sigill.intra.peff.net (sSMTP sendmail emulation); Fri, 05 Apr 2019 15:25:35 -0400 Date: Fri, 5 Apr 2019 15:25:35 -0400 From: Jeff King To: Ramsay Jones Cc: git@vger.kernel.org, =?utf-8?B?UmVuw6k=?= Scharfe , SZEDER =?utf-8?B?R8OhYm9y?= Subject: Re: [PATCH v2 01/13] packfile.h: drop extern from function declarations Message-ID: <20190405192534.GA4496@sigill.intra.peff.net> References: <20190405180306.GA21113@sigill.intra.peff.net> <20190405180340.GA32243@sigill.intra.peff.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org 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 frenzy of warnings! :-D > > [You didn't use a global s/extern// by any chance?] Oh my. I did look at each one, but probably via replace-and-confirm in vim. I don't know how I managed to botch that one so badly. -Peff