summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2021-12-13 18:28:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2021-12-13 18:28:41 +0000
commited2ef8648646136913e278108edd41ea3ef74877 (patch)
tree80b19360c11185c64bed283b1f44c545ceb0ff9f /lib/libc
parented22057d9feaccfbd82b72ed735453415eb5ba6b (diff)
including sys/cdefs.h manually started as a result of netbsd trying to
macro-build a replacement for sccsid, and was done without any concern for namespace damage. Unfortunately this practice started infecting other code as others were unaware they didn't need the file. ok millert guenther
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/arch/aarch64/gen/fpgetround.c4
-rw-r--r--lib/libc/arch/aarch64/gen/fpgetsticky.c4
-rw-r--r--lib/libc/arch/aarch64/gen/fpsetround.c4
-rw-r--r--lib/libc/arch/aarch64/gen/fpsetsticky.c4
4 files changed, 4 insertions, 12 deletions
diff --git a/lib/libc/arch/aarch64/gen/fpgetround.c b/lib/libc/arch/aarch64/gen/fpgetround.c
index 046ebe473ea..058fa8fcd8c 100644
--- a/lib/libc/arch/aarch64/gen/fpgetround.c
+++ b/lib/libc/arch/aarch64/gen/fpgetround.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpgetround.c,v 1.2 2017/03/22 07:32:34 guenther Exp $ */
+/* $OpenBSD: fpgetround.c,v 1.3 2021/12/13 18:28:39 deraadt Exp $ */
/*
* Copyright (C) 2014 Andrew Turner
* All rights reserved.
@@ -26,8 +26,6 @@
*
*/
-#include <sys/cdefs.h>
-
#include <sys/types.h>
#include <ieeefp.h>
diff --git a/lib/libc/arch/aarch64/gen/fpgetsticky.c b/lib/libc/arch/aarch64/gen/fpgetsticky.c
index 852e97e550b..723f6156479 100644
--- a/lib/libc/arch/aarch64/gen/fpgetsticky.c
+++ b/lib/libc/arch/aarch64/gen/fpgetsticky.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpgetsticky.c,v 1.1 2017/01/11 18:09:24 patrick Exp $ */
+/* $OpenBSD: fpgetsticky.c,v 1.2 2021/12/13 18:28:39 deraadt Exp $ */
/*
* Copyright (C) 2014 Andrew Turner
* All rights reserved.
@@ -26,8 +26,6 @@
*
*/
-#include <sys/cdefs.h>
-
#include <sys/types.h>
#include <ieeefp.h>
diff --git a/lib/libc/arch/aarch64/gen/fpsetround.c b/lib/libc/arch/aarch64/gen/fpsetround.c
index ff36af0b1e3..0eba1541c6f 100644
--- a/lib/libc/arch/aarch64/gen/fpsetround.c
+++ b/lib/libc/arch/aarch64/gen/fpsetround.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpsetround.c,v 1.2 2017/03/22 07:32:34 guenther Exp $ */
+/* $OpenBSD: fpsetround.c,v 1.3 2021/12/13 18:28:39 deraadt Exp $ */
/*
* Copyright (C) 2014 Andrew Turner
* All rights reserved.
@@ -26,8 +26,6 @@
*
*/
-#include <sys/cdefs.h>
-
#include <sys/types.h>
#include <ieeefp.h>
diff --git a/lib/libc/arch/aarch64/gen/fpsetsticky.c b/lib/libc/arch/aarch64/gen/fpsetsticky.c
index 7a4994f8220..592b777b739 100644
--- a/lib/libc/arch/aarch64/gen/fpsetsticky.c
+++ b/lib/libc/arch/aarch64/gen/fpsetsticky.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpsetsticky.c,v 1.1 2017/01/11 18:09:24 patrick Exp $ */
+/* $OpenBSD: fpsetsticky.c,v 1.2 2021/12/13 18:28:39 deraadt Exp $ */
/*
* Copyright (C) 2014 Andrew Turner
* All rights reserved.
@@ -26,8 +26,6 @@
*
*/
-#include <sys/cdefs.h>
-
#include <sys/types.h>
#include <ieeefp.h>