Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/yacc remove duplicate prototypes.



details:   https://anonhg.NetBSD.org/src/rev/d50620a813db
branches:  trunk
changeset: 503288:d50620a813db
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Feb 04 17:45:24 2001 +0000

description:
remove duplicate prototypes.

diffstat:

 usr.bin/yacc/defs.h    |  3 +--
 usr.bin/yacc/lalr.c    |  5 ++---
 usr.bin/yacc/main.c    |  6 ++----
 usr.bin/yacc/mkpar.c   |  5 ++---
 usr.bin/yacc/output.c  |  5 ++---
 usr.bin/yacc/reader.c  |  5 ++---
 usr.bin/yacc/symtab.c  |  6 ++----
 usr.bin/yacc/verbose.c |  5 ++---
 8 files changed, 15 insertions(+), 25 deletions(-)

diffs (204 lines):

diff -r cd06532766b6 -r d50620a813db usr.bin/yacc/defs.h
--- a/usr.bin/yacc/defs.h       Sun Feb 04 17:45:06 2001 +0000
+++ b/usr.bin/yacc/defs.h       Sun Feb 04 17:45:24 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: defs.h,v 1.9 2001/01/23 15:35:01 jdolecek Exp $        */
+/*     $NetBSD: defs.h,v 1.10 2001/02/04 17:45:24 christos Exp $       */
 
 /*
  * Copyright (c) 1989 The Regents of the University of California.
@@ -325,7 +325,6 @@
 extern void reflexive_transitive_closure __P((unsigned *, int));
 extern void done __P((int));
 
-extern void fatal __P((char *));
 extern void no_space __P((void));
 extern void open_error(char *);
 extern void unexpected_EOF __P((void));
diff -r cd06532766b6 -r d50620a813db usr.bin/yacc/lalr.c
--- a/usr.bin/yacc/lalr.c       Sun Feb 04 17:45:06 2001 +0000
+++ b/usr.bin/yacc/lalr.c       Sun Feb 04 17:45:24 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lalr.c,v 1.5 1997/07/25 16:46:32 perry Exp $   */
+/*     $NetBSD: lalr.c,v 1.6 2001/02/04 17:45:25 christos Exp $        */
 
 /*
  * Copyright (c) 1989 The Regents of the University of California.
@@ -41,7 +41,7 @@
 #if 0
 static char sccsid[] = "@(#)lalr.c     5.3 (Berkeley) 6/1/90";
 #else
-__RCSID("$NetBSD: lalr.c,v 1.5 1997/07/25 16:46:32 perry Exp $");
+__RCSID("$NetBSD: lalr.c,v 1.6 2001/02/04 17:45:25 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -69,7 +69,6 @@
 
 short **transpose(short **, int);
 void set_state_table __P((void));
-void set_state_table __P((void));
 void set_accessing_symbol __P((void));
 void set_shift_table __P((void));
 void set_reduction_table __P((void));
diff -r cd06532766b6 -r d50620a813db usr.bin/yacc/main.c
--- a/usr.bin/yacc/main.c       Sun Feb 04 17:45:06 2001 +0000
+++ b/usr.bin/yacc/main.c       Sun Feb 04 17:45:24 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.10 1997/10/31 07:46:08 mycroft Exp $        */
+/*     $NetBSD: main.c,v 1.11 2001/02/04 17:45:25 christos Exp $       */
 
 /*
  * Copyright (c) 1989 The Regents of the University of California.
@@ -46,7 +46,7 @@
 #if 0
 static char sccsid[] = "@(#)main.c     5.5 (Berkeley) 5/24/93";
 #else
-__RCSID("$NetBSD: main.c,v 1.10 1997/10/31 07:46:08 mycroft Exp $");
+__RCSID("$NetBSD: main.c,v 1.11 2001/02/04 17:45:25 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -116,11 +116,9 @@
 int main __P((int, char *[]));
 
 void onintr __P((int));
-__dead void done __P((int));
 void set_signals __P((void));
 void usage __P((void));
 void getargs __P((int, char *[]));
-char * allocate __P((unsigned));
 void create_file_names __P((void));
 void open_files __P((void));
 
diff -r cd06532766b6 -r d50620a813db usr.bin/yacc/mkpar.c
--- a/usr.bin/yacc/mkpar.c      Sun Feb 04 17:45:06 2001 +0000
+++ b/usr.bin/yacc/mkpar.c      Sun Feb 04 17:45:24 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mkpar.c,v 1.6 1998/08/25 20:59:44 ross Exp $   */
+/*     $NetBSD: mkpar.c,v 1.7 2001/02/04 17:45:25 christos Exp $       */
 
 /*
  * Copyright (c) 1989 The Regents of the University of California.
@@ -41,7 +41,7 @@
 #if 0
 static char sccsid[] = "@(#)mkpar.c    5.3 (Berkeley) 1/20/91";
 #else
-__RCSID("$NetBSD: mkpar.c,v 1.6 1998/08/25 20:59:44 ross Exp $");
+__RCSID("$NetBSD: mkpar.c,v 1.7 2001/02/04 17:45:25 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -68,7 +68,6 @@
 int sole_reduction __P((int));
 void free_action_row __P((action *));
 
-void make_parser __P((void));
 void find_final_state __P((void));
 void unused_rules __P((void));
 void remove_conflicts __P((void));
diff -r cd06532766b6 -r d50620a813db usr.bin/yacc/output.c
--- a/usr.bin/yacc/output.c     Sun Feb 04 17:45:06 2001 +0000
+++ b/usr.bin/yacc/output.c     Sun Feb 04 17:45:24 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: output.c,v 1.9 2001/01/23 22:31:40 jdolecek Exp $      */
+/*     $NetBSD: output.c,v 1.10 2001/02/04 17:45:25 christos Exp $     */
 
 /*
  * Copyright (c) 1989 The Regents of the University of California.
@@ -41,7 +41,7 @@
 #if 0
 static char sccsid[] = "@(#)output.c   5.7 (Berkeley) 5/24/93";
 #else
-__RCSID("$NetBSD: output.c,v 1.9 2001/01/23 22:31:40 jdolecek Exp $");
+__RCSID("$NetBSD: output.c,v 1.10 2001/02/04 17:45:25 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -63,7 +63,6 @@
 static int lowzero;
 static int high;
 
-void output __P((void));
 void output_prefix __P((void));
 void output_rule_data __P((void));
 void output_yydefred __P((void));
diff -r cd06532766b6 -r d50620a813db usr.bin/yacc/reader.c
--- a/usr.bin/yacc/reader.c     Sun Feb 04 17:45:06 2001 +0000
+++ b/usr.bin/yacc/reader.c     Sun Feb 04 17:45:24 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: reader.c,v 1.9 2000/10/11 14:46:24 is Exp $    */
+/*     $NetBSD: reader.c,v 1.10 2001/02/04 17:45:25 christos Exp $     */
 
 /*
  * Copyright (c) 1989 The Regents of the University of California.
@@ -41,7 +41,7 @@
 #if 0
 static char sccsid[] = "@(#)reader.c   5.7 (Berkeley) 1/20/91";
 #else
-__RCSID("$NetBSD: reader.c,v 1.9 2000/10/11 14:46:24 is Exp $");
+__RCSID("$NetBSD: reader.c,v 1.10 2001/02/04 17:45:25 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -115,7 +115,6 @@
 void pack_symbols __P((void));
 void pack_grammar __P((void));
 void print_grammar __P((void));
-void reader __P((void));
 
 
 static const char line_format[] = "#line %d \"%s\"\n";
diff -r cd06532766b6 -r d50620a813db usr.bin/yacc/symtab.c
--- a/usr.bin/yacc/symtab.c     Sun Feb 04 17:45:06 2001 +0000
+++ b/usr.bin/yacc/symtab.c     Sun Feb 04 17:45:24 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: symtab.c,v 1.5 1997/07/25 16:46:38 perry Exp $ */
+/*     $NetBSD: symtab.c,v 1.6 2001/02/04 17:45:25 christos Exp $      */
 
 /*
  * Copyright (c) 1989 The Regents of the University of California.
@@ -41,7 +41,7 @@
 #if 0
 static char sccsid[] = "@(#)symtab.c   5.3 (Berkeley) 6/1/90";
 #else
-__RCSID("$NetBSD: symtab.c,v 1.5 1997/07/25 16:46:38 perry Exp $");
+__RCSID("$NetBSD: symtab.c,v 1.6 2001/02/04 17:45:25 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -58,8 +58,6 @@
 bucket *last_symbol;
 
 int hash __P((char *));
-bucket * make_bucket __P((char *));
-bucket * lookup __P((char *));
 
 
 int
diff -r cd06532766b6 -r d50620a813db usr.bin/yacc/verbose.c
--- a/usr.bin/yacc/verbose.c    Sun Feb 04 17:45:06 2001 +0000
+++ b/usr.bin/yacc/verbose.c    Sun Feb 04 17:45:24 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: verbose.c,v 1.5 1997/07/25 16:46:39 perry Exp $        */
+/*     $NetBSD: verbose.c,v 1.6 2001/02/04 17:45:25 christos Exp $     */
 
 /*
  * Copyright (c) 1989 The Regents of the University of California.
@@ -41,7 +41,7 @@
 #if 0
 static char sccsid[] = "@(#)verbose.c  5.3 (Berkeley) 1/20/91";
 #else
-__RCSID("$NetBSD: verbose.c,v 1.5 1997/07/25 16:46:39 perry Exp $");
+__RCSID("$NetBSD: verbose.c,v 1.6 2001/02/04 17:45:25 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -49,7 +49,6 @@
 
 static short *null_rules;
 
-void verbose __P((void));
 void log_unused __P((void));
 void log_conflicts __P((void));
 void print_state __P((int));



Home | Main Index | Thread Index | Old Index