Module Name: src
Committed By: christos
Date: Wed Sep 24 13:18:52 UTC 2014
Modified Files:
src/lib/libc/gen: getcap.c
src/lib/libc/hash: hashhl.c
src/lib/libc/md: mdXhl.c
Log Message:
undo, the right place for this is compat_defs.h
To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/lib/libc/gen/getcap.c
cvs rdiff -u -r1.6 -r1.7 src/lib/libc/hash/hashhl.c
cvs rdiff -u -r1.12 -r1.13 src/lib/libc/md/mdXhl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/gen/getcap.c
diff -u src/lib/libc/gen/getcap.c:1.55 src/lib/libc/gen/getcap.c:1.56
--- src/lib/libc/gen/getcap.c:1.55 Wed Sep 24 03:53:06 2014
+++ src/lib/libc/gen/getcap.c Wed Sep 24 09:18:52 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: getcap.c,v 1.55 2014/09/24 07:53:06 he Exp $ */
+/* $NetBSD: getcap.c,v 1.56 2014/09/24 13:18:52 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)getcap.c 8.3 (Berkeley) 3/25/94";
#else
-__RCSID("$NetBSD: getcap.c,v 1.55 2014/09/24 07:53:06 he Exp $");
+__RCSID("$NetBSD: getcap.c,v 1.56 2014/09/24 13:18:52 christos Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -65,10 +65,6 @@ __RCSID("$NetBSD: getcap.c,v 1.55 2014/0
#include <string.h>
#include <unistd.h>
-#ifndef O_CLOEXEC /* For tools, as in NetBSD 5.2 or earlier... */
-#define O_CLOEXEC 0
-#endif
-
#if defined(__weak_alias) && !defined(SMALL)
__weak_alias(cgetcap,_cgetcap)
__weak_alias(cgetclose,_cgetclose)
Index: src/lib/libc/hash/hashhl.c
diff -u src/lib/libc/hash/hashhl.c:1.6 src/lib/libc/hash/hashhl.c:1.7
--- src/lib/libc/hash/hashhl.c:1.6 Wed Sep 24 03:53:06 2014
+++ src/lib/libc/hash/hashhl.c Wed Sep 24 09:18:52 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: hashhl.c,v 1.6 2014/09/24 07:53:06 he Exp $ */
+/* $NetBSD: hashhl.c,v 1.7 2014/09/24 13:18:52 christos Exp $ */
/*
* ----------------------------------------------------------------------------
@@ -60,10 +60,6 @@ WA(FNPREFIX(Data),CONCAT(_,FNPREFIX(Data
#define MIN(x,y) ((x)<(y)?(x):(y))
#endif /* !MIN */
-#ifndef O_CLOEXEC /* For tools, as in NetBSD 5.2 or earlier... */
-#define O_CLOEXEC 0
-#endif
-
char *
FNPREFIX(End)(HASH_CTX *ctx, char *buf)
{
Index: src/lib/libc/md/mdXhl.c
diff -u src/lib/libc/md/mdXhl.c:1.12 src/lib/libc/md/mdXhl.c:1.13
--- src/lib/libc/md/mdXhl.c:1.12 Wed Sep 24 03:53:07 2014
+++ src/lib/libc/md/mdXhl.c Wed Sep 24 09:18:52 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: mdXhl.c,v 1.12 2014/09/24 07:53:07 he Exp $ */
+/* $NetBSD: mdXhl.c,v 1.13 2014/09/24 13:18:52 christos Exp $ */
/*
* ----------------------------------------------------------------------------
@@ -42,11 +42,6 @@ WA(MDNAME(Data),CONCAT(_,MDNAME(Data)))
#include <stdlib.h>
#include <unistd.h>
-#ifndef O_CLOEXEC /* For tools, as in NetBSD 5.2 or earlier... */
-#define O_CLOEXEC 0
-#endif
-
-
char *
MDNAME(End)(MDNAME(_CTX) *ctx, char *buf)
{