[patch] Duplicated pq_sendfloat4/8 prototypes

Started by Christoph Bergover 7 years ago2 messages
#1Christoph Berg
myon@debian.org
1 attachment(s)

The pq_sendfloat4 and 8 prototypes are duplicated.

Christoph

Attachments:

pq_sendfloat_duplicatestext/plain; charset=us-asciiDownload
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.
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Christoph Berg (#1)
Re: [patch] Duplicated pq_sendfloat4/8 prototypes

Christoph Berg <myon@debian.org> writes:

The pq_sendfloat4 and 8 prototypes are duplicated.

Yup. Pushed, thanks!

regards, tom lane