From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38864) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHXXO-0005QN-3u for qemu-devel@nongnu.org; Sat, 31 Jan 2015 07:52:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHXXK-0001Jm-TO for qemu-devel@nongnu.org; Sat, 31 Jan 2015 07:52:34 -0500 Received: from mail-la0-f50.google.com ([209.85.215.50]:53878) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHXXK-0001IJ-Mn for qemu-devel@nongnu.org; Sat, 31 Jan 2015 07:52:30 -0500 Received: by mail-la0-f50.google.com with SMTP id hs14so28640396lab.9 for ; Sat, 31 Jan 2015 04:52:29 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <54CB909F.9010506@imgtec.com> From: Peter Maydell Date: Sat, 31 Jan 2015 12:52:09 +0000 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH v2 3/7] softfloat: Convert `*_default_nan' variables into inline functions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Maciej W. Rozycki" Cc: Leon Alrae , QEMU Developers , Aurelien Jarno , Thomas Schwinge On 31 January 2015 at 11:56, Maciej W. Rozycki wrote: > On Fri, 30 Jan 2015, Peter Maydell wrote: > >> > Hmm, so perhaps my idea for a later improvement: >> > >> >> Eventually we might want to move the new inline functions into a >> >> separate header to be included from softfloat.h instead of softfloat.c, >> >> but let's make changes one step at a time. >> > >> > will actually have to be made right away. I suspect GCC is more liberal >> > here due to its convoluted extern/static/inline semantics history. >> > Sigh... >> >> I would suggest just using "static inline", as we do elsewhere >> for little utility functions. > > Yes, that's exactly what they'd have to be moved into a separate header > for. Why do they need to be moved into a different header to do this? I must be missing something... -- PMM