Browse Source

fix `SetAnalyse()' re-declaration

pre-master-46
h_vogt 13 years ago
committed by rlar
parent
commit
5a44b3f7f8
  1. 5
      src/frontend/inp.c
  2. 4
      src/frontend/measure.c
  3. 4
      src/frontend/spec.h
  4. 2
      src/include/ngspice/ngspice.h
  5. 4
      src/spicelib/analysis/acan.c
  6. 3
      src/spicelib/analysis/cktop.c
  7. 4
      src/spicelib/analysis/cktsetup.c
  8. 4
      src/spicelib/analysis/dcpss.c
  9. 4
      src/spicelib/analysis/dctran.c
  10. 1
      src/spicelib/analysis/dctrcurv.c
  11. 3
      src/spicelib/parser/inppas2.c

5
src/frontend/inp.c

@ -54,11 +54,6 @@ static void cktislinear(CKTcircuit *ckt, struct line *deck);
void line_free_x(struct line *deck, bool recurse); void line_free_x(struct line *deck, bool recurse);
#ifdef HAS_WINGUI
void SetAnalyse(char *Analyse, int Percent);
#endif
/* /*
* create an unique artificial *unusable* FILE ptr * create an unique artificial *unusable* FILE ptr
* meant to be used with Xprintf() only to eventually * meant to be used with Xprintf() only to eventually

4
src/frontend/measure.c

@ -26,10 +26,6 @@ static wordlist *measure_parse_line(char *line);
extern bool ft_batchmode; extern bool ft_batchmode;
extern bool rflag; extern bool rflag;
#ifdef HAS_WINGUI /* hvogt 10.03.99, nach W. Mues */
extern void SetAnalyse(char *Analyse, int Percent);
#endif
/* measure in interactive mode: /* measure in interactive mode:
meas command inside .control ... .endc loop or manually entered. meas command inside .control ... .endc loop or manually entered.

4
src/frontend/spec.h

@ -6,10 +6,6 @@
#ifndef ngspice_SPEC_H #ifndef ngspice_SPEC_H
#define ngspice_SPEC_H #define ngspice_SPEC_H
#ifdef HAS_WINGUI
extern void SetAnalyse(char *Analyse, int Percent);
#endif
void com_spec(wordlist *wl); void com_spec(wordlist *wl);
#endif #endif

2
src/include/ngspice/ngspice.h

@ -139,6 +139,8 @@
#ifdef HAS_WINGUI #ifdef HAS_WINGUI
#include "ngspice/wstdio.h" #include "ngspice/wstdio.h"
#define HAS_PROGREP
extern void SetAnalyse(char *Analyse, int Percent);
#endif #endif
#if defined (__MINGW32__) || defined (__CYGWIN__) || defined (_MSC_VER) #if defined (__MINGW32__) || defined (__CYGWIN__) || defined (_MSC_VER)

4
src/spicelib/analysis/acan.c

@ -18,10 +18,6 @@ Modified 2001: AlansFixes
/* gtri - end - wbk */ /* gtri - end - wbk */
#endif #endif
#ifdef HAS_WINGUI
void SetAnalyse( char * Analyse, int Percent);
#endif
#define INIT_STATS() \ #define INIT_STATS() \
do { \ do { \

3
src/spicelib/analysis/cktop.c

@ -16,9 +16,6 @@ static int spice3_gmin (CKTcircuit *, long int, long int, int);
static int gillespie_src (CKTcircuit *, long int, long int, int); static int gillespie_src (CKTcircuit *, long int, long int, int);
static int spice3_src (CKTcircuit *, long int, long int, int); static int spice3_src (CKTcircuit *, long int, long int, int);
#ifdef HAS_WINGUI
void SetAnalyse( char * Analyse, int Percent);
#endif
int int
CKTop (CKTcircuit * ckt, long int firstmode, long int continuemode, CKTop (CKTcircuit * ckt, long int firstmode, long int continuemode,

4
src/spicelib/analysis/cktsetup.c

@ -26,10 +26,6 @@ int nthreads;
return(E_NOMEM);\ return(E_NOMEM);\
} }
#ifdef HAS_WINGUI
extern void SetAnalyse( char * Analyse, int Percent);
#endif
int int
CKTsetup(CKTcircuit *ckt) CKTsetup(CKTcircuit *ckt)

4
src/spicelib/analysis/dcpss.c

@ -27,10 +27,6 @@
#include "ngspice/cluster.h" #include "ngspice/cluster.h"
#endif #endif
#ifdef HAS_WINGUI /* hvogt 10.03.99, nach W. Mues */
void SetAnalyse(char * Analyse, int Percent);
#endif
#define INIT_STATS() \ #define INIT_STATS() \
do { \ do { \

4
src/spicelib/analysis/dctran.c

@ -34,10 +34,6 @@ extern struct dbcomm *dbs;
#include "ngspice/cluster.h" #include "ngspice/cluster.h"
#endif #endif
#ifdef HAS_WINGUI /* hvogt 10.03.99, nach W. Mues */
void SetAnalyse(char * Analyse, int Percent);
#endif
#define INIT_STATS() \ #define INIT_STATS() \
do { \ do { \

1
src/spicelib/analysis/dctrcurv.c

@ -25,7 +25,6 @@ Modified: 1999 Paolo Nenzi
#include "ngspice/devdefs.h" #include "ngspice/devdefs.h"
#ifdef HAS_WINGUI #ifdef HAS_WINGUI
void SetAnalyse( char * Analyse, int Percent);
static double actval, actdiff; static double actval, actdiff;
#endif #endif

3
src/spicelib/parser/inppas2.c

@ -16,9 +16,6 @@ Author: 1985 Thomas L. Quarles
/* gtri - end - wbk - 11/9/90 */ /* gtri - end - wbk - 11/9/90 */
#endif #endif
#ifdef HAS_WINGUI
extern void SetAnalyse( char * Analyse, int Percent);
#endif
/* uncomment to trace in this file */ /* uncomment to trace in this file */
/*#define TRACE*/ /*#define TRACE*/

Loading…
Cancel
Save