Skip to content

Commit 59c38ac

Browse files
committed
Replaced _BSD_SOURCE with _DEFAULT_SOURCE
Recent glibc versions warn about _BSD_SOURCE, while uClibc and musl support either feature test macro.
1 parent 7c9ff30 commit 59c38ac

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

initramfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#define _BSD_SOURCE
1+
#define _DEFAULT_SOURCE
22
#define _GNU_SOURCE
33

44
#include <sys/mount.h>

mininit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#define _BSD_SOURCE
1+
#define _DEFAULT_SOURCE
22
#define _GNU_SOURCE
33

44
#include <sys/mount.h>

syspart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#define _BSD_SOURCE
1+
#define _DEFAULT_SOURCE
22
#define _GNU_SOURCE
33

44
#include <errno.h>

0 commit comments

Comments
 (0)