From 399b3be499b7017ea32c243dd7c8e65b8614a6bc Mon Sep 17 00:00:00 2001 From: steve Date: Thu, 13 Mar 2003 05:07:46 +0000 Subject: [PATCH] Declaration warnings. --- libveriuser/a_fetch_fullname.c | 6 +++++- libveriuser/a_fetch_type_str.c | 6 +++++- libveriuser/priv.c | 7 +++++-- libveriuser/typep.c | 6 ++++-- 4 files changed, 19 insertions(+), 6 deletions(-) diff --git a/libveriuser/a_fetch_fullname.c b/libveriuser/a_fetch_fullname.c index 4001d0116..9f043243c 100644 --- a/libveriuser/a_fetch_fullname.c +++ b/libveriuser/a_fetch_fullname.c @@ -17,11 +17,12 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: a_fetch_fullname.c,v 1.3 2003/02/17 06:39:47 steve Exp $" +#ident "$Id: a_fetch_fullname.c,v 1.4 2003/03/13 05:07:46 steve Exp $" #endif #include #include +#include "priv.h" /* * acc_fetch_fullname implemented using VPI interface @@ -38,6 +39,9 @@ char* acc_fetch_name(handle object) /* * $Log: a_fetch_fullname.c,v $ + * Revision 1.4 2003/03/13 05:07:46 steve + * Declaration warnings. + * * Revision 1.3 2003/02/17 06:39:47 steve * Add at least minimal implementations for several * acc_ functions. Add support for standard ACC diff --git a/libveriuser/a_fetch_type_str.c b/libveriuser/a_fetch_type_str.c index a9f7b515f..e63774fc0 100644 --- a/libveriuser/a_fetch_type_str.c +++ b/libveriuser/a_fetch_type_str.c @@ -17,10 +17,11 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: a_fetch_type_str.c,v 1.3 2003/03/13 04:35:09 steve Exp $" +#ident "$Id: a_fetch_type_str.c,v 1.4 2003/03/13 05:07:46 steve Exp $" #endif #include +#include #include @@ -46,6 +47,9 @@ char* acc_fetch_type_str(PLI_INT32 type) /* * $Log: a_fetch_type_str.c,v $ + * Revision 1.4 2003/03/13 05:07:46 steve + * Declaration warnings. + * * Revision 1.3 2003/03/13 04:35:09 steve * Add a bunch of new acc_ and tf_ functions. * diff --git a/libveriuser/priv.c b/libveriuser/priv.c index cd8592e94..ffcc77438 100644 --- a/libveriuser/priv.c +++ b/libveriuser/priv.c @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: priv.c,v 1.1 2003/02/17 06:39:47 steve Exp $" +#ident "$Id: priv.c,v 1.2 2003/03/13 05:07:46 steve Exp $" #endif # include "priv.h" @@ -27,7 +27,7 @@ static char string_buffer[8192]; static unsigned string_fill = 0; -static buffer_reset(void) +static void buffer_reset(void) { string_fill = 0; } @@ -56,6 +56,9 @@ char* __acc_newstring(const char*txt) /* * $Log: priv.c,v $ + * Revision 1.2 2003/03/13 05:07:46 steve + * Declaration warnings. + * * Revision 1.1 2003/02/17 06:39:47 steve * Add at least minimal implementations for several * acc_ functions. Add support for standard ACC diff --git a/libveriuser/typep.c b/libveriuser/typep.c index e7c3e9a4c..9a1508901 100644 --- a/libveriuser/typep.c +++ b/libveriuser/typep.c @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: typep.c,v 1.1 2002/12/19 21:37:04 steve Exp $" +#ident "$Id: typep.c,v 1.2 2003/03/13 05:07:46 steve Exp $" #endif #include @@ -27,7 +27,6 @@ PLI_INT32 tf_typep(PLI_INT32 narg) { vpiHandle sys_h, argv, arg_h = 0; - s_vpi_value value; int rtn; assert(narg > 0); @@ -73,6 +72,9 @@ PLI_INT32 tf_typep(PLI_INT32 narg) /* * $Log: typep.c,v $ + * Revision 1.2 2003/03/13 05:07:46 steve + * Declaration warnings. + * * Revision 1.1 2002/12/19 21:37:04 steve * Add tf_message, tf_get/setworkarea, and * ty_typep functions, along with defines