misc_time.c: make timediff always availabe when timeb.h is found

This commit is contained in:
h_vogt 2013-07-12 00:24:06 +02:00
parent 9552449c87
commit a808ce8d42
2 changed files with 0 additions and 8 deletions

View File

@ -65,8 +65,6 @@ datestring(void)
/* return time interval in seconds and milliseconds */
#ifndef HAVE_GETRUSAGE
#ifndef HAVE_TIMES
#ifdef HAVE_FTIME
struct timeb timebegin;
@ -84,8 +82,6 @@ void timediff(struct timeb *now, struct timeb *begin, int *sec, int *msec)
}
#endif
#endif
#endif
/*

View File

@ -9,16 +9,12 @@
char * datestring(void);
double seconds(void);
#ifndef HAVE_GETRUSAGE
#ifndef HAVE_TIMES
#ifdef HAVE_FTIME
extern struct timeb timebegin;
void timediff(struct timeb *, struct timeb *, int *, int *);
#endif
#endif
#endif
#endif