summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2006-11-17 15:14:20 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2006-11-17 15:14:20 (GMT)
commitd3206adb2efdc50d998352ea7abcf225eadb64d5 (patch)
treefa50d5df98980bbcbbb0011a3b36fee0728e8577 /src
parent7cc88ba656890266f0b5c54180db9f3734f83f7b (diff)
downloadhdf5-d3206adb2efdc50d998352ea7abcf225eadb64d5.zip
hdf5-d3206adb2efdc50d998352ea7abcf225eadb64d5.tar.gz
hdf5-d3206adb2efdc50d998352ea7abcf225eadb64d5.tar.bz2
[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.
Diffstat (limited to 'src')
-rw-r--r--src/H5O.c1
1 files changed, 1 insertions, 0 deletions
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 */