aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov-io.h
diff options
context:
space:
mode:
authorZdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>2004-04-25 18:38:07 +0200
committerZdenek Dvorak <rakdver@gcc.gnu.org>2004-04-25 16:38:07 +0000
commit060c5f005e19938ff900cc653af1a46947b91d1d (patch)
tree156c8780128962cdf9e530cb0751efd8f725053d /gcc/gcov-io.h
parent247791f5d179ac6fd5a437a1acd342af7f8c1640 (diff)
downloadgcc-060c5f005e19938ff900cc653af1a46947b91d1d.zip
gcc-060c5f005e19938ff900cc653af1a46947b91d1d.tar.gz
gcc-060c5f005e19938ff900cc653af1a46947b91d1d.tar.bz2
gcov-io.h (__gcov_fork, [...]): Do not declare when inhibit_libc is defined.
* 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. From-SVN: r81164
Diffstat (limited to 'gcc/gcov-io.h')
-rw-r--r--gcc/gcov-io.h2
1 files changed, 2 insertions, 0 deletions
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 */