summaryrefslogtreecommitdiffstats
path: root/src/H5FD.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-08-14 22:09:56 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-08-14 22:09:56 (GMT)
commite87fc517b8fc391cf18c268ce0b195eb7398a4a7 (patch)
tree494d1d87f71f87f320707989b7f12eec0f1d3805 /src/H5FD.c
parenteef2829d1655e42225b2400c6e3d123be26e08a8 (diff)
downloadhdf5-e87fc517b8fc391cf18c268ce0b195eb7398a4a7.zip
hdf5-e87fc517b8fc391cf18c268ce0b195eb7398a4a7.tar.gz
hdf5-e87fc517b8fc391cf18c268ce0b195eb7398a4a7.tar.bz2
[svn-r4355] Purpose:
Code cleanup (sorta) Description: When the first versions of the HDF5 library were designed, I remembered vividly the difficulties of porting code from a 32-bit platform to a 16-bit platform and asked that people use intn & uintn instead of int & unsigned int, respectively. However, in hindsight, this was overkill and unnecessary since we weren't going to be porting the HDF5 library to 16-bit architectures. Currently, the extra uintn & intn typedefs are causing problems for users who'd like to include both the HDF5 and HDF4 header files in one source module (like Kent's h4toh5 library). Solution: Changed the uintn & intn's to unsigned and int's respectively. Platforms tested: FreeBSD 4.4 (hawkwind)
Diffstat (limited to 'src/H5FD.c')
-rw-r--r--src/H5FD.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/H5FD.c b/src/H5FD.c
index fd24594..25d5206 100644
--- a/src/H5FD.c
+++ b/src/H5FD.c
@@ -27,7 +27,7 @@
/* Interface initialization */
#define PABLO_MASK H5FD_mask
#define INTERFACE_INIT H5FD_init_interface
-static intn interface_initialize_g = 0;
+static int interface_initialize_g = 0;
/* static prototypes */
static herr_t H5FD_init_interface(void);
@@ -89,10 +89,10 @@ H5FD_init_interface(void)
*
*-------------------------------------------------------------------------
*/
-intn
+int
H5FD_term_interface(void)
{
- intn n = 0;
+ int n = 0;
if (interface_initialize_g) {
if ((n=H5I_nmembers(H5I_VFL))) {
@@ -860,7 +860,7 @@ H5FD_close(H5FD_t *file)
H5FD_free_t *cur, *next;
H5FD_mem_t i;
#ifdef H5F_DEBUG
- uintn nblocks=0;
+ unsigned nblocks=0;
hsize_t nbytes=0;
#endif
@@ -944,7 +944,7 @@ H5FD_close(H5FD_t *file)
int
H5FDcmp(const H5FD_t *f1, const H5FD_t *f2)
{
- intn ret_value;
+ int ret_value;
FUNC_ENTER(H5FDcmp, -1); /*return value is arbitrary*/
H5TRACE2("Is","xx",f1,f2);
@@ -973,7 +973,7 @@ H5FDcmp(const H5FD_t *f1, const H5FD_t *f2)
int
H5FD_cmp(const H5FD_t *f1, const H5FD_t *f2)
{
- intn ret_value;
+ int ret_value;
FUNC_ENTER(H5FD_cmp, -1); /*return value is arbitrary*/
@@ -1015,7 +1015,7 @@ H5FD_cmp(const H5FD_t *f1, const H5FD_t *f2)
int
H5FDquery(const H5FD_t *f, unsigned long *flags/*out*/)
{
- intn ret_value;
+ int ret_value;
FUNC_ENTER(H5FDquery, FAIL);
H5TRACE2("Is","xx",f,flags);
@@ -1048,7 +1048,7 @@ H5FDquery(const H5FD_t *f, unsigned long *flags/*out*/)
int
H5FD_query(const H5FD_t *f, unsigned long *flags/*out*/)
{
- intn ret_value=0;
+ int ret_value=0;
FUNC_ENTER(H5FD_query, FAIL);