c-lex.c (yyprint): Add prototype.
authorH.J. Lu <hjl@gnu.org>
Fri, 19 Jun 1998 20:43:54 +0000 (20:43 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 19 Jun 1998 20:43:54 +0000 (14:43 -0600)
* c-lex.c (yyprint): Add prototype.
(check_newline, build_objc_string): Remove declaration.

From-SVN: r20604

gcc/ChangeLog
gcc/c-lex.c

index b5b7ba149c3e8859ed0f3b8aa555b1bcde3c2fd4..3d797f83d29d5e05449d08b2f80d3245a8b8800c 100644 (file)
@@ -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.
 
index 840ad14b99b7f91edfb1af6632ad0bb2b8e513f4..adc70fa041d15832ed5cc1ebf65233d0ffa41e6e 100644 (file)
@@ -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 ();
 \f
 /* 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);