summaryrefslogtreecommitdiffstats
path: root/src/H5Edefin.h
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2006-03-17 20:14:14 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2006-03-17 20:14:14 (GMT)
commitb6e8651a3a98e2af1f8deb70dd73c1265065a588 (patch)
tree7b3cedcc29fbb1efbcc453f025a031193a3f89c9 /src/H5Edefin.h
parent3597bbd700866e5673262cf1a9c7bb2b13da5286 (diff)
downloadhdf5-b6e8651a3a98e2af1f8deb70dd73c1265065a588.zip
hdf5-b6e8651a3a98e2af1f8deb70dd73c1265065a588.tar.gz
hdf5-b6e8651a3a98e2af1f8deb70dd73c1265065a588.tar.bz2
[svn-r12115] Purpose: Change codes in a more appropriate way.
Description: Yesterday, H5E_NONE_MAJOR and H5E_NONE_MINOR were added to error API by hand. Solution: Today, correct the change by hand with the tool hdf5/bin/make_err. The change by hand is only in src/H5err.txt. Platforms tested: fuss - simple change. Misc. update:
Diffstat (limited to 'src/H5Edefin.h')
-rw-r--r--src/H5Edefin.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Edefin.h b/src/H5Edefin.h
index 89ea64a..122f493 100644
--- a/src/H5Edefin.h
+++ b/src/H5Edefin.h
@@ -39,6 +39,7 @@ hid_t H5E_HEAP_g = FAIL; /* Heap */
hid_t H5E_OHDR_g = FAIL; /* Object header */
hid_t H5E_ATOM_g = FAIL; /* Object atom */
hid_t H5E_ATTR_g = FAIL; /* Attribute */
+hid_t H5E_NONE_MAJOR_g = FAIL; /* No error */
hid_t H5E_IO_g = FAIL; /* Low-level I/O */
hid_t H5E_SLIST_g = FAIL; /* Skip Lists */
hid_t H5E_EFL_g = FAIL; /* External file list */
@@ -47,7 +48,6 @@ hid_t H5E_ARGS_g = FAIL; /* Invalid arguments to routine */
hid_t H5E_ERROR_g = FAIL; /* Error API */
hid_t H5E_PLINE_g = FAIL; /* Data filters */
hid_t H5E_CACHE_g = FAIL; /* Object cache */
-hid_t H5E_NONE_MAJOR_g = FAIL; /* No error, only for backward compatibility */
/* Minor error IDs */
@@ -116,6 +116,9 @@ hid_t H5E_LINK_g = FAIL; /* Link count failure */
hid_t H5E_SLINK_g = FAIL; /* Symbolic link error */
hid_t H5E_PATH_g = FAIL; /* Problem with path to object */
+/* No error */
+hid_t H5E_NONE_MINOR_g = FAIL; /* No error */
+
/* File accessability errors */
hid_t H5E_FILEEXISTS_g = FAIL; /* File already exists */
hid_t H5E_FILEOPEN_g = FAIL; /* File already open */
@@ -182,7 +185,4 @@ hid_t H5E_BADVALUE_g = FAIL; /* Bad value */
hid_t H5E_CANTCONVERT_g = FAIL; /* Can't convert datatypes */
hid_t H5E_BADSIZE_g = FAIL; /* Bad size for object */
-/* No error, for backward compatibility */
-hid_t H5E_NONE_MINOR_g = FAIL;
-
#endif /* H5Edefin_H */