diff options
author | stas <stas@FreeBSD.org> | 2006-12-17 02:11:39 +0800 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2006-12-17 02:11:39 +0800 |
commit | 4d595ac259a0786ff97e238f026291cbc508ab8e (patch) | |
tree | d51114be2fa57fbe471205916bec9387615c91c0 /cad | |
parent | 8968ab262aadd27b3a98db50825243d3ef56b91f (diff) | |
download | freebsd-ports-gnome-4d595ac259a0786ff97e238f026291cbc508ab8e.tar.gz freebsd-ports-gnome-4d595ac259a0786ff97e238f026291cbc508ab8e.tar.zst freebsd-ports-gnome-4d595ac259a0786ff97e238f026291cbc508ab8e.zip |
- gcc 4 compatiblity
Reported by: kris
Diffstat (limited to 'cad')
-rw-r--r-- | cad/tclspice/files/patch-src_frontend_subckt.c | 20 |
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)) |