summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2006-12-16 18:11:39 +0000
committerStanislav Sedov <stas@FreeBSD.org>2006-12-16 18:11:39 +0000
commit61e537065613082511a8faae5426dde33a196796 (patch)
tree8e232670fca43b5d08d69fe94c8364f2c3d9652e /cad
parentDon't need to remove check on GCC anymore, which it used to be problem. With (diff)
- gcc 4 compatiblity
Reported by: kris
Notes
Notes: svn path=/head/; revision=179966
Diffstat (limited to 'cad')
-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 000000000000..1ebe5799fb8c
--- /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))