aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/gcov-io.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b5f9080..10de4bd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2004-03-25 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
+
+ * 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 <rsandifo@redhat.com>
* config/mips/mips-protos.h (mips_linked_macc_p): Declare.
diff --git a/gcc/gcov-io.h b/gcc/gcov-io.h
index 8e0da0e..75abbea 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 */