diff options
author | DJ Delorie <dj@redhat.com> | 2005-03-10 01:06:07 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2005-03-10 01:06:07 +0000 |
commit | 8ec3272396aa865eb55f47f51f54e81cb61ff636 (patch) | |
tree | 2f9b861a6e100d394d4496e7b1012a05ffe7ceac /include/libiberty.h | |
parent | 109f70961993d87c90fab4a7ba8de115759f5999 (diff) | |
download | gdb-8ec3272396aa865eb55f47f51f54e81cb61ff636.zip gdb-8ec3272396aa865eb55f47f51f54e81cb61ff636.tar.gz gdb-8ec3272396aa865eb55f47f51f54e81cb61ff636.tar.bz2 |
merge from gcc
Diffstat (limited to 'include/libiberty.h')
-rw-r--r-- | include/libiberty.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/libiberty.h b/include/libiberty.h index 4df8140..0814695 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -145,6 +145,15 @@ extern int fdmatch PARAMS ((int fd1, int fd2)); extern char * getpwd PARAMS ((void)); +/* Get the current time. */ +/* Prototypes vary from system to system, so we only provide a + prototype on systems where we know that we need it. */ +#ifdef __MINGW32__ +/* Forward declaration to avoid #include <sys/time.h>. */ +struct timeval; +extern int gettimeofday PARAMS ((struct timeval *, void *)); +#endif + /* Get the amount of time the process has run, in microseconds. */ extern long get_run_time PARAMS ((void)); |