Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bpg65-0004Gx-CD for pgsql-committers@arkaria.postgresql.org; Thu, 29 Sep 2016 18:30:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bpg64-0001ky-NP for pgsql-committers@arkaria.postgresql.org; Thu, 29 Sep 2016 18:30:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bpg63-0001jc-98 for pgsql-committers@postgresql.org; Thu, 29 Sep 2016 18:30:15 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bpg60-00054b-6Z for pgsql-committers@postgresql.org; Thu, 29 Sep 2016 18:30:14 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u8TIU5Ki019160; Thu, 29 Sep 2016 14:30:06 -0400 From: Tom Lane To: Peter Eisentraut cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Move fsync routines of initdb into src/common/ In-reply-to: References: Comments: In-reply-to Peter Eisentraut message dated "Thu, 29 Sep 2016 15:32:22 -0000" Date: Thu, 29 Sep 2016 14:30:05 -0400 Message-ID: <19159.1475173805@sss.pgh.pa.us> X-Pg-Spam-Score: -4.9 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Peter Eisentraut writes: > Move fsync routines of initdb into src/common/ This patch is giving me compiler warnings. file_utils.c: In function 'fsync_pgdata': file_utils.c:86: warning: passing argument 2 of 'walkdir' from incompatible pointer type file_utils.c:36: note: expected 'int (*)(const char *, bool, const char *)' but argument is of type 'void (*)(const char *, bool, const char *)' file_utils.c:88: warning: passing argument 2 of 'walkdir' from incompatible pointer type file_utils.c:36: note: expected 'int (*)(const char *, bool, const char *)' but argument is of type 'void (*)(const char *, bool, const char *)' file_utils.c:89: warning: passing argument 2 of 'walkdir' from incompatible pointer type file_utils.c:36: note: expected 'int (*)(const char *, bool, const char *)' but argument is of type 'void (*)(const char *, bool, const char *)' gcc version 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers