From: Henning Schild <henning.schild@siemens.com>
To: isar-users@googlegroups.com
Cc: Jan Kiszka <jan.kiszka@siemens.com>,
Henning Schild <henning.schild@siemens.com>
Subject: [PATCH] example-app: Fix a compile warning in patched example
Date: Tue, 14 Aug 2018 18:24:18 +0200 [thread overview]
Message-ID: <20180814162418.7671-1-henning.schild@siemens.com> (raw)
One of the patches introduced in a8ecb2bd3367 triggers a compiler
warning because of a missing prototype for "strcmp". Include string.h to
solve that problem.
Signed-off-by: Henning Schild <henning.schild@siemens.com>
---
.../example-hello/files/0001-Add-some-help.patch | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/meta-isar/recipes-app/example-hello/files/0001-Add-some-help.patch b/meta-isar/recipes-app/example-hello/files/0001-Add-some-help.patch
index 3c68a93..f134077 100644
--- a/meta-isar/recipes-app/example-hello/files/0001-Add-some-help.patch
+++ b/meta-isar/recipes-app/example-hello/files/0001-Add-some-help.patch
@@ -1,4 +1,4 @@
-From 4615f473881aaff12a52aa3bb625bfb38753b4f2 Mon Sep 17 00:00:00 2001
+From 2bf0be78037bb3140a4af5ec3755960a278e84cf Mon Sep 17 00:00:00 2001
From: Jan Kiszka <jan.kiszka@siemens.com>
Date: Sun, 18 Feb 2018 09:02:11 +0100
Subject: [PATCH] Add some help
@@ -7,18 +7,19 @@ This just provides a commit to demonstrate patching in Isar recipes.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
- hello.c | 11 ++++++++++-
- 1 file changed, 10 insertions(+), 1 deletion(-)
+ hello.c | 12 +++++++++++-
+ 1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/hello.c b/hello.c
-index 269c24b..329a0c5 100644
+index 269c24b..941babc 100644
--- a/hello.c
+++ b/hello.c
-@@ -5,10 +5,19 @@
+@@ -5,10 +5,20 @@
* version 2.
*/
+#include <stdio.h>
++#include <string.h>
#include <hello.h>
-int main(void)
@@ -36,5 +37,5 @@ index 269c24b..329a0c5 100644
return 0;
}
--
-2.13.6
+2.16.4
--
2.16.4
next reply other threads:[~2018-08-14 16:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-14 16:24 Henning Schild [this message]
2018-08-16 12:25 ` Maxim Yu. Osipov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180814162418.7671-1-henning.schild@siemens.com \
--to=henning.schild@siemens.com \
--cc=isar-users@googlegroups.com \
--cc=jan.kiszka@siemens.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox