summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2004-06-11 15:04:48 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2004-06-11 15:04:48 (GMT)
commit2194263d1b88b2bc585920e0764149431bde97df (patch)
treea92dccbceabf26400a21356f3f16a2d011201c86 /tools
parentae6937242508bc78b76f7d0e4c0d9aaa2104ce30 (diff)
downloadhdf5-2194263d1b88b2bc585920e0764149431bde97df.zip
hdf5-2194263d1b88b2bc585920e0764149431bde97df.tar.gz
hdf5-2194263d1b88b2bc585920e0764149431bde97df.tar.bz2
[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:
Diffstat (limited to 'tools')
-rw-r--r--tools/h5ls/h5ls.c7
-rw-r--r--tools/lib/h5tools_str.c2
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);
/*