• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1This patch deletes redeclarations of standard library functions. This is needed
2for clang-style FORTIFY, as it will emit errors when it sees these
3redeclarations.
4
5diff --git iozone3_347/src/current/fileop.c iozone3_347/src/current/fileop.c
6index 57ddf68..779f24c 100644
7--- iozone3_347/src/current/fileop.c
8+++ iozone3_347/src/current/fileop.c
9@@ -116,7 +116,6 @@ void file_unlink(int);
10 void file_read(int);
11 void splash(void);
12 void usage(void);
13-void bzero();
14 void clear_stats();
15 int validate(char *, int , char );
16
17diff --git iozone3_347/src/current/iozone.c iozone3_347/src/current/iozone.c
18index 1b291b8..6c7d3ac 100644
19--- iozone3_347/src/current/iozone.c
20+++ iozone3_347/src/current/iozone.c
21@@ -988,7 +988,6 @@ int sp_start_master_listen();
22 #ifdef HAVE_ANSIC_C
23 #if defined (HAVE_PREAD) && defined(_LARGEFILE64_SOURCE)
24 ssize_t pwrite64();
25-ssize_t pread64();
26 #endif
27 #if !defined(linux)
28 char *getenv();
29