summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2017-01-17 14:04:07 +0100
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-01-24 10:04:16 +0100
commit5abb9b91e8e5e824aa781334f6e4945fd33fcfa8 (patch)
tree802f360d10fea0c531757c9aaa5b670336304c43 /tools
parentusb: dwc3: gadget: skip Set/Clear Halt when invalid (diff)
downloadlinux-5abb9b91e8e5e824aa781334f6e4945fd33fcfa8.tar.xz
linux-5abb9b91e8e5e824aa781334f6e4945fd33fcfa8.zip
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 <felipe.balbi@linux.intel.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/usb/ffs-test.c2
1 files changed, 1 insertions, 1 deletions
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 <endian.h>
#include <errno.h>