summaryrefslogtreecommitdiff
path: root/tools/usb
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2017-01-17 15:04:07 +0200
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-01-24 11:04:16 +0200
commit5abb9b91e8e5e824aa781334f6e4945fd33fcfa8 (patch)
tree802f360d10fea0c531757c9aaa5b670336304c43 /tools/usb
parentffb80fc672c3a7b6afd0cefcb1524fb99917b2f3 (diff)
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/usb')
-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>