diff options
author | deraadt <> | 2012-12-05 23:20:07 +0000 |
---|---|---|
committer | deraadt <> | 2012-12-05 23:20:07 +0000 |
commit | 25c2ec6a9d58c93362eb244b4acbcc94432f2b1b (patch) | |
tree | 44e41e466b090b94ef946604074721b3304bfac5 | |
parent | a322f2b0cb1e30b2bb947b7b1c785175f0c6c437 (diff) | |
download | openbsd-25c2ec6a9d58c93362eb244b4acbcc94432f2b1b.tar.gz openbsd-25c2ec6a9d58c93362eb244b4acbcc94432f2b1b.tar.bz2 openbsd-25c2ec6a9d58c93362eb244b4acbcc94432f2b1b.zip |
Remove excessive sys/cdefs.h inclusion
ok guenther millert kettenis
-rw-r--r-- | src/lib/libc/stdlib/cfree.c | 3 | ||||
-rw-r--r-- | src/regress/lib/libc/regex/t_exhaust.c | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/libc/stdlib/cfree.c b/src/lib/libc/stdlib/cfree.c index 373c7ff75d..acf6d1c8ac 100644 --- a/src/lib/libc/stdlib/cfree.c +++ b/src/lib/libc/stdlib/cfree.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cfree.c,v 1.5 2005/08/08 08:05:36 espie Exp $ */ | 1 | /* $OpenBSD: cfree.c,v 1.6 2012/12/05 23:20:01 deraadt Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com> | 4 | * Copyright (c) 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com> |
@@ -25,7 +25,6 @@ | |||
25 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | #include <sys/cdefs.h> | ||
29 | #include <stdlib.h> | 28 | #include <stdlib.h> |
30 | 29 | ||
31 | #ifdef __indr_reference | 30 | #ifdef __indr_reference |
diff --git a/src/regress/lib/libc/regex/t_exhaust.c b/src/regress/lib/libc/regex/t_exhaust.c index e4d4e4f5d7..58ac8007f2 100644 --- a/src/regress/lib/libc/regex/t_exhaust.c +++ b/src/regress/lib/libc/regex/t_exhaust.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: t_exhaust.c,v 1.2 2011/11/06 15:47:07 otto Exp $ */ | 1 | /* $OpenBSD: t_exhaust.c,v 1.3 2012/12/05 23:20:07 deraadt Exp $ */ |
2 | /* $NetBSD: t_exhaust.c,v 1.2 2011/10/21 00:41:34 christos Exp $ */ | 2 | /* $NetBSD: t_exhaust.c,v 1.2 2011/10/21 00:41:34 christos Exp $ */ |
3 | 3 | ||
4 | /*- | 4 | /*- |
@@ -37,8 +37,6 @@ | |||
37 | * POSSIBILITY OF SUCH DAMAGE. | 37 | * POSSIBILITY OF SUCH DAMAGE. |
38 | */ | 38 | */ |
39 | 39 | ||
40 | #include <sys/cdefs.h> | ||
41 | |||
42 | #include <stdio.h> | 40 | #include <stdio.h> |
43 | #include <regex.h> | 41 | #include <regex.h> |
44 | #include <string.h> | 42 | #include <string.h> |