summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorBruce Momjian2003-09-13 14:49:51 +0000
committerBruce Momjian2003-09-13 14:49:51 +0000
commitb041d3e3a17331f9fc76509a577c6ed63067aded (patch)
tree21574080f45d78c1de8a8bb128f8c35474cf18de /src/include
parent509a9cd3f922c38c19d35e81bb1427d663ba4aba (diff)
Attempt threading in this order:
* use non-*_r function names if they are all thread-safe * (NEED_REENTRANT_FUNCS=no) * use *_r functions if they exist (configure test) * do our own locking and copying of non-threadsafe functions New to this patch is the last option.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/port.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/include/port.h b/src/include/port.h
index 6b801ba424a..d77dd652f15 100644
--- a/src/include/port.h
+++ b/src/include/port.h
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: port.h,v 1.13 2003/09/05 17:43:39 momjian Exp $
+ * $Id: port.h,v 1.14 2003/09/13 14:49:51 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -114,11 +114,11 @@ extern char *pqStrerror(int errnum, char *strerrbuf, size_t buflen);
#ifndef WIN32
extern int pqGetpwuid(uid_t uid, struct passwd * resultbuf, char *buffer,
- size_t buflen, struct passwd ** result);
+ size_t buflen, struct passwd **result);
#endif
extern int pqGethostbyname(const char *name,
- struct hostent * resbuf,
- char *buf, size_t buflen,
- struct hostent ** result,
+ struct hostent *resultbuf,
+ char *buffer, size_t buflen,
+ struct hostent **result,
int *herrno);