diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b5f9080a05f..10de4bdcd7d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-03-25 Zdenek Dvorak + + * gcov-io.h (__gcov_fork, __gcov_execl, __gcov_execlp, __gcov_execle, + __gcov_execv, __gcov_execvp, __gcov_execve): Do not declare when + inhibit_libc is defined. + 2004-04-25 Richard Sandiford * config/mips/mips-protos.h (mips_linked_macc_p): Declare. diff --git a/gcc/gcov-io.h b/gcc/gcov-io.h index 8e0da0e572a..75abbea479b 100644 --- a/gcc/gcov-io.h +++ b/gcc/gcov-io.h @@ -448,6 +448,7 @@ extern void __gcov_merge_single (gcov_type *, unsigned); consecutive values. */ extern void __gcov_merge_delta (gcov_type *, unsigned); +#ifndef inhibit_libc /* The wrappers around some library functions.. */ extern pid_t __gcov_fork (void); extern int __gcov_execl (const char *, const char *, ...); @@ -456,6 +457,7 @@ extern int __gcov_execle (const char *, const char *, ...); extern int __gcov_execv (const char *, char *const []); extern int __gcov_execvp (const char *, char *const []); extern int __gcov_execve (const char *, char *const [], char *const []); +#endif #endif /* IN_LIBGCOV */