From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 66764 invoked by alias); 8 Dec 2016 15:45:24 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 66706 invoked by uid 89); 8 Dec 2016 15:45:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=Hx-languages-length:517, our X-HELO: simark.ca Received: from simark.ca (HELO simark.ca) (158.69.221.121) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 08 Dec 2016 15:45:18 +0000 Received: by simark.ca (Postfix, from userid 33) id 39E901E18F; Thu, 8 Dec 2016 10:45:10 -0500 (EST) To: gdb-patches@sourceware.org Subject: extern modifier on function declarations X-PHP-Originating-Script: 33:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 08 Dec 2016 15:45:00 -0000 From: Simon Marchi Message-ID: <9c9c81880b49120bf90766fce93503ac@simark.ca> X-Sender: simon.marchi@polymtl.ca User-Agent: Roundcube Webmail/1.2.3 X-IsSubscribed: yes X-SW-Source: 2016-12/txt/msg00212.txt.bz2 Hi gdb-patches, Our coding style currently requires using the "extern" keyword on function declarations. How relevant is this today? I am not good at reading standards, but it is my impression that in C++, functions are always extern unless they are declared static. I am sure some people here know that answer already. If it's not useful anymore, I would suggest dropping it for future patches. It doesn't change much, just a bit less verbosity and line wrapping. Simon