aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Henderson <bryanh@giraffe.netgate.net>1997-01-06 10:11:11 +0000
committerBryan Henderson <bryanh@giraffe.netgate.net>1997-01-06 10:11:11 +0000
commit14800311d2315374fe6e5440cb7025426ff76e5d (patch)
tree9a9d7914f43c808c01ed4d6a9cee9df63ca1b39e
parent2091345297096055ead9c55ba608ffd0c2eb3718 (diff)
downloadpostgresql-14800311d2315374fe6e5440cb7025426ff76e5d.tar.gz
postgresql-14800311d2315374fe6e5440cb7025426ff76e5d.zip
Fix mismatching prototype (const int vs int)
-rw-r--r--src/interfaces/libpq/libpq-fe.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq/libpq-fe.h b/src/interfaces/libpq/libpq-fe.h
index 1a494301e1d..8d9182ac3ea 100644
--- a/src/interfaces/libpq/libpq-fe.h
+++ b/src/interfaces/libpq/libpq-fe.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: libpq-fe.h,v 1.16 1996/12/26 23:27:16 bryanh Exp $
+ * $Id: libpq-fe.h,v 1.17 1997/01/06 10:11:11 bryanh Exp $
*
*-------------------------------------------------------------------------
*/
@@ -273,7 +273,7 @@ extern int pqGetc(FILE* stream, FILE *debug);
extern int pqGetInt(int* result, int bytes, FILE* stream, FILE *debug );
/* put a n-byte integer into the stream */
/* returns 0 if successful */
-extern int pqPutInt(int n, int bytes, FILE* stream, FILE *debug );
+extern int pqPutInt(const int n, int bytes, FILE* stream, FILE *debug );
extern void pqFlush(FILE* stream, FILE* debug);
/* === in fe-lobj.c === */