summaryrefslogtreecommitdiffstats
path: root/cad/tclspice/files/patch-src_frontend_subckt.c
diff options
context:
space:
mode:
Diffstat (limited to 'cad/tclspice/files/patch-src_frontend_subckt.c')
-rw-r--r--cad/tclspice/files/patch-src_frontend_subckt.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/cad/tclspice/files/patch-src_frontend_subckt.c b/cad/tclspice/files/patch-src_frontend_subckt.c
new file mode 100644
index 0000000..1ebe579
--- /dev/null
+++ b/cad/tclspice/files/patch-src_frontend_subckt.c
@@ -0,0 +1,20 @@
+--- src/frontend/subckt.c.orig Sat Dec 16 21:03:20 2006
++++ src/frontend/subckt.c Sat Dec 16 21:03:58 2006
+@@ -79,7 +79,7 @@
+ static int numdevs(char *s);
+ static bool modtranslate(struct line *deck, char *subname);
+ static void devmodtranslate(struct line *deck, char *subname);
+-static int inp_numnodes(char c);
++int inp_numnodes(char c);
+
+ /*---------------------------------------------------------------------
+ * table is used in settrans and gettrans -- it holds the netnames used
+@@ -1860,7 +1860,7 @@
+ * else, but... Note that we pretend that dependent sources and mutual
+ * inductors have more nodes than they really do...
+ *----------------------------------------------------------------------*/
+-static int
++int
+ inp_numnodes(char c)
+ {
+ if (isupper(c))
OpenPOWER on IntegriCloud