summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-02-26 21:18:50 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-02-26 21:18:50 +0000
commit9c4f61d4dd58ee47e14e5f9c8f73bf40fae508f0 (patch)
treec6f0f14f95ce5b96bf1858fad3d7bb54d00e7633 /sys
parent6edb99ea5a6b1ae82ae249dc60c1114b11c2441e (diff)
From NetBSD: remove local strncmp (fixes #2115)
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amiga/dev/ite.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/sys/arch/amiga/dev/ite.c b/sys/arch/amiga/dev/ite.c
index 423ea986124..6a0720ec75b 100644
--- a/sys/arch/amiga/dev/ite.c
+++ b/sys/arch/amiga/dev/ite.c
@@ -1,4 +1,5 @@
-/* $NetBSD: ite.c,v 1.32.2.2 1995/10/20 11:01:08 chopps Exp $ */
+/* $OpenBSD: ite.c,v 1.3 1996/02/26 21:18:49 niklas Exp $ */
+/* $NetBSD: ite.c,v 1.35 1996/02/24 07:44:06 chopps Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -1327,17 +1328,6 @@ ite_zargnum (ip)
return n; /* don't "n ? n : 1" here, <CSI>0m != <CSI>1m ! */
}
-inline static int
-strncmp (a, b, l)
- const char *a, *b;
- int l;
-{
- for (;l--; a++, b++)
- if (*a != *b)
- return *a - *b;
- return 0;
-}
-
void
ite_putstr(s, len, dev)
const char *s;