From: Joel Sherrill <joel.sherrill@oarcorp.com>
To: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: remove warnings in sim/arm
Date: Tue, 25 Nov 2008 02:18:00 -0000 [thread overview]
Message-ID: <492B1871.7080409@oarcorp.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 506 bytes --]
Hi,
a couple of files in arm/sim had warnings because
they did not include <string.h>. Simple patch
to include <string.h>
Ok to commit?
2008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* arminit.c, iwmmxt.c: Include <string.h> to
eliminate warning.
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
[-- Attachment #2: arm-sim.diff --]
[-- Type: text/x-patch, Size: 1053 bytes --]
? .iwmmxt.c.swp
Index: arminit.c
===================================================================
RCS file: /cvs/src/src/sim/arm/arminit.c,v
retrieving revision 1.12
diff -u -r1.12 arminit.c
--- arminit.c 12 May 2005 07:36:58 -0000 1.12
+++ arminit.c 24 Nov 2008 21:08:18 -0000
@@ -15,6 +15,8 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+#include <string.h>
+
#include "armdefs.h"
#include "armemu.h"
#include "dbg_rdi.h"
Index: iwmmxt.c
===================================================================
RCS file: /cvs/src/src/sim/arm/iwmmxt.c,v
retrieving revision 1.6
diff -u -r1.6 iwmmxt.c
--- iwmmxt.c 1 Jan 2008 22:53:23 -0000 1.6
+++ iwmmxt.c 24 Nov 2008 21:08:19 -0000
@@ -15,6 +15,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include <string.h>
+
#include "armdefs.h"
#include "armos.h"
#include "armemu.h"
next reply other threads:[~2008-11-24 21:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-25 2:18 Joel Sherrill [this message]
2008-11-26 18:45 ` Doug Evans
2008-11-27 9:23 ` Joel Sherrill
2008-11-27 14:57 ` Doug Evans
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=492B1871.7080409@oarcorp.com \
--to=joel.sherrill@oarcorp.com \
--cc=gdb-patches@sourceware.org \
/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