$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)
