diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2018-06-17 16:49:16 +0200 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2018-06-17 16:49:16 +0200 |
commit | f4d2369237a3ec71fd519e71be5a80b1b3467fde (patch) | |
tree | a475cd94e692b8aad722dae9557fc35e3a7c7a20 /libgphoto2 | |
parent | 8733bf10e2898425fd30b2f96fe6f1da0d6ebca2 (diff) | |
download | libgphoto2-f4d2369237a3ec71fd519e71be5a80b1b3467fde.tar.gz |
BSD_SOURCE -> DEFAULT_SOURCE
to remove warnings
Diffstat (limited to 'libgphoto2')
-rw-r--r-- | libgphoto2/gphoto2-context.c | 2 | ||||
-rw-r--r-- | libgphoto2/gphoto2-file.c | 2 | ||||
-rw-r--r-- | libgphoto2/gphoto2-filesys.c | 2 | ||||
-rw-r--r-- | libgphoto2/gphoto2-list.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/libgphoto2/gphoto2-context.c b/libgphoto2/gphoto2-context.c index 58835d056..bcd0785b1 100644 --- a/libgphoto2/gphoto2-context.c +++ b/libgphoto2/gphoto2-context.c @@ -21,7 +21,7 @@ * Boston, MA 02110-1301 USA */ -#define _BSD_SOURCE +#define _DEFAULT_SOURCE #include "config.h" #include <gphoto2/gphoto2-context.h> diff --git a/libgphoto2/gphoto2-file.c b/libgphoto2/gphoto2-file.c index 9a718e02a..af2372418 100644 --- a/libgphoto2/gphoto2-file.c +++ b/libgphoto2/gphoto2-file.c @@ -25,7 +25,7 @@ * external software modules is considered <strong>deprecated</strong>. */ #define _POSIX_SOURCE -#define _BSD_SOURCE +#define _DEFAULT_SOURCE #include "config.h" #include <gphoto2/gphoto2-file.h> diff --git a/libgphoto2/gphoto2-filesys.c b/libgphoto2/gphoto2-filesys.c index 5d364a133..52874a8ee 100644 --- a/libgphoto2/gphoto2-filesys.c +++ b/libgphoto2/gphoto2-filesys.c @@ -23,7 +23,7 @@ * Boston, MA 02110-1301 USA */ -#define _BSD_SOURCE +#define _DEFAULT_SOURCE #include "config.h" #include <gphoto2/gphoto2-filesys.h> diff --git a/libgphoto2/gphoto2-list.c b/libgphoto2/gphoto2-list.c index 69bb5b971..dc12ad4c2 100644 --- a/libgphoto2/gphoto2-list.c +++ b/libgphoto2/gphoto2-list.c @@ -21,7 +21,7 @@ * Boston, MA 02110-1301 USA */ -#define _BSD_SOURCE +#define _DEFAULT_SOURCE #include "config.h" #include <gphoto2/gphoto2-list.h> |