All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] unit: rilmodem-test - add missing string.h
@ 2017-03-28 10:32 Lukasz Nowak
  2017-03-28 16:58 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: Lukasz Nowak @ 2017-03-28 10:32 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1584 bytes --]

From: Lukasz Nowak <lnowak@tycoint.com>

Remove warnings of undeclared memcpy, strncpy, etc.
---
 unit/rilmodem-test-engine.c | 1 +
 unit/rilmodem-test-server.c | 1 +
 unit/test-rilmodem-cs.c     | 1 +
 unit/test-rilmodem-sms.c    | 1 +
 4 files changed, 4 insertions(+)

diff --git a/unit/rilmodem-test-engine.c b/unit/rilmodem-test-engine.c
index c569360..7cbc1ad 100644
--- a/unit/rilmodem-test-engine.c
+++ b/unit/rilmodem-test-engine.c
@@ -29,6 +29,7 @@
 #include <sys/socket.h>
 #include <sys/un.h>
 #include <unistd.h>
+#include <string.h>
 
 #include <ofono/types.h>
 
diff --git a/unit/rilmodem-test-server.c b/unit/rilmodem-test-server.c
index 17e5090..5a3b03a 100644
--- a/unit/rilmodem-test-server.c
+++ b/unit/rilmodem-test-server.c
@@ -28,6 +28,7 @@
 #include <sys/socket.h>
 #include <sys/un.h>
 #include <unistd.h>
+#include <string.h>
 
 #include <ofono/types.h>
 
diff --git a/unit/test-rilmodem-cs.c b/unit/test-rilmodem-cs.c
index bfa2a72..ae7abec 100644
--- a/unit/test-rilmodem-cs.c
+++ b/unit/test-rilmodem-cs.c
@@ -32,6 +32,7 @@
 #include <sys/socket.h>
 #include <sys/un.h>
 #include <unistd.h>
+#include <string.h>
 
 #include <ofono/modem.h>
 #include <ofono/types.h>
diff --git a/unit/test-rilmodem-sms.c b/unit/test-rilmodem-sms.c
index 1ed1b51..70c7386 100644
--- a/unit/test-rilmodem-sms.c
+++ b/unit/test-rilmodem-sms.c
@@ -32,6 +32,7 @@
 #include <sys/socket.h>
 #include <sys/un.h>
 #include <unistd.h>
+#include <string.h>
 
 #include <ofono/modem.h>
 #include <ofono/types.h>
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] unit: rilmodem-test - add missing string.h
  2017-03-28 10:32 [PATCH] unit: rilmodem-test - add missing string.h Lukasz Nowak
@ 2017-03-28 16:58 ` Denis Kenzior
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2017-03-28 16:58 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 401 bytes --]

Hi Lukasz,

On 03/28/2017 05:32 AM, Lukasz Nowak wrote:
> From: Lukasz Nowak <lnowak@tycoint.com>
>
> Remove warnings of undeclared memcpy, strncpy, etc.
> ---
>  unit/rilmodem-test-engine.c | 1 +
>  unit/rilmodem-test-server.c | 1 +
>  unit/test-rilmodem-cs.c     | 1 +
>  unit/test-rilmodem-sms.c    | 1 +
>  4 files changed, 4 insertions(+)
>

Applied, thanks.

Regards,
-Denis


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-28 16:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-28 10:32 [PATCH] unit: rilmodem-test - add missing string.h Lukasz Nowak
2017-03-28 16:58 ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.