| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- --- src/current/iozone.c Wed Jun 26 23:45:45 2002
- +++ src/current/iozone.c.orig Mon Jul 1 16:06:47 2002
- @@ -782,7 +782,7 @@
- void throughput_test(); /* Multi process throughput */
- void multi_throughput_test(); /* Multi process throughput */
- void prepage(); /* Pre-fault user buffer */
- -#if defined(linux) || defined(solaris) || defined(__AIX__) || defined(OSFV5) || defined(UWIN) || defined(Windows)
- +#ifdef HAVE_ANSIC_C
- float do_compute(float); /* compute cycle simulation */
- #else
- float do_compute(); /* compute cycle simulation */
- @@ -13030,27 +13030,27 @@
- }
-
- #ifndef ASYNC_IO
- -async_read()
- +int async_read()
- {
- printf("Your system does not support async I/O\n");
- exit(169);
- }
- -async_write_no_copy()
- +size_t async_write_no_copy()
- {
- printf("Your system does not support async I/O\n");
- exit(170);
- }
- -async_write()
- +size_t async_write()
- {
- printf("Your system does not support async I/O\n");
- exit(171);
- }
- -async_read_no_copy()
- +int async_read_no_copy()
- {
- printf("Your system does not support async I/O\n");
- exit(172);
- }
- -async_release()
- +void async_release()
- {
- printf("Your system does not support async I/O\n");
- exit(173);
|