diff --git a/ChangeLog b/ChangeLog index 13eb6003f..07e4c6ab1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-09-08 Paolo Nenzi + + * src/frontend/streams.{c,h}: applied Hitoshi's fix for undefined + symbols when compiling ngspice under Linux. + + 2005-09-06 Steven Borley * Fixed alphabetic order in AUTHORS diff --git a/src/frontend/streams.c b/src/frontend/streams.c index 90e5881ef..5a719732b 100644 --- a/src/frontend/streams.c +++ b/src/frontend/streams.c @@ -17,18 +17,18 @@ bool cp_debug = FALSE; char cp_gt = '>'; char cp_lt = '<'; char cp_amp = '&'; - -FILE *cp_in = NULL; -FILE *cp_out = NULL; -FILE *cp_err = NULL; - +/* +FILE *cp_in=NULL; +FILE *cp_out=NULL; +FILE *cp_err=NULL; +*/ /* These are the fps that cp_ioreset resets the cp_* to. They are * changed by the source routines. */ - +/* FILE *cp_curin = NULL; FILE *cp_curout = NULL; FILE *cp_curerr = NULL; - +*/ /* static functions */ static bool fileexists(char *name); diff --git a/src/frontend/streams.h b/src/frontend/streams.h index 0600b2292..651d37fb0 100644 --- a/src/frontend/streams.h +++ b/src/frontend/streams.h @@ -13,12 +13,12 @@ extern bool cp_debug; extern char cp_amp; extern char cp_gt; extern char cp_lt; -extern FILE *cp_in; -extern FILE *cp_out; -extern FILE *cp_err; -extern FILE *cp_curin; -extern FILE *cp_curout; -extern FILE *cp_curerr; +FILE *cp_in; +FILE *cp_out; +FILE *cp_err; +FILE *cp_curin; +FILE *cp_curout; +FILE *cp_curerr; void cp_ioreset(void); void fixdescriptors(void);