From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Sun, 5 Jun 2011 22:40:46 +0200 References: <1307179560-24626-1-git-send-email-sven@narfation.org> In-Reply-To: <1307179560-24626-1-git-send-email-sven@narfation.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201106052240.46253.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Use enums for related constants Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking On Saturday, June 04, 2011 11:26:00 AM Sven Eckelmann wrote: > CodingStyle "Chapter 12: Macros, Enums and RTL" recommends to use enums > for several related constants. Internal states can be used without > defining the actual value, but all values which are visible to the > outside must be defined as before. Normal values are assigned as usual > and flags are defined by shifts of a bit. Applied in revision aa623ef. Thanks, Marek