summaryrefslogtreecommitdiffstats
path: root/src/H5checksum.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2012-02-09 03:13:27 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2012-02-09 03:13:27 (GMT)
commit9c9ee2008c10801c11bce8563894d9a30ba9a959 (patch)
treec2b89df08fa3895d3fae1a4ad87353f9aabee598 /src/H5checksum.c
parenteb0e5f8c4ea29e674c97a8be048814e26379d4c1 (diff)
downloadhdf5-9c9ee2008c10801c11bce8563894d9a30ba9a959.zip
hdf5-9c9ee2008c10801c11bce8563894d9a30ba9a959.tar.gz
hdf5-9c9ee2008c10801c11bce8563894d9a30ba9a959.tar.bz2
[svn-r21919] Description:
Refactor function name macros and simplify the FUNC_ENTER macros, to clear away the cruft and prepare for further cleanups. Tested on: Mac OSX/64 10.7.3 (amazon) w/debug, production & parallel
Diffstat (limited to 'src/H5checksum.c')
-rw-r--r--src/H5checksum.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/H5checksum.c b/src/H5checksum.c
index 6c01508..ec8b2b0 100644
--- a/src/H5checksum.c
+++ b/src/H5checksum.c
@@ -115,7 +115,7 @@ H5_checksum_fletcher32(const void *_data, size_t _len)
size_t len = _len / 2; /* Length in 16-bit words */
uint32_t sum1 = 0, sum2 = 0;
- FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5_checksum_fletcher32)
+ FUNC_ENTER_NOAPI_NOINIT_NOERR
/* Sanity check */
HDassert(_data);
@@ -171,7 +171,7 @@ H5_checksum_crc_make_table(void)
uint32_t c; /* Checksum for each byte value */
unsigned n, k; /* Local index variables */
- FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5_checksum_crc_make_table)
+ FUNC_ENTER_NOAPI_NOINIT_NOERR
/* Compute the checksum for each possible byte value */
for(n = 0; n < 256; n++) {
@@ -209,7 +209,7 @@ H5_checksum_crc_update(uint32_t crc, const uint8_t *buf, size_t len)
{
size_t n; /* Local index variable */
- FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5_checksum_crc_update)
+ FUNC_ENTER_NOAPI_NOINIT_NOERR
/* Initialize the CRC table if necessary */
if(!H5_crc_table_computed)
@@ -243,7 +243,7 @@ H5_checksum_crc_update(uint32_t crc, const uint8_t *buf, size_t len)
uint32_t
H5_checksum_crc(const void *_data, size_t len)
{
- FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5_checksum_crc)
+ FUNC_ENTER_NOAPI_NOINIT_NOERR
/* Sanity check */
HDassert(_data);
@@ -376,7 +376,7 @@ H5_checksum_lookup3(const void *key, size_t length, uint32_t initval)
const uint8_t *k = (const uint8_t *)key;
uint32_t a, b, c; /* internal state */
- FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5_checksum_lookup3)
+ FUNC_ENTER_NOAPI_NOINIT_NOERR
/* Sanity check */
HDassert(key);
@@ -448,7 +448,7 @@ done:
uint32_t
H5_checksum_metadata(const void *data, size_t len, uint32_t initval)
{
- FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5_checksum_metadata)
+ FUNC_ENTER_NOAPI_NOINIT_NOERR
/* Sanity check */
HDassert(data);
@@ -481,7 +481,7 @@ H5_hash_string(const char *str)
uint32_t hash = 5381;
int c;
- FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5_hash_string)
+ FUNC_ENTER_NOAPI_NOINIT_NOERR
/* Sanity check */
HDassert(str);