Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fpcbf-0002Sq-S9 for pgsql-hackers@arkaria.postgresql.org; Tue, 14 Aug 2018 16:55:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fpcbe-0002zi-AZ for pgsql-hackers@arkaria.postgresql.org; Tue, 14 Aug 2018 16:55:42 +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.89) (envelope-from ) id 1fpcbe-0002zb-40 for pgsql-hackers@lists.postgresql.org; Tue, 14 Aug 2018 16:55:42 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fpcbb-0001hx-Ic for pgsql-hackers@postgresql.org; Tue, 14 Aug 2018 16:55:41 +0000 Received: from msg.df7cb.de (port-92-202-85-152.dynamic.qsc.de [92.202.85.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 41qdyK4dCjz3DyF for ; Tue, 14 Aug 2018 18:55:37 +0200 (CEST) Date: Tue, 14 Aug 2018 18:55:37 +0200 From: Christoph Berg To: PostgreSQL Hackers Subject: [patch] Duplicated pq_sendfloat4/8 prototypes Message-ID: <20180814165536.GB21152@msg.df7cb.de> Mail-Followup-To: Christoph Berg , PostgreSQL Hackers MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8t9RHnE3ZwKMSgU+" Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline The pq_sendfloat4 and 8 prototypes are duplicated. Christoph --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=pq_sendfloat_duplicates diff --git a/src/include/libpq/pqformat.h b/src/include/libpq/pqformat.h index 6acb2e8de0..f0337325bb 100644 --- a/src/include/libpq/pqformat.h +++ b/src/include/libpq/pqformat.h @@ -31,9 +31,6 @@ extern void pq_send_ascii_string(StringInfo buf, const char *str); extern void pq_sendfloat4(StringInfo buf, float4 f); extern void pq_sendfloat8(StringInfo buf, float8 f); -extern void pq_sendfloat4(StringInfo buf, float4 f); -extern void pq_sendfloat8(StringInfo buf, float8 f); - /* * Append a [u]int8 to a StringInfo buffer, which already has enough space * preallocated. --8t9RHnE3ZwKMSgU+--