diff options
author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-01-17 08:04:07 -0500 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-01-24 04:04:16 -0500 |
commit | 5abb9b91e8e5e824aa781334f6e4945fd33fcfa8 (patch) | |
tree | 802f360d10fea0c531757c9aaa5b670336304c43 /tools/usb/ffs-test.c | |
parent | ffb80fc672c3a7b6afd0cefcb1524fb99917b2f3 (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/ffs-test.c')
-rw-r--r-- | tools/usb/ffs-test.c | 2 |
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 @@ | |||
22 | /* $(CROSS_COMPILE)cc -Wall -Wextra -g -o ffs-test ffs-test.c -lpthread */ | 22 | /* $(CROSS_COMPILE)cc -Wall -Wextra -g -o ffs-test ffs-test.c -lpthread */ |
23 | 23 | ||
24 | 24 | ||
25 | #define _BSD_SOURCE /* for endian.h */ | 25 | #define _DEFAULT_SOURCE /* for endian.h */ |
26 | 26 | ||
27 | #include <endian.h> | 27 | #include <endian.h> |
28 | #include <errno.h> | 28 | #include <errno.h> |