Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* remove warnings in sim/arm
@ 2008-11-25  2:18 Joel Sherrill
  2008-11-26 18:45 ` Doug Evans
  0 siblings, 1 reply; 4+ messages in thread
From: Joel Sherrill @ 2008-11-25  2:18 UTC (permalink / raw)
  To: gdb-patches

[-- 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"

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

end of thread, other threads:[~2008-11-26 16:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-25  2:18 remove warnings in sim/arm Joel Sherrill
2008-11-26 18:45 ` Doug Evans
2008-11-27  9:23   ` Joel Sherrill
2008-11-27 14:57     ` Doug Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox