make functions static or add function prototypes
This commit is contained in:
parent
2dd293707b
commit
824ac4fbc9
|
|
@ -6618,7 +6618,7 @@ ako_model(struct card *startcard)
|
|||
ron r_on
|
||||
roff r_off
|
||||
*/
|
||||
int
|
||||
static int
|
||||
rep_spar(char *inpar[4])
|
||||
{
|
||||
int i;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,56 @@
|
|||
#ifndef ngspice_EVTSHARED_H
|
||||
#define ngspice_EVTSHARED_H
|
||||
|
||||
/* ===========================================================================
|
||||
FILE EVTshared.h
|
||||
|
||||
MEMBER OF process XSPICE
|
||||
|
||||
Copyright 2018
|
||||
Holger Vogt
|
||||
All Rights Reserved
|
||||
|
||||
PROJECT A-8503
|
||||
|
||||
AUTHORS
|
||||
|
||||
7/21/2018 Holger Vogt
|
||||
|
||||
MODIFICATIONS
|
||||
|
||||
<date> <person name> <nature of modifications>
|
||||
|
||||
SUMMARY
|
||||
|
||||
This file contains ANSI C function prototypes for functions
|
||||
in the event-driven simulation algorithm package.
|
||||
|
||||
INTERFACES
|
||||
|
||||
None.
|
||||
|
||||
REFERENCED FILES
|
||||
|
||||
None.
|
||||
|
||||
NON-STANDARD FEATURES
|
||||
|
||||
None.
|
||||
|
||||
=========================================================================== */
|
||||
|
||||
#include "ngspice/cktdefs.h"
|
||||
#include "ngspice/cpstd.h"
|
||||
#include "ngspice/evt.h"
|
||||
#include "ngspice/mifdefs.h"
|
||||
#include "ngspice/ipc.h"
|
||||
|
||||
|
||||
/* ******************* */
|
||||
/* Function Prototypes */
|
||||
/* ******************* */
|
||||
|
||||
struct evt_shared_data *EVTshareddata(char *node_name);
|
||||
char** EVTallnodes(void);
|
||||
|
||||
#endif
|
||||
|
|
@ -164,6 +164,12 @@ typedef void (*sighandler)(int);
|
|||
#define S_IRWXU _S_IWRITE
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef XSPICE
|
||||
#include "ngspice/evtshared.h"
|
||||
extern bool wantevtdata;
|
||||
#endif
|
||||
|
||||
extern IFfrontEnd nutmeginfo;
|
||||
|
||||
extern struct comm spcp_coms[ ];
|
||||
|
|
@ -172,11 +178,6 @@ extern int SIMinit(IFfrontEnd *frontEnd, IFsimulator **simulator);
|
|||
extern wordlist *cp_varwl(struct variable *var);
|
||||
extern void create_circbyline(char *line);
|
||||
|
||||
#ifdef XSPICE
|
||||
extern struct evt_shared_data *EVTshareddata(char *node_name);
|
||||
extern char** EVTallnodes(void);
|
||||
extern bool wantevtdata;
|
||||
#endif
|
||||
|
||||
|
||||
/*The current run (to get variable names, etc)*/
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ NON-STANDARD FEATURES
|
|||
#include "ngspice/evtudn.h"
|
||||
|
||||
#include "ngspice/evtproto.h"
|
||||
#include "ngspice/evtshared.h"
|
||||
|
||||
#include <time.h>
|
||||
|
||||
|
|
@ -68,7 +69,7 @@ pevt_data *return_node;
|
|||
pevt_shared_data return_all;
|
||||
|
||||
/* delete the information return structures */
|
||||
void
|
||||
static void
|
||||
delete_ret(void)
|
||||
{
|
||||
int i;
|
||||
|
|
|
|||
Loading…
Reference in New Issue