Received: from eggs.gnu.org ([140.186.70.92]:37505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTWEb-0000Ba-RE for qemu-devel@nongnu.org; Mon, 06 Jun 2011 05:36:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QTWEa-0003yS-6p for qemu-devel@nongnu.org; Mon, 06 Jun 2011 05:36:33 -0400 From: Markus Armbruster References: <1307246220-61006-1-git-send-email-cerbere@gmail.com> Date: Mon, 06 Jun 2011 11:36:26 +0200 In-Reply-To: <1307246220-61006-1-git-send-email-cerbere@gmail.com> (Alexandre Raymond's message of "Sat, 4 Jun 2011 23:57:00 -0400") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH] Correct and standardize header guards in all header files List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexandre Raymond Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org Alexandre Raymond writes: > As per ISO/IEC 9899, Section 7.1.3 on reserved identifiers, > identifiers starting with an underscore are reserved. > > Therefore: > 1) Rename all incorrect header guards > > While I'm at it: > 2) Standardize header guards to "#ifndef SOMETHING_H" Consistency is good. > 3) Repeat the header guard identifier after the closing "#endif" Such comments can help readers to navigate #if mazes. Not the case for header guards. Just noise.