From 2194263d1b88b2bc585920e0764149431bde97df Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Fri, 11 Jun 2004 10:04:48 -0500 Subject: [svn-r8659] Purpose: bug fix Description: a prototype for a new function used by h5tools_str.c was accidently left in that file the c++ treats this as an error Solution: removed the prototype, and pointed to the correct one (in h5tools_ref.h ) Platforms tested: Free BSD (c++) linux Misc. update: --- tools/h5ls/h5ls.c | 7 +------ tools/lib/h5tools_str.c | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/tools/h5ls/h5ls.c b/tools/h5ls/h5ls.c index 373d4d0..6bd6f87 100644 --- a/tools/h5ls/h5ls.c +++ b/tools/h5ls/h5ls.c @@ -2265,10 +2265,5 @@ main (int argc, const char *argv[]) leave(0); } -/* dummy function */ -char * -lookup_ref_path(hobj_ref_t ref) -{ - return NULL; -} + diff --git a/tools/lib/h5tools_str.c b/tools/lib/h5tools_str.c index fb1d0c2..b717b3a 100644 --- a/tools/lib/h5tools_str.c +++ b/tools/lib/h5tools_str.c @@ -26,8 +26,8 @@ #include "H5private.h" #include "h5tools.h" /*for h5dump_t structure */ #include "h5tools_str.h" /*function prototypes */ +#include "h5tools_ref.h" -extern char* lookup_ref_path(hobj_ref_t ref); /* -- cgit v0.12