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