projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffb80fc
)
tools: usb: ffs-test: switch to _DEFAULT_SOURCE
author
Felipe Balbi
<felipe.balbi@linux.intel.com>
Tue, 17 Jan 2017 13:04:07 +0000
(15:04 +0200)
committer
Felipe Balbi
<felipe.balbi@linux.intel.com>
Tue, 24 Jan 2017 09:04:16 +0000
(11:04 +0200)
_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>
tools/usb/ffs-test.c
patch
|
blob
|
blame
|
history
diff --git
a/tools/usb/ffs-test.c
b/tools/usb/ffs-test.c
index 88d5e71be0449ff7afdb6bdefbea98045fefd612..64fc72acc8928e67ae5bf87ed14d0fef9d658124 100644
(file)
--- 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>