OSDN Git Service

Remove use of "bool", which user program may not have defined. This .h file
authorBryan Henderson <bryanh@giraffe.netgate.net>
Thu, 26 Dec 1996 23:28:27 +0000 (23:28 +0000)
committerBryan Henderson <bryanh@giraffe.netgate.net>
Thu, 26 Dec 1996 23:28:27 +0000 (23:28 +0000)
gets included by libpq-fe.h, and thus is part of the API.

src/include/libpq/pqcomm.h

index 6ebc6df..4f9a7b3 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: pqcomm.h,v 1.5 1996/11/05 07:41:13 scrappy Exp $
+ * $Id: pqcomm.h,v 1.6 1996/12/26 23:28:27 bryanh Exp $
  *
  * NOTES
  *    Some of this should move to libpq.h
@@ -121,9 +121,9 @@ extern int PQAsyncNotifyWaiting;
 /*
  * prototypes for functions in pqpacket.c
  */
-extern int PacketReceive(Port *port, PacketBuf *buf, bool nonBlocking);
+extern int PacketReceive(Port *port, PacketBuf *buf, char nonBlocking);
 extern int PacketSend(Port *port, PacketBuf *buf,
-                     PacketLen len, bool nonBlocking);
+                     PacketLen len, char nonBlocking);
 /* extern PacketBuf* StartupInfo2PacketBuf(StartupInfo*); */
 /* extern StartupInfo* PacketBuf2StartupInfo(PacketBuf*); */