aboutsummaryrefslogtreecommitdiff
path: root/lib/libopenbsd
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libopenbsd')
-rw-r--r--lib/libopenbsd/compat/fgetwln.c1
-rw-r--r--lib/libopenbsd/db/btree/bt_open.c1
-rw-r--r--lib/libopenbsd/db/hash/hash_page.c2
-rw-r--r--lib/libopenbsd/gen/fts.c1
-rw-r--r--lib/libopenbsd/gen/glob.c1
-rw-r--r--lib/libopenbsd/gen/setmode.c1
-rw-r--r--lib/libopenbsd/gen/vis.c1
-rw-r--r--lib/libopenbsd/regex/regcomp.c1
-rw-r--r--lib/libopenbsd/regex/regexec.c1
9 files changed, 0 insertions, 10 deletions
diff --git a/lib/libopenbsd/compat/fgetwln.c b/lib/libopenbsd/compat/fgetwln.c
index c4f3425..c1c1d39 100644
--- a/lib/libopenbsd/compat/fgetwln.c
+++ b/lib/libopenbsd/compat/fgetwln.c
@@ -24,7 +24,6 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#define _GNU_SOURCE /* for reallocarry */
#include <stdlib.h>
#include <stdio.h>
#include <wchar.h>
diff --git a/lib/libopenbsd/db/btree/bt_open.c b/lib/libopenbsd/db/btree/bt_open.c
index a31639b..70fe2ec 100644
--- a/lib/libopenbsd/db/btree/bt_open.c
+++ b/lib/libopenbsd/db/btree/bt_open.c
@@ -41,7 +41,6 @@
*/
#define __NEED_OPENBSD_open
-#define _GNU_SOURCE /* for mkostemp */
#include <sys/stat.h>
diff --git a/lib/libopenbsd/db/hash/hash_page.c b/lib/libopenbsd/db/hash/hash_page.c
index 68246bb..8e273db 100644
--- a/lib/libopenbsd/db/hash/hash_page.c
+++ b/lib/libopenbsd/db/hash/hash_page.c
@@ -48,8 +48,6 @@
* open_temp
*/
-#define _GNU_SOURCE /* for mkostemp */
-
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
diff --git a/lib/libopenbsd/gen/fts.c b/lib/libopenbsd/gen/fts.c
index 12b9b5c..125a37f 100644
--- a/lib/libopenbsd/gen/fts.c
+++ b/lib/libopenbsd/gen/fts.c
@@ -29,7 +29,6 @@
* SUCH DAMAGE.
*/
-#define _GNU_SOURCE /* for reallocarray */
#include <sys/param.h> /* ALIGN */
#include <sys/stat.h>
diff --git a/lib/libopenbsd/gen/glob.c b/lib/libopenbsd/gen/glob.c
index 44df0b2..dafae84 100644
--- a/lib/libopenbsd/gen/glob.c
+++ b/lib/libopenbsd/gen/glob.c
@@ -56,7 +56,6 @@
* Number of matches in the current invocation of glob.
*/
-#define _GNU_SOURCE /* for reallocarray */
#include <sys/stat.h>
#include <ctype.h>
diff --git a/lib/libopenbsd/gen/setmode.c b/lib/libopenbsd/gen/setmode.c
index b9b1119..02a5a92 100644
--- a/lib/libopenbsd/gen/setmode.c
+++ b/lib/libopenbsd/gen/setmode.c
@@ -32,7 +32,6 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
-#define _GNU_SOURCE /* for reallocarray */
#include <sys/types.h>
#include <sys/stat.h>
diff --git a/lib/libopenbsd/gen/vis.c b/lib/libopenbsd/gen/vis.c
index c72f5af..4400c7b 100644
--- a/lib/libopenbsd/gen/vis.c
+++ b/lib/libopenbsd/gen/vis.c
@@ -28,7 +28,6 @@
* SUCH DAMAGE.
*/
-#define _GNU_SOURCE /* for reallocarray */
#include <sys/types.h>
#include <errno.h>
#include <ctype.h>
diff --git a/lib/libopenbsd/regex/regcomp.c b/lib/libopenbsd/regex/regcomp.c
index 41b0e68..19c86cc 100644
--- a/lib/libopenbsd/regex/regcomp.c
+++ b/lib/libopenbsd/regex/regcomp.c
@@ -34,7 +34,6 @@
* @(#)regcomp.c 8.5 (Berkeley) 3/20/94
*/
-#define _GNU_SOURCE /* for reallocarray */
#include <sys/types.h>
#include <stdio.h>
#include <string.h>
diff --git a/lib/libopenbsd/regex/regexec.c b/lib/libopenbsd/regex/regexec.c
index bb5d032..ed6a4b8 100644
--- a/lib/libopenbsd/regex/regexec.c
+++ b/lib/libopenbsd/regex/regexec.c
@@ -41,7 +41,6 @@
* macros that code uses. This lets the same code operate on two different
* representations for state sets.
*/
-#define _GNU_SOURCE /* for reallocarray */
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>