From 4e34686a36a350d6097bbbd983ec3f823aacf85c Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Sun, 17 Jan 1999 01:45:42 +0000
Subject: [PATCH] Apply Magnus Hagander's followup patch to correct out-of-sync
 routine prototypes ... the system doesn't compile without this ...

---
 src/include/libpq/pqcomm.h | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/include/libpq/pqcomm.h b/src/include/libpq/pqcomm.h
index 15c123e4b8d..c246fdae99f 100644
--- a/src/include/libpq/pqcomm.h
+++ b/src/include/libpq/pqcomm.h
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: pqcomm.h,v 1.30 1999/01/12 12:49:52 scrappy Exp $
+ * $Id: pqcomm.h,v 1.31 1999/01/17 01:45:42 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -153,16 +153,16 @@ typedef struct CancelRequestPacket
 
 
 /* in pqcomprim.c */
-int			pqGetShort(int *, FILE *);
-int			pqGetLong(int *, FILE *);
-int			pqGetNBytes(char *, size_t, FILE *);
-int			pqGetString(char *, size_t, FILE *);
-int			pqGetByte(FILE *);
-
-int			pqPutShort(int, FILE *);
-int			pqPutLong(int, FILE *);
-int			pqPutNBytes(const char *, size_t, FILE *);
-int			pqPutString(const char *, FILE *);
-int			pqPutByte(int, FILE *);
+int			pqGetShort(int *);
+int			pqGetLong(int *);
+int			pqGetNBytes(char *, size_t);
+int			pqGetString(char *, size_t);
+int			pqGetByte(void);
+
+int			pqPutShort(int);
+int			pqPutLong(int);
+int			pqPutNBytes(const char *, size_t);
+int			pqPutString(const char *);
+int			pqPutByte(int);
 
 #endif	 /* PQCOMM_H */
-- 
GitLab