From 0bf637b3d229f7b0723398bf1260bae8d912542b Mon Sep 17 00:00:00 2001 From: Patrick Lu Date: Thu, 19 Nov 1998 14:12:21 -0500 Subject: [svn-r930] *** empty log message *** --- test/overhead.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/test/overhead.c b/test/overhead.c index 69ec1b2..ec3b877 100644 --- a/test/overhead.c +++ b/test/overhead.c @@ -10,13 +10,15 @@ /* See H5private.h for how to include headers */ #undef NDEBUG -#include +#include #ifdef STDC_HEADERS # include # include # include # include +# include +# include #endif #ifdef HAVE_UNISTD_H @@ -24,6 +26,8 @@ # include #endif +#include + #ifndef HAVE_ATTRIBUTE # undef __attribute__ # define __attribute__(X) /*void*/ @@ -35,7 +39,7 @@ #define FILE_NAME_1 "overhead.h5" #define FALSE 0 #define TRUE 1 - + typedef enum fill_t { FILL_ALL, FILL_FORWARD, @@ -237,7 +241,7 @@ test(fill_t fill_style, const double splits[], if (verbose) { if (H5Fflush(file, H5F_SCOPE_LOCAL)<0) goto error; if (fstat(fd, &sb)<0) goto error; - /* + /* * The extra cast in the following statement is a bug workaround * for the Win32 version 5.0 compiler. * 1998-11-06 ptl @@ -281,8 +285,7 @@ test(fill_t fill_style, const double splits[], * 1998-11-06 ptl */ printf("%-7s %8.3f\n", sname, - (double)((hssize_t)((sb.st_size-cur_size[0]*sizeof(int))/ - cur_size[0]))); + (double)((hssize_t)((sb.st_size-cur_size[0]*sizeof(int))/cur_size[0]))); } close(fd); -- cgit v0.12