summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2019-10-07 20:24:21 +0200
committerGravatar Nikias Bassen2019-10-07 20:24:21 +0200
commitc3fc55697b8fdf59055e4842a9e6bf7db15a35c9 (patch)
treeb520e160e606008a92e9a9bc3f4c8dc0d3089e39 /src
parentc41226df521de464a89f3d027f3e67d13d10d96f (diff)
downloadusbmuxd-c3fc55697b8fdf59055e4842a9e6bf7db15a35c9.tar.gz
usbmuxd-c3fc55697b8fdf59055e4842a9e6bf7db15a35c9.tar.bz2
Replace obsolete _BSD_SOURCE define with _DEFAULT_SOURCE
Diffstat (limited to 'src')
-rw-r--r--src/device.c2
-rw-r--r--src/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/device.c b/src/device.c
index 0cd9af4..ba5ed73 100644
--- a/src/device.c
+++ b/src/device.c
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
#ifdef HAVE_CONFIG_H
#include <config.h>
diff --git a/src/main.c b/src/main.c
index f3c58b7..34aa1f4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -20,7 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
#define _GNU_SOURCE
#ifdef HAVE_CONFIG_H