From d3206adb2efdc50d998352ea7abcf225eadb64d5 Mon Sep 17 00:00:00 2001 From: MuQun Yang Date: Fri, 17 Nov 2006 10:14:20 -0500 Subject: [svn-r12931] H5L_link is called inside H5O.c but the header file that declared this function is not included in this file. Windows compiler issued a bad warning that"H5L_link" is not defined but is called. So add header file "H5Lprivate.h" in H5O.c. Hopefully this is the right way. Tested on windows and tested the compiling on Linux. H5L_link is called inside H5O.c but the header file that declared this function is not included in this file. Windows compiler issued a bad warning that"H5L_link" is not defined but is called. So add header file "H5Lprivate.h" in H5O.c. Hopefully this is the right way. Tested on windows and tested the compiling on Linux. H5L_link is called inside H5O.c but the header file that declared this function is not included in this file. Windows compiler issued a bad warning that"H5L_link" is not defined but is called. So add header file "H5Lprivate.h" in H5O.c. Hopefully this is the right way. Tested on windows and tested the compiling on Linux. --- src/H5O.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/H5O.c b/src/H5O.c index 5a7d1f0..7cfa094 100644 --- a/src/H5O.c +++ b/src/H5O.c @@ -38,6 +38,7 @@ #include "H5Fpkg.h" /* File access */ #include "H5FLprivate.h" /* Free lists */ #include "H5Iprivate.h" /* IDs */ +#include "H5Lprivate.h" /* Links */ #include "H5MFprivate.h" /* File memory management */ #include "H5MMprivate.h" /* Memory management */ #include "H5Opkg.h" /* Object headers */ -- cgit v0.12