summaryrefslogtreecommitdiff
path: root/databases/postgresql/patches/patch-ae
blob: 90431794fb9e414a296891c5d667ae2d1939be50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
$NetBSD: patch-ae,v 1.12 2000/05/20 19:34:20 jlam Exp $

--- interfaces/odbc/psqlodbc.c.orig	Mon Dec 28 20:49:57 1998
+++ interfaces/odbc/psqlodbc.c	Sat May 20 00:14:18 2000
@@ -33,8 +33,14 @@
 
 GLOBAL_VALUES globals;
 
-BOOL _init(void);
-BOOL _fini(void);
+#ifdef linux
+#  define STATIC
+#else
+#  define STATIC	static
+#endif
+
+STATIC BOOL _init(void);
+STATIC BOOL _fini(void);
 RETCODE SQL_API SQLDummyOrdinal(void);
 
 #ifdef WIN32
@@ -98,7 +104,7 @@
 #endif
 
 /* These two functions do shared library initialziation on UNIX, well at least
- * on Linux. I don't know about other systems.
+ * on Linux and some of the BSDs. I don't know about other systems.
  */
 BOOL
 _init(void)