From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Wed, 11 Sep 2013 18:56:28 +0800 Message-ID: <1472420.0v00foOB9B@diderot> In-Reply-To: <1378847522-13776-4-git-send-email-sven@narfation.org> References: <1378847522-13776-1-git-send-email-sven@narfation.org> <1378847522-13776-4-git-send-email-sven@narfation.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [B.A.T.M.A.N.] [PATCH 03/11] batctl: Avoid assigning const buffer to non-const pointer 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: b.a.t.m.a.n@lists.open-mesh.org Cc: Sven Eckelmann On Tuesday, September 10, 2013 11:11:54 PM Sven Eckelmann wrote: > Strings in C are tried to be saved in the .rodata by the compiler/linker. > This section is readonly as the name suggests. Pointer to these strings > should therefore be const. > > Signed-off-by: Sven Eckelmann > --- > functions.c | 8 +++++--- > functions.h | 5 +++-- > 2 files changed, 8 insertions(+), 5 deletions(-) Applied in revision 55509e5. Thanks, Marek