diff options
author | David Sterba <dsterba@suse.com> | 2017-03-14 19:04:51 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-03-16 17:02:44 +0100 |
commit | 17b964dc915b26c99ac0df42fe9f05025a34be16 (patch) | |
tree | 024dc4f36ca5d4d99fea6ba2c29168c3ac4d8185 /tests | |
parent | 855b4272a4297ee1156304f86a5e9bf81d54a489 (diff) |
btrfs-progs: tests: fssum, drop *_SOURCE defines, already provided via config.h
In file included from /usr/include/stdio.h:27:0,
from kerncompat.h:22,
from tests/fssum.c:25:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
We've solved that long time ago and config.h now provides the macros.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fssum.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/fssum.c b/tests/fssum.c index 2d62ba66..f5f83f9d 100644 --- a/tests/fssum.c +++ b/tests/fssum.c @@ -16,12 +16,6 @@ * Boston, MA 021110-1307, USA. */ -#define _BSD_SOURCE -#define _LARGEFILE64_SOURCE -#ifndef _GNU_SOURCE -#define _GNU_SOURCE -#endif - #include "kerncompat.h" #include <stdio.h> #include <stdlib.h> |