Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: gdb-patches@sourceware.org
Subject: [COMMIT] Add missing prototype to cp-names.y
Date: Sun, 20 Mar 2005 16:32:00 -0000	[thread overview]
Message-ID: <200503201626.j2KGQoZE011353@elgar.sibelius.xs4all.nl> (raw)

Compiling with -Werror on OpenBSD failed.  Turns out that yacc doesn't
provide a prototype for yyparse, while bison does.  Works for me on
systems with and without bison.

Committed,

Mark

Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* cp-names.y: Add prototype for yylex.

Index: cp-names.y
===================================================================
RCS file: /cvs/src/src/gdb/cp-names.y,v
retrieving revision 1.2
diff -u -p -r1.2 cp-names.y
--- cp-names.y 11 Mar 2005 02:24:22 -0000 1.2
+++ cp-names.y 20 Mar 2005 16:19:09 -0000
@@ -145,6 +145,7 @@ static struct demangle_component *d_bina
 #define yytable	 cpname_yytable
 #define yycheck	 cpname_yycheck
 
+int yyparse (void);
 static int yylex (void);
 static void yyerror (char *);
 


             reply	other threads:[~2005-03-20 16:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-20 16:32 Mark Kettenis [this message]
2005-03-20 16:39 ` Daniel Jacobowitz
2005-03-20 20:17   ` Mark Kettenis

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=200503201626.j2KGQoZE011353@elgar.sibelius.xs4all.nl \
    --to=mark.kettenis@xs4all.nl \
    --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