collect extern timebegin in "misc_time.h"
This commit is contained in:
parent
2540531c38
commit
b897dfa857
|
|
@ -1,3 +1,9 @@
|
|||
2010-10-15 Robert Larice
|
||||
* src/include/ngspice.h ,
|
||||
* src/main.c ,
|
||||
* src/misc/misc_time.h :
|
||||
collect extern timebegin in "misc_time.h"
|
||||
|
||||
2010-10-15 Robert Larice
|
||||
* src/ciderlib/support/globals.c ,
|
||||
* src/ciderlib/support/mater.c ,
|
||||
|
|
|
|||
|
|
@ -124,7 +124,6 @@
|
|||
# else
|
||||
# ifdef HAVE_FTIME
|
||||
# include <sys/timeb.h>
|
||||
extern struct timeb timebegin;
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@ extern int rl_catch_signals; /* missing from editline/readline.h */
|
|||
#include "spicelib/devices/dev.h"
|
||||
#include "spicelib/analysis/analysis.h"
|
||||
#include "misc/ivars.h"
|
||||
#include "misc/misc_time.h"
|
||||
#if defined(HAVE_GETOPT_LONG) && defined(HAVE_GETOPT_H)
|
||||
#include <getopt.h>
|
||||
#else
|
||||
|
|
@ -185,12 +186,6 @@ static void append_to_stream(FILE *dest, FILE *source);
|
|||
#endif /* SIMULATOR */
|
||||
|
||||
|
||||
#ifndef HAVE_GETRUSAGE
|
||||
#ifdef HAVE_FTIME
|
||||
extern struct timeb timebegin; /* for use w/ ftime */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
extern IFsimulator SIMinfo;
|
||||
|
||||
#ifdef SIMULATOR
|
||||
|
|
|
|||
|
|
@ -13,6 +13,8 @@ double seconds(void);
|
|||
#ifndef HAVE_TIMES
|
||||
#ifdef HAVE_FTIME
|
||||
|
||||
extern struct timeb timebegin;
|
||||
|
||||
void timediff(struct timeb *, struct timeb *, int *, int *);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue