public inbox for rda@sourceware.org
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@redhat.com>
To: rda@sources.redhat.com
Subject: PATCH: #include <string.h> where needed
Date: Fri, 24 Sep 2004 21:20:00 -0000	[thread overview]
Message-ID: <vt24qln8ixy.fsf@zenia.home> (raw)


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>

                 reply	other threads:[~2004-09-24 21:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=vt24qln8ixy.fsf@zenia.home \
    --to=jimb@redhat.com \
    --cc=rda@sources.redhat.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).