aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorH.J. Lu <hjl@gnu.org>1998-06-19 20:43:54 +0000
committerJeff Law <law@gcc.gnu.org>1998-06-19 14:43:54 -0600
commit3ab6dd7c85e713df75ffb890b72d332cce9576d5 (patch)
treea5e2969e1a002f37c2b4bc97623e4a4c0ba25ebb /gcc
parent0bb0a00ba48e8e3bdc5291696076b0617157ba0b (diff)
downloadgcc-3ab6dd7c85e713df75ffb890b72d332cce9576d5.zip
gcc-3ab6dd7c85e713df75ffb890b72d332cce9576d5.tar.gz
gcc-3ab6dd7c85e713df75ffb890b72d332cce9576d5.tar.bz2
c-lex.c (yyprint): Add prototype.
* c-lex.c (yyprint): Add prototype. (check_newline, build_objc_string): Remove declaration. From-SVN: r20604
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/c-lex.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b5b7ba1..3d797f8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
Fri Jun 19 20:38:34 1998 H.J. Lu (hjl@gnu.org)
+ * c-lex.c (yyprint): Add prototype.
+ (check_newline, build_objc_string): Remove declaration.
+
* c-tree.h (comptypes_record_hook): Removed.
(finish_incomplete_decl): New prototype.
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index 840ad14..adc70fa 100644
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -53,6 +53,8 @@ extern cpp_options parse_options;
FILE *finput;
#endif
+extern void yyprint PROTO((FILE *, int, YYSTYPE));
+
/* The elements of `ridpointers' are identifier nodes
for the reserved type names and storage classes.
It is indexed by a RID_... value. */
@@ -122,7 +124,6 @@ static int skip_white_space PROTO((int));
static int skip_white_space_on_line PROTO((void));
static char *extend_token_buffer PROTO((char *));
static int readescape PROTO((int *));
-int check_newline ();
/* Do not insert generated code into the source, instead, include it.
This allows us to build gcc automatically even for targets that
@@ -1988,7 +1989,6 @@ yylex ()
}
else if (objc_flag)
{
- extern tree build_objc_string();
/* Return an Objective-C @"..." constant string object. */
yylval.ttype = build_objc_string (p - token_buffer,
token_buffer + 1);