aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-11-29 00:49:24 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-12-05 23:34:39 +0100
commit0cde0d7d15c3218717db9a49d2b5e63abed70312 (patch)
treeb7ed53145b856f6887ab14038b069a8948fe074a
parent5f12ad00d38d453c55f56741c359fcc3b9b48ad5 (diff)
downloadhardware_replicant_libsamsung-ipc-0cde0d7d15c3218717db9a49d2b5e63abed70312.tar.gz
hardware_replicant_libsamsung-ipc-0cde0d7d15c3218717db9a49d2b5e63abed70312.tar.bz2
hardware_replicant_libsamsung-ipc-0cde0d7d15c3218717db9a49d2b5e63abed70312.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>