]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Apply Magnus Hagander's followup patch to correct
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Jan 1999 01:45:42 +0000 (01:45 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Jan 1999 01:45:42 +0000 (01:45 +0000)
out-of-sync routine prototypes ... the system doesn't compile without this ...

src/include/libpq/pqcomm.h

index 15c123e4b8d501d096c4f871f37456fef00ff397..c246fdae99fd8acb91341cb4bf438e540ab3de6d 100644 (file)
@@ -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 */