[BACK]Return to patch-yacc_reader.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / caml-light / patches

File: [cvs.NetBSD.org] / pkgsrc / lang / caml-light / patches / patch-yacc_reader.c (download)

Revision 1.1, Sat Oct 20 22:11:30 2012 UTC (7 years, 4 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4

Return without value iff the function has a return type of void.

$NetBSD: patch-yacc_reader.c,v 1.1 2012/10/20 22:11:30 joerg Exp $

--- yacc/reader.c.orig	2012-10-20 13:12:08.000000000 +0000
+++ yacc/reader.c
@@ -49,7 +49,7 @@ int c;
 }
 
 
-get_line()
+void get_line(void)
 {
     register FILE *f = input_file;
     register int c;
@@ -113,7 +113,7 @@ dup_line()
 }
 
 
-skip_comment()
+void skip_comment(void)
 {
     register char *s;
 
@@ -268,7 +268,7 @@ keyword()
 }
 
 
-copy_ident()
+void copy_ident(void)
 {
     register int c;
     register FILE *f = output_file;
@@ -297,7 +297,7 @@ copy_ident()
 }
 
 
-copy_text()
+void copy_text(void)
 {
     register int c;
     int quote;
@@ -414,7 +414,7 @@ loop:
 }
 
 
-copy_union()
+void copy_union(void)
 {
     register int c;
     int quote;
@@ -785,8 +785,7 @@ get_tag()
 }
 
 
-declare_tokens(assoc)
-int assoc;
+void declare_tokens(int assoc)
 {
     register int c;
     register bucket *bp;
@@ -852,7 +851,7 @@ int assoc;
 }
 
 
-declare_types()
+void declare_types(void)
 {
     register int c;
     register bucket *bp;
@@ -880,7 +879,7 @@ declare_types()
 }
 
 
-declare_start()
+void declare_start(void)
 {
     register int c;
     register bucket *bp;
@@ -900,7 +899,7 @@ declare_start()
 }
 
 
-read_declarations()
+void read_declarations(void)
 {
     register int c, k;
 
@@ -1124,7 +1123,7 @@ insert_empty_rule()
 }
 
 
-add_symbol()
+void add_symbol(void)
 {
     register int c;
     register bucket *bp;
@@ -1155,7 +1154,7 @@ add_symbol()
 }
 
 
-copy_action()
+void copy_action(void)
 {
     register int c;
     register int i, n;
@@ -1397,7 +1396,7 @@ read_grammar()
 }
 
 
-free_tags()
+void free_tags(void)
 {
     register int i;
 
@@ -1696,7 +1695,7 @@ pack_grammar()
 }
 
 
-print_grammar()
+void print_grammar(void)
 {
     register int i, j, k;
     int spacing;