public inbox for rda@sourceware.org
 help / color / mirror / Atom feed
* PATCH: #include <string.h> where needed
@ 2004-09-24 21:20 Jim Blandy
  0 siblings, 0 replies; only message in thread
From: Jim Blandy @ 2004-09-24 21:20 UTC (permalink / raw)
  To: rda


This patch eliminates some build warnings due to missing prototypes.
Committed as obvious.

2004-09-24  Jim Blandy  <jimb@redhat.com>

	* lib/gdbserv-output.c, samples/demo-target.c, samples/main.c,
	samples/poll.c: #include <string.h>.

Index: rda/lib/gdbserv-output.c
===================================================================
RCS file: /cvs/src/src/rda/lib/gdbserv-output.c,v
retrieving revision 1.1
diff -c -p -r1.1 gdbserv-output.c
*** rda/lib/gdbserv-output.c	28 Aug 2002 01:22:28 -0000	1.1
--- rda/lib/gdbserv-output.c	24 Sep 2004 21:10:29 -0000
***************
*** 24,29 ****
--- 24,30 ----
  
  #include <stdio.h>
  #include <assert.h>
+ #include <string.h>
  #include "gdbserv.h"
  #include "gdbserv-state.h"
  #include "gdbserv-utils.h"
Index: rda/samples/demo-target.c
===================================================================
RCS file: /cvs/src/src/rda/samples/demo-target.c,v
retrieving revision 1.2
diff -c -p -r1.2 demo-target.c
*** rda/samples/demo-target.c	14 Jul 2004 20:03:05 -0000	1.2
--- rda/samples/demo-target.c	24 Sep 2004 21:10:29 -0000
***************
*** 27,32 ****
--- 27,33 ----
  #include <stdio.h>
  #include <assert.h>
  #include <stdlib.h>
+ #include <string.h>
  #if TIME_WITH_SYS_TIME
  #include <sys/time.h>
  #include <time.h>
Index: rda/samples/main.c
===================================================================
RCS file: /cvs/src/src/rda/samples/main.c,v
retrieving revision 1.1
diff -c -p -r1.1 main.c
*** rda/samples/main.c	28 Aug 2002 01:22:28 -0000	1.1
--- rda/samples/main.c	24 Sep 2004 21:10:29 -0000
***************
*** 27,32 ****
--- 27,33 ----
  #include <stdio.h>
  #include <assert.h>
  #include <stdlib.h>
+ #include <string.h>
  #include <unistd.h>
  #include <signal.h>
  #include <ctype.h>
Index: rda/samples/poll.c
===================================================================
RCS file: /cvs/src/src/rda/samples/poll.c,v
retrieving revision 1.1
diff -c -p -r1.1 poll.c
*** rda/samples/poll.c	28 Aug 2002 01:22:28 -0000	1.1
--- rda/samples/poll.c	24 Sep 2004 21:10:29 -0000
***************
*** 27,32 ****
--- 27,33 ----
  #include <stdio.h>
  #include <errno.h>
  #include <stdlib.h>
+ #include <string.h>
  #if TIME_WITH_SYS_TIME
  #include <sys/time.h>
  #include <time.h>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-09-24 21:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-24 21:20 PATCH: #include <string.h> where needed Jim Blandy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).