summaryrefslogtreecommitdiffstats
path: root/src/H5Zpublic.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-01-13 13:15:49 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-01-13 13:15:49 (GMT)
commit8e391ad35a1ede1ac046f05710297aa40986642b (patch)
tree247faeeacb9925beb90b6b8c10f0d875f93ed155 /src/H5Zpublic.h
parentc3a1173026916e25a5a44f1d4255b889ccbaeb2b (diff)
downloadhdf5-8e391ad35a1ede1ac046f05710297aa40986642b.zip
hdf5-8e391ad35a1ede1ac046f05710297aa40986642b.tar.gz
hdf5-8e391ad35a1ede1ac046f05710297aa40986642b.tar.bz2
[svn-r6269] Purpose:
Code cleanup Description: Various code cleanups to allow the development branch to be compiled with a C++ compiler (i.e. CC=g++ ) Platforms tested: Tested h5committest {arabica (fortran), eirene (fortran, C++) modi4 (parallel, fortran)} FreeBSD 4.7 (sleipnir) C++
Diffstat (limited to 'src/H5Zpublic.h')
-rw-r--r--src/H5Zpublic.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Zpublic.h b/src/H5Zpublic.h
index 0b9a0bf..67b1fe9 100644
--- a/src/H5Zpublic.h
+++ b/src/H5Zpublic.h
@@ -31,6 +31,10 @@ typedef int H5Z_filter_t;
#define H5Z_FLAG_INVMASK 0xff00 /*invocation flag mask */
#define H5Z_FLAG_REVERSE 0x0100 /*reverse direction; read */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* A filter gets definition flags and invocation flags (defined above), the
* client data array and size defined when the filter was added to the
@@ -50,10 +54,6 @@ typedef size_t (*H5Z_func_t)(unsigned int flags, size_t cd_nelmts,
const unsigned int cd_values[], size_t nbytes,
size_t *buf_size, void **buf);
-#ifdef __cplusplus
-extern "C" {
-#endif
-
H5_DLL herr_t H5Zregister(H5Z_filter_t id, const char *comment,
H5Z_func_t filter);