summaryrefslogtreecommitdiff
path: root/security/skip/files/patch-aw
blob: 536aac0d22033f512979a2908a5e9ed3c463ee78 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff -ur --unidirectional-new-file skipsrc-1.0.orig/libdb/PORT/freebsd2.1/include/compat.h skipsrc-1.0/libdb/PORT/freebsd2.1/include/compat.h
--- skipsrc-1.0.orig/libdb/PORT/freebsd2.1/include/compat.h	Fri Oct 25 13:12:04 1996
+++ skipsrc-1.0/libdb/PORT/freebsd2.1/include/compat.h	Tue Dec  9 11:24:35 1997
@@ -125,13 +125,6 @@
 #define	bcopy(a, b, n)		memmove(b, a, n)
 #endif
 
-#if defined(BSD) || defined(BSD4_3)
-#define	strchr(a, b)		index(a, b)
-#define	strrchr(a, b)		rindex(a, b)
-#define	memcmp(a, b, n)		bcmp(a, b, n)
-#define	memmove(a, b, n)	bcopy(b, a, n)
-#endif
-
 /*
  * 32-bit machine.  The db routines are theoretically independent of
  * the size of u_shorts and u_longs, but I don't know that anyone has