summaryrefslogtreecommitdiff
path: root/sys/lib/libsa/open.c
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-02-06 02:56:57 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-02-06 02:56:57 +0000
commit40ab3310e733696c3abaa3ad2934c9975275dfca (patch)
treebd5b3f9a272ad6516701b4a983eccf9e9e3fe1fa /sys/lib/libsa/open.c
parent9e2c2dbcee4a3ad77a401ec09f3cc6ae4c030520 (diff)
Add libz and make libsa aware of it. From NetBSD.
Diffstat (limited to 'sys/lib/libsa/open.c')
-rw-r--r--sys/lib/libsa/open.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/lib/libsa/open.c b/sys/lib/libsa/open.c
index 99cc9100ea6..f98f2a5f5ae 100644
--- a/sys/lib/libsa/open.c
+++ b/sys/lib/libsa/open.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: open.c,v 1.5 1996/12/08 15:15:54 niklas Exp $ */
+/* $OpenBSD: open.c,v 1.6 1997/02/06 02:56:46 downsj Exp $ */
/* $NetBSD: open.c,v 1.12 1996/09/30 16:01:21 ws Exp $ */
/*-
@@ -74,7 +74,11 @@ struct open_file files[SOPEN_MAX];
*/
int
+#ifndef __INTERNAL_LIBSA_CREAD
open(fname, mode)
+#else
+oopen(fname, mode)
+#endif
const char *fname;
int mode;
{