[PVFS2-CVS] commit by robl in pvfs2-1/src/common/statecomp: codegen.c statecomp.c stringtbl.c

CVS commit program cvs at parl.clemson.edu
Thu Sep 29 19:59:27 EDT 2005


Update of /projects/cvsroot/pvfs2-1/src/common/statecomp
In directory parlweb:/tmp/cvs-serv11347

Modified Files:
	codegen.c statecomp.c stringtbl.c 
Log Message:
try to silence a few "no previous prototype" warnings with --enable-strict


Index: codegen.c
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/common/statecomp/codegen.c,v
diff -u -w -p -u -r1.17 -r1.18
--- codegen.c	16 Jun 2005 20:41:59 -0000	1.17
+++ codegen.c	29 Sep 2005 22:59:26 -0000	1.18
@@ -18,6 +18,15 @@
 extern FILE *out_file;
 extern int terminate_path_flag;
 
+void gen_init(void);
+void gen_state_decl(char *state_name);
+void gen_machine(char *machine_name, char *first_state_name);
+void gen_state_start(char *state_name);
+void gen_state_action(char *run_func, int flag);
+void gen_return_code(char *return_code);
+void gen_next_state(int flag, char *new_state);
+void gen_state_end(void);
+
 void gen_init(void)
 {
     return;

Index: statecomp.c
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/common/statecomp/statecomp.c,v
diff -u -w -p -u -r1.15 -r1.16
--- statecomp.c	11 Jan 2005 14:00:27 -0000	1.15
+++ statecomp.c	29 Sep 2005 22:59:27 -0000	1.16
@@ -46,6 +46,8 @@ void gen_init(void);
 void yywrap(void);
 void yyerror(char *s);
 
+void produce_listing(int line, char *listing);
+
 int terminate_path_flag = 0;
 
 /*

Index: stringtbl.c
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/common/statecomp/stringtbl.c,v
diff -u -w -p -u -r1.4 -r1.5
--- stringtbl.c	11 Jan 2005 14:00:28 -0000	1.4
+++ stringtbl.c	29 Sep 2005 22:59:27 -0000	1.5
@@ -16,6 +16,7 @@
 #include <string.h>
 
 void *emalloc(unsigned int size);
+char *enter_string(char *oldstring);
 
 char *enter_string(char *oldstring)
 {



More information about the PVFS2-CVS mailing list