aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-04-16 19:27:16 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-06-19 14:53:54 +0200
commit6b3432dd75fc02d2273519016aeffb75fe998305 (patch)
tree82144fc193b089bc7dfa5afdc2347741955a3b32
parent13734f696d514e1d19f36547317a571b69e9d71e (diff)
downloadhardware_replicant_libsamsung-ipc-6b3432dd75fc02d2273519016aeffb75fe998305.tar.gz
hardware_replicant_libsamsung-ipc-6b3432dd75fc02d2273519016aeffb75fe998305.tar.bz2
hardware_replicant_libsamsung-ipc-6b3432dd75fc02d2273519016aeffb75fe998305.zip
Silence warning about implicit declaration asprintf
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--samsung-ipc/devices/aries/aries.c1
-rw-r--r--samsung-ipc/devices/crespo/crespo.c1
-rw-r--r--samsung-ipc/devices/xmm626/xmm626_sec_modem.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/samsung-ipc/devices/aries/aries.c b/samsung-ipc/devices/aries/aries.c
index 6561728..a3da208 100644
--- a/samsung-ipc/devices/aries/aries.c
+++ b/samsung-ipc/devices/aries/aries.c
@@ -20,6 +20,7 @@
* along with libsamsung-ipc. If not, see <http://www.gnu.org/licenses/>.
*/
+#define _GNU_SOURCE
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
diff --git a/samsung-ipc/devices/crespo/crespo.c b/samsung-ipc/devices/crespo/crespo.c
index aed5b67..1bf9a97 100644
--- a/samsung-ipc/devices/crespo/crespo.c
+++ b/samsung-ipc/devices/crespo/crespo.c
@@ -19,6 +19,7 @@
* along with libsamsung-ipc. If not, see <http://www.gnu.org/licenses/>.
*/
+#define _GNU_SOURCE
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
diff --git a/samsung-ipc/devices/xmm626/xmm626_sec_modem.c b/samsung-ipc/devices/xmm626/xmm626_sec_modem.c
index dfdebdf..faeacb9 100644
--- a/samsung-ipc/devices/xmm626/xmm626_sec_modem.c
+++ b/samsung-ipc/devices/xmm626/xmm626_sec_modem.c
@@ -18,6 +18,7 @@
* along with libsamsung-ipc. If not, see <http://www.gnu.org/licenses/>.
*/
+#define _GNU_SOURCE
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>