summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-02-17 08:58:51 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-02-17 08:58:51 +0000
commit71b08e281c8c18df77c35404206d06ee3fec0915 (patch)
tree461b8679cd9f86824647cdcd4e562fc2e3069a6c /usr.bin
parent62cbfcdaa7a98417ffff6793d75d9df6927e58fc (diff)
__OpenBSD__
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tn3270/general/general.h6
-rw-r--r--usr.bin/xlint/llib/llib-lstdc4
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/tn3270/general/general.h b/usr.bin/tn3270/general/general.h
index 4574e3a22f8..1fbe53c107b 100644
--- a/usr.bin/tn3270/general/general.h
+++ b/usr.bin/tn3270/general/general.h
@@ -1,4 +1,4 @@
-/* * $OpenBSD: general.h,v 1.5 1996/08/22 00:34:41 deraadt Exp $*/
+/* * $OpenBSD: general.h,v 1.6 1997/02/17 08:58:46 deraadt Exp $*/
/*-
* Copyright (c) 1988 The Regents of the University of California.
* All rights reserved.
@@ -64,6 +64,6 @@
} \
}
#define memcmp(s1,s2,n) bcmp(s1,s2,n)
-#else /* !(defined(unix) && !defined(__NetBSD__)) */
+#else /* !(defined(unix) && !(defined(__NetBSD__) || defined(__OpenBSD__))) */
#include <string.h>
-#endif /* !(defined(unix) && !defined(__NetBSD__)) */
+#endif /* !(defined(unix) && !(defined(__NetBSD__) || defined(__OpenBSD__))) */
diff --git a/usr.bin/xlint/llib/llib-lstdc b/usr.bin/xlint/llib/llib-lstdc
index 15bc2ccc1dd..b75589b72d5 100644
--- a/usr.bin/xlint/llib/llib-lstdc
+++ b/usr.bin/xlint/llib/llib-lstdc
@@ -1,4 +1,4 @@
-/* $OpenBSD: llib-lstdc,v 1.2 1996/06/26 05:44:28 deraadt Exp $ */
+/* $OpenBSD: llib-lstdc,v 1.3 1997/02/17 08:58:50 deraadt Exp $ */
/* $NetBSD: llib-lstdc,v 1.3 1995/07/03 21:39:28 cgd Exp $ */
/*
@@ -55,7 +55,7 @@
/*
* assert.h
*/
-#ifdef __NetBSD__
+#if defined(__NetBSD__) || defined(__OpenBSD__)
void (__assert)(const char *expression, int line, const char *file);
#else
void (assert)(int expression);