merge from gcc

This commit is contained in:
DJ Delorie 2005-03-10 01:05:51 +00:00
parent 8b59143fcd
commit 2e5fb2d9fa
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2005-03-09 Mark Mitchell <mark@codesourcery.com>
* libiberty.h (gettimeofday): Declare.
2005-03-01 Jan Beulich <jbeulich@novell.com>
* libiberty.h: Declare unlink_if_ordinary.

View File

@ -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));