From: Felipe Balbi Date: Tue, 17 Jan 2017 13:04:07 +0000 (+0200) Subject: tools: usb: ffs-test: switch to _DEFAULT_SOURCE X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5abb9b91e8e5e824aa781334f6e4945fd33fcfa8;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git tools: usb: ffs-test: switch to _DEFAULT_SOURCE _BSD_SOURCE is deprecated and gives a build warning. Let's use _DEFAULT_SOURCE instead. Signed-off-by: Felipe Balbi --- diff --git a/tools/usb/ffs-test.c b/tools/usb/ffs-test.c index 88d5e71be044..64fc72acc892 100644 --- a/tools/usb/ffs-test.c +++ b/tools/usb/ffs-test.c @@ -22,7 +22,7 @@ /* $(CROSS_COMPILE)cc -Wall -Wextra -g -o ffs-test ffs-test.c -lpthread */ -#define _BSD_SOURCE /* for endian.h */ +#define _DEFAULT_SOURCE /* for endian.h */ #include #include