| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- --- src/current/iozone.c.orig Tue Jul 23 21:48:56 2002
- +++ src/current/iozone.c Fri Jul 26 10:38:03 2002
- @@ -791,7 +791,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) || defined(__APPLE__) || defined(OSFV4) || defined(IRIX) || defined(IRIX64)
- +#ifdef HAVE_ANSIC_C
- float do_compute(float); /* compute cycle simulation */
- #else
- float do_compute(); /* compute cycle simulation */
- @@ -13096,27 +13096,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);
|