diff --git a/acc_user.h b/acc_user.h index 48eac2e69..078cfe65b 100644 --- a/acc_user.h +++ b/acc_user.h @@ -228,6 +228,7 @@ extern PLI_INT32 acc_fetch_size(handle obj); extern PLI_INT32 acc_fetch_type(handle obj); extern PLI_INT32 acc_fetch_fulltype(handle obj); +extern PLI_INT32 acc_fetch_paramtype(handle obj); extern PLI_INT32 acc_fetch_range(handle object, int *msb, int *lsb); extern const char* acc_fetch_type_str(PLI_INT32 type); diff --git a/libveriuser/a_fetch_type_str.c b/libveriuser/a_fetch_type_str.c index 5250f1384..d74a2714e 100644 --- a/libveriuser/a_fetch_type_str.c +++ b/libveriuser/a_fetch_type_str.c @@ -44,7 +44,7 @@ const char* acc_fetch_type_str(PLI_INT32 type) /* * FIXME: What does this do? How should it be declared in acc_user.h? */ -PLI_INT32 acc_fetch_paramtype(PLI_INT32 type) +PLI_INT32 acc_fetch_paramtype(handle obj) { return 0; }