move O_ACCMODE into ../dist/sysv.h
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Fri, 22 Feb 1991 09:12:46 +0000 (01:12 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Fri, 22 Feb 1991 09:12:46 +0000 (01:12 -0800)
SCCS-vsn: lib/libc/db/hash/hash.c 5.5

usr/src/lib/libc/db/hash/hash.c

index 9647f51..b9dd989 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)hash.c     5.4 (Berkeley) %G%";
+static char sccsid[] = "@(#)hash.c     5.5 (Berkeley) %G%";
 #endif /* LIBC_SCCS and not lint */
 
 #include <sys/param.h>
 #endif /* LIBC_SCCS and not lint */
 
 #include <sys/param.h>
@@ -21,11 +21,6 @@ static char sccsid[] = "@(#)hash.c   5.4 (Berkeley) %G%";
 #include "hash.h"
 #include <string.h>
 
 #include "hash.h"
 #include <string.h>
 
-/* For systems that do not have O_ACCMODE */
-#ifndef O_ACCMODE
-#define O_ACCMODE       (O_RDONLY|O_WRONLY|O_RDWR)
-#endif
-
 /* Fast arithmetic, relying on powers of 2, */
 
 #define MOD(x,y)               ((x) & ((y)-1))
 /* Fast arithmetic, relying on powers of 2, */
 
 #define MOD(x,y)               ((x) & ((y)-1))