Blob Blame History Raw
--- ngspice-32/src/xspice/icm/dlmain.h.gcc10	2020-05-03 16:35:31.000000000 +0900
+++ ngspice-32/src/xspice/icm/dlmain.h	2020-05-05 15:22:20.263239365 +0900
@@ -5,6 +5,6 @@
 #include "ngspice/mifproto.h"
 #include "ngspice/dllitf.h"
 
-struct coreInfo_t *coreitf;
+extern struct coreInfo_t *coreitf;
 
 #endif /* dlmain.h */
diff --git a/src/ngsconvert.c b/src/ngsconvert.c
index f8a7a5176..6e09b9033 100644
--- a/src/ngsconvert.c
+++ b/src/ngsconvert.c
@@ -24,7 +24,6 @@ FILE *cp_err = NULL;
 FILE *cp_curin = NULL;
 FILE *cp_curout = NULL;
 FILE *cp_curerr = NULL;
-int cp_maxhistlength;
 bool cp_debug = FALSE;
 char cp_chars[128];
 bool cp_nocc = TRUE;