Received: from eggs.gnu.org ([2001:4830:134:3::10]:33693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr6lN-0001ei-01 for qemu-devel@nongnu.org; Tue, 27 Oct 2015 12:06:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zr6lI-0002Cv-9a for qemu-devel@nongnu.org; Tue, 27 Oct 2015 12:06:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40791) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr6lI-0002Ca-5H for qemu-devel@nongnu.org; Tue, 27 Oct 2015 12:06:12 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 9893E19D4D0 for ; Tue, 27 Oct 2015 16:06:11 +0000 (UTC) From: Markus Armbruster References: <1444921716-9511-1-git-send-email-armbru@redhat.com> <1445957481-21059-1-git-send-email-armbru@redhat.com> <562F93F1.1060808@redhat.com> Date: Tue, 27 Oct 2015 17:06:09 +0100 In-Reply-To: <562F93F1.1060808@redhat.com> (Eric Blake's message of "Tue, 27 Oct 2015 09:10:41 -0600") Message-ID: <87ziz41eku.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 4.5/7] glib: add compatibility interface for g_hash_table_add() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: amit.shah@redhat.com, marcandre.lureau@redhat.com, qemu-devel@nongnu.org Eric Blake writes: > On 10/27/2015 08:51 AM, Markus Armbruster wrote: >> The next commit will use it. >> >> Signed-off-by: Markus Armbruster >> --- >> include/glib-compat.h | 7 +++++++ >> 1 file changed, 7 insertions(+) > > One nit: > >> >> diff --git a/include/glib-compat.h b/include/glib-compat.h >> index fb25f43..5185630 100644 >> --- a/include/glib-compat.h >> +++ b/include/glib-compat.h >> @@ -165,6 +165,13 @@ static inline GThread *g_thread_new(const char *name, >> #define CompatGCond GCond >> #endif /* glib 2.31 */ >> >> +#if !GLIB_CHECK_VERSION(2, 32, 0) >> +static inline gboolean g_hash_table_add (GHashTable *hash_table, >> gpointer key) > > Drop the space before ( > > Reviewed-by: Eric Blake Done. Thanks!