=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Installing for spice-3f5.1nb6
=> Generating pre-install file lists
=> Creating installation directories
cd /Users/pbulk/build/cad/spice/work && env WRKSRC=/Users/pbulk/build/cad/spice/work USETOOLS=no GOTMPDIR=/Users/pbulk/build MACOSX_DEPLOYMENT_TARGET=12.3 CC=clang CFLAGS=-pipe\ -Os\ -Dbsd\ -I/opt/pkg/include/ncurses\ -I/opt/pkg/include CPPFLAGS=-I/opt/pkg/include/ncurses\ -I/opt/pkg/include CXX=clang++ CXXFLAGS=-pipe\ -Os\ -Dbsd\ -I/opt/pkg/include/ncurses\ -I/opt/pkg/include COMPILER_RPATH_FLAG=-L F77=f77 FC=f77 FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/opt/pkg/lib LINKER_RPATH_FLAG=-L PATH=/Users/pbulk/build/cad/spice/work/.cwrapper/bin:/Users/pbulk/build/cad/spice/work/.buildlink/bin:/Users/pbulk/build/cad/spice/work/.tools/bin:/opt/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/opt/pkg/etc CXXCPP=clang\ -E HOME=/Users/pbulk/build/cad/spice/work/.home CWRAPPERS_CONFIG_DIR=/Users/pbulk/build/cad/spice/work/.cwrapper/config CPP=clang\ -E LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=Mach-O USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 775 INSTALL_INFO= MAKEINFO=/Users/pbulk/build/cad/spice/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/Users/pbulk/build/cad/spice/work/.tools/bin/itstool GDBUS_CODEGEN=/Users/pbulk/build/cad/spice/work/.tools/bin/gdbus-codegen PKG_CONFIG=/Users/pbulk/build/cad/spice/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/Users/pbulk/build/cad/spice/work/.buildlink/lib/pkgconfig:/Users/pbulk/build/cad/spice/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/Users/pbulk/build/cad/spice/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/Users/pbulk/build/cad/spice/work/.cwrapper/config DESTDIR=/Users/pbulk/build/cad/spice/work/.destdir util/build NetBSD install
Begin build on pkgsrc-mac-0.local for NetBSD on Tue May 14 00:29:47 UTC 2024:
Making "install" in work
Creating "/Users/pbulk/build/cad/spice/work/.destdir/opt/pkg/share/spice3"
Creating "/Users/pbulk/build/cad/spice/work/.destdir/opt/pkg/share/spice3/helpdir"
Creating "/Users/pbulk/build/cad/spice/work/.destdir/opt/pkg/share/spice3/scripts"
UPDATING /Users/pbulk/build/cad/spice/work/NetBSD/tmp/spice
Making "install" in src
Making "install" in lib
Making "install" in dev
Making "install" in disto
	 Done with work/src/lib/dev/disto
Making "install" in asrc
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcconv.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcconv.c:8:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcconv.c:8:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcconv.c:8:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcconv.c:11:
/Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
char *SPerror();
      ^
/Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:304:8: note: conflicting prototype is here
char * SPerror( int );
       ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcconv.c:12:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcconv.c:12:
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcconv.c:12:
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcconv.c:12:
/Users/pbulk/build/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void free();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcconv.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ASRCconvTest( inModel, ckt)
^
/Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcconv.c:38:15: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                asrc_vals = NEWN(double, i);
                            ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:60:36: note: expanded from macro 'NEWN'
#define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT)))
                                   ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/dev/asrc//asrcconv.c:39:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                asrc_derivs = NEWN(double, i);
                              ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:60:36: note: expanded from macro 'NEWN'
#define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT)))
                                   ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
12 warnings and 4 errors generated.
*** Error code 1 (continuing)
`recursive' not remade because of errors.
Making "install" in bjt
	 Done with work/src/lib/dev/bjt
Making "install" in bsim1
	 Done with work/src/lib/dev/bsim1
Making "install" in bsim2
	 Done with work/src/lib/dev/bsim2
Making "install" in cap
	 Done with work/src/lib/dev/cap
Making "install" in cccs
	 Done with work/src/lib/dev/cccs
Making "install" in ccvs
	 Done with work/src/lib/dev/ccvs
Making "install" in csw
	 Done with work/src/lib/dev/csw
Making "install" in dio
	 Done with work/src/lib/dev/dio
Making "install" in ind
	 Done with work/src/lib/dev/ind
Making "install" in isrc
	 Done with work/src/lib/dev/isrc
Making "install" in jfet
	 Done with work/src/lib/dev/jfet
Making "install" in ltra
	 Done with work/src/lib/dev/ltra
Making "install" in mes
	 Done with work/src/lib/dev/mes
Making "install" in mos1
	 Done with work/src/lib/dev/mos1
Making "install" in mos2
	 Done with work/src/lib/dev/mos2
Making "install" in mos3
	 Done with work/src/lib/dev/mos3
Making "install" in mos6
	 Done with work/src/lib/dev/mos6
Making "install" in res
	 Done with work/src/lib/dev/res
Making "install" in sw
	 Done with work/src/lib/dev/sw
Making "install" in tra
	 Done with work/src/lib/dev/tra
Making "install" in urc
	 Done with work/src/lib/dev/urc
Making "install" in vccs
	 Done with work/src/lib/dev/vccs
Making "install" in vcvs
	 Done with work/src/lib/dev/vcvs
Making "install" in vsrc
	 Done with work/src/lib/dev/vsrc
	 Done with work/src/lib/dev
Making "install" in ckt
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//acsetp.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//acsetp.c:12:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//acsetp.c:12:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//acsetp.c:12:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//acsetp.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ACsetParm(ckt,anal,which,value)
^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//acsetp.c:27:19: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            errMsg = copy("Frequency of 0 is invalid");
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//acsetp.c:37:19: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            errMsg = copy("Frequency of 0 is invalid");
                         ^
7 warnings and 1 error generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltm.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltm.c:14:
/Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
char *SPerror();
      ^
/Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:304:8: note: conflicting prototype is here
char * SPerror( int );
       ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltm.c:15:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: conflicting prototype is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc'
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: conflicting prototype is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc'
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: conflicting prototype is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc'
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here
extern char *realloc();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltm.c:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltm.c:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltm.c:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltm.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
CKTdltMod(cktp,modPtr)
^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltm.c:44:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(h);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltm.c:47:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(m);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
14 warnings and 4 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltn.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltn.c:12:
/Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
char *SPerror();
      ^
/Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:304:8: note: conflicting prototype is here
char * SPerror( int );
       ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltn.c:13:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: conflicting prototype is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc'
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: conflicting prototype is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc'
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: conflicting prototype is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc'
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here
extern char *realloc();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltn.c:14:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltn.c:14:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltn.c:14:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltn.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
CKTdltNod(ckt,node)
^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltn.c:24:12: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    return CKTdltNNum(ckt, ((CKTnode *) node)->number);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltn.c:60:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(node);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//cktdltn.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
CKTdltNNum(cktp, num)
^
15 warnings and 4 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetup.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetup.c:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetup.c:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetup.c:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetup.c:17:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetup.c:17:
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetup.c:17:
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetup.c:17:
/Users/pbulk/build/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void free();
            ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetup.c:19:
/Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
char *SPerror();
      ^
/Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:304:8: note: conflicting prototype is here
char * SPerror( int );
       ^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetup.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
CKTsetup(ckt)
^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetup.c:64:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        CKALLOC(ckt->CKTstates[i],ckt->CKTnumStates,double);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetup.c:24:32: note: expanded from macro 'CKALLOC'
    if(size && (!(var =(type *)MALLOC((size)*sizeof(type))))){\
                               ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetup.c:94:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(ckt->CKTstates[i]);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//cktsetup.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
CKTunsetup(ckt)
^
13 warnings and 4 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:6:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:6:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:8:
/Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment]
    /* TRANdefs.h - defs for transient analyses */
    ^
/Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern int TRANaskQuest();
           ^
/Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:308:5: note: conflicting prototype is here
int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *);
    ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:8:
/Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern int TRANsetParm();
           ^
/Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:309:5: note: conflicting prototype is here
int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *);
    ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:19:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:19:
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:19:
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:19:
/Users/pbulk/build/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void free();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
CKTtrouble(cktp, optmsg)
^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:73:32: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat]
                sprintf(msg_p, " %s = %g: ", cv->TRCVvName[i],
                                 ~~          ^~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:76:32: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat]
                sprintf(msg_p, " %s = %g: ", cv->TRCVvName[i],
                                 ~~          ^~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:91:3: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat]
                CKTnodName(ckt, ckt->CKTtroubleNode));
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:95:6: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat]
            ckt->CKTtroubleElt->GENmodPtr->GENmodName,
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:96:6: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat]
            ckt->CKTtroubleElt->GENname);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/ckt//ckttroub.c:101:12: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    emsg = MALLOC(strlen(msg_buf)+1);
           ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
18 warnings and 4 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:10:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:10:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:12:
/Users/pbulk/build/cad/spice/work/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment]
    /* TRANdefs.h - defs for transient analyses */
    ^
/Users/pbulk/build/cad/spice/work/src/include/trandefs.h:34:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern int TRANaskQuest();
           ^
/Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:308:5: note: conflicting prototype is here
int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *);
    ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:12:
/Users/pbulk/build/cad/spice/work/src/include/trandefs.h:33:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern int TRANsetParm();
           ^
/Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:309:5: note: conflicting prototype is here
int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *);
    ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:14:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:14:
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:14:
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:14:
/Users/pbulk/build/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void free();
            ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:15:
/Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
char *SPerror();
      ^
/Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:304:8: note: conflicting prototype is here
char * SPerror( int );
       ^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
DCtran(ckt,restart) 
^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:72:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            ckt->CKTtimePoints = NEWN(double, ckt->CKTtimeListSize);
                                 ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:60:36: note: expanded from macro 'NEWN'
#define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT)))
                                   ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:76:34: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ckt->CKTbreaks=(double *)MALLOC(2*sizeof(double));
                                 ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//dctran.c:174:38: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            ckt->CKTtimePoints = (double *) REALLOC( (char *)
                                            ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC'
#define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y))
                             ^
16 warnings and 4 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctrcurv.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctrcurv.c:7:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctrcurv.c:7:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctrcurv.c:17:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctrcurv.c:17:
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctrcurv.c:17:
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctrcurv.c:17:
/Users/pbulk/build/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void free();
            ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dctrcurv.c:18:
/Users/pbulk/build/cad/spice/work/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
char *SPerror();
      ^
/Users/pbulk/build/cad/spice/work/src/include/cktdefs.h:304:8: note: conflicting prototype is here
char * SPerror( int );
       ^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//dctrcurv.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
DCtrCurv(ckt,restart) 
^
10 warnings and 4 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//dsetparm.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dsetparm.c:12:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dsetparm.c:12:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//dsetparm.c:12:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//dsetparm.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
DsetParm(ckt,anal,which,value)
^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//dsetparm.c:27:19: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            errMsg = copy("Frequency of 0 is invalid");
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//dsetparm.c:37:19: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            errMsg = copy("Frequency of 0 is invalid");
                         ^
7 warnings and 1 error generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/lib/ckt//nsetparm.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//nsetparm.c:12:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//nsetparm.c:12:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//nsetparm.c:12:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//nsetparm.c:54:19: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            errMsg = copy("Frequency of 0 is invalid");
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//nsetparm.c:64:19: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            errMsg = copy("Frequency of 0 is invalid");
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/ckt//nsetparm.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
NsetParm(ckt,anal,which,value)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/ckt//nsetparm.c:11:
/Users/pbulk/build/cad/spice/work/src/include/noisedef.h:125:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int NsetParm();
           ^
8 warnings and 1 error generated.
*** Error code 1 (continuing)
`recursive' not remade because of errors.
Making "install" in cp
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:35:20: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    realw = wl_copy(cp_lastone->hi_wlist);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:47:16: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl_free(cp_lastone->hi_wlist);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:48:39: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_lastone->hi_wlist = wl_copy(comm);
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:50:25: warning: passing arguments to 'asubst' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            nwl = asubst(comm);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:55:24: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wl_free(comm);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:59:24: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wl_free(comm);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:84:12: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wl_free(cp_lastone->hi_wlist);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_doalias(wlist)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:21:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern wordlist *cp_doalias();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:112:30: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wl = cp_histsubst(wl_copy(al->al_text));
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:112:22: warning: passing arguments to 'cp_histsubst' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wl = cp_histsubst(wl_copy(al->al_text));
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:116:16: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl_free(cp_lastone->hi_wlist);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:117:39: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_lastone->hi_wlist = wl_copy(wl);
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:121:29: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        w->wl_next = wl_copy(wlist->wl_next);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
asubst(wlist)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:14:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static wordlist *asubst();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:137:15: warning: passing arguments to 'cp_unalias' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_unalias(word);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:138:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_addkword(CT_ALIASES, word);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:141:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        al = cp_aliases = alloc(struct alias);
                          ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:155:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            al->al_next = alloc(struct alias);
                          ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:161:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            cp_aliases = alloc(struct alias);
                         ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:168:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    al->al_name = copy(word);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:169:26: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    al->al_text = wl_copy(wlist);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:170:17: warning: passing arguments to 'cp_striplist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_striplist(al->al_text);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:175:15: warning: passing arguments to 'cp_addcomm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_addcomm(word, (long) 1, (long) 1, (long) 1, (long) 1);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_setalias(word, wlist)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:19:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void cp_setalias();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:188:16: warning: passing arguments to 'cp_remkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_remkword(CT_ALIASES, word);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:202:12: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wl_free(al->al_text);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:203:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(al->al_name);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:204:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(al);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:205:15: warning: passing arguments to 'cp_remcomm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_remcomm(word);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_unalias(word)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:20:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void cp_unalias();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:219:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl_print(al->al_text, cp_out);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_paliases(word)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:18:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void cp_paliases();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_alias(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:16:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_alias();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:249:20: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl_free(al->al_text);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:250:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(al->al_name);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:251:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(al);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_unalias(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//alias.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:17:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_unalias();
            ^
49 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:12:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:12:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:49:29: warning: passing arguments to 'backeval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!(nwl = backeval(buf))) {
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:57:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(nwl->wl_word);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:59:32: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            nwl->wl_word = copy(buf);
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:61:23: warning: passing arguments to 'wl_splice' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl = wl_splice(wl, nwl);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:65:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(wl->wl_word);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:66:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl->wl_word = copy(buf);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_bquote(wlist)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:26:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern wordlist *cp_bquote();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:88:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
    extern FILE *popen( );
                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:227:7: note: conflicting prototype is here
FILE    *popen(const char *, const char *) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(popen)) __swift_unavailable("Use posix_spawn APIs or NSTask instead. (On iOS, process spawning is unavailable.)");
         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:100:18: warning: passing arguments to 'cp_lexer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wl = cp_lexer((char *) NULL);
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
backeval(string)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//backq.c:16:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static wordlist *backeval();
                 ^
17 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:16:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: conflicting prototype is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc'
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: conflicting prototype is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc'
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: conflicting prototype is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc'
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here
extern char *realloc();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:99:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    buf = cp_unquote(copy(buf));
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:99:21: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    buf = cp_unquote(copy(buf));
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:100:14: warning: passing arguments to 'cp_wstrip' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_wstrip(buf);
             ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:102:21: warning: passing arguments to 'getccom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cc = getccom(wlist->wl_word);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:105:24: warning: passing arguments to 'wl_length' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        arg = wl_length(wlist) - 2;
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:110:31: warning: passing arguments to 'ccfilec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            pmatches = ccfilec(buf);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:121:28: warning: passing arguments to 'ccmatch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                a = ccmatch(buf, &keywords[j]);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:124:41: warning: passing arguments to 'wl_append' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    pmatches = wl_append(pmatches, a);
                                        ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:129:16: warning: passing arguments to 'wl_sort' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl_sort(pmatches);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:131:27: warning: passing arguments to 'ccmatch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        pmatches = ccmatch(buf, &commands);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:135:16: warning: passing arguments to 'printem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        printem(pmatches);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:136:16: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl_free(pmatches);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:166:12: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wl_free(pmatches);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_ccom(wlist, buf, esc)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:35:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void cp_ccom();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:198:20: warning: passing arguments to 'clookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (clookup(first, &commands, false, false));
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
getccom(first)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:60:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static struct ccom *getccom();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:213:15: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    buf = copy(buf);    /* Don't mangle anything... */
              ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:221:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            while (pw = getpwent()) {
                   ~~~^~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:221:23: note: place parentheses around the assignment to silence this warning
            while (pw = getpwent()) {
                      ^
                   (              )
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:221:23: note: use '==' to turn this assignment into an equality comparison
            while (pw = getpwent()) {
                      ^
                      ==
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:222:27: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (prefix(buf, pw->pw_name)) {
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:224:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        wl = alloc(struct wordlist);
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:229:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        wl = alloc(struct wordlist);
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:234:39: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    wl->wl_word = copy(pw->pw_name);
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:245:32: warning: passing arguments to 'cp_tildexpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            dir = cp_tildexpand(dir);
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:252:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (de = readdir(wdir))
           ~~~^~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:252:15: note: place parentheses around the assignment to silence this warning
    while (de = readdir(wdir))
              ^
           (                 )
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:252:15: note: use '==' to turn this assignment into an equality comparison
    while (de = readdir(wdir))
              ^
              ==
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:253:20: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if ((prefix(lcomp, de->d_name)) && (*lcomp ||
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:256:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wl = alloc(struct wordlist);
                     ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:261:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wl = alloc(struct wordlist);
                     ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:266:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl->wl_word = copy(de->d_name);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:270:12: warning: passing arguments to 'wl_sort' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wl_sort(wl);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ccfilec(buf)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:55:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static wordlist *ccfilec();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:287:17: warning: passing arguments to 'clookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cc = clookup(word, dbase, true, false);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:290:24: warning: passing arguments to 'cctowl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl = cctowl(cc, false);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:292:24: warning: passing arguments to 'cctowl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl = cctowl(cc, true);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ccmatch(word, dbase)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:56:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static wordlist *ccmatch();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:313:20: warning: passing arguments to 'wl_length' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    num = wl_length(wl);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:330:35: warning: passing arguments to 'wl_nthelem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        wl_nthelem(j, wl)->wl_word);
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
printem(wl)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:61:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void printem();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:360:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl = alloc(struct wordlist);
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:361:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl->wl_word = copy(cc->cc_name);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cctowl(cc, sib)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:57:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static wordlist *cctowl();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_cctowl(stuff)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:40:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern wordlist *cp_cctowl();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_ccon(on)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:36:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void cp_ccon();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:474:33: warning: passing arguments to 'clookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (word && *word && clookup(word, &commands, false, false))
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_comlook(word)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:31:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern bool cp_comlook();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:489:17: warning: passing arguments to 'clookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cc = clookup(word, &commands, false, true);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_addcomm(word, bits0, bits1, bits2, bits3)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:33:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void cp_addcomm();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:506:17: warning: passing arguments to 'clookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cc = clookup(word, &commands, false, false);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:508:16: warning: passing arguments to 'cdelete' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cdelete(cc);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_remcomm(word)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:38:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void cp_remcomm();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:526:16: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    word = copy(word);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:527:17: warning: passing arguments to 'clookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cc = clookup(word, &keywords[class], false, true);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_addkword(class, word)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:34:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void cp_addkword();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:535:13: warning: parameter 'class' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
cp_remkword(class, word)
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:545:17: warning: passing arguments to 'clookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cc = clookup(word, &keywords[class], false, false);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:547:16: warning: passing arguments to 'cdelete' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cdelete(cc);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_remkword(class, word)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:39:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void cp_remkword();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_kwswitch(class, tree)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:32:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cp_kwswitch();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_ccrestart(kwords)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:17:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:37:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void cp_ccrestart();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:592:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(dbase);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
throwaway(dbase)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:62:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void throwaway();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:621:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            *dd = place = alloc(struct ccom);
                          ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:625:34: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            place->cc_name = copy(buf);
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:639:37: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                place->cc_sibling = alloc(struct ccom);
                                    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:644:41: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                place->cc_name = tmalloc(ind + 2);
                                        ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:655:24: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tmpc = alloc(struct ccom);
                       ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:668:41: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                place->cc_name = tmalloc(ind + 2);
                                        ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:686:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    tmpc = alloc(struct ccom);
                           ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:691:45: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    place->cc_name = tmalloc(ind + 3);
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
clookup(word, dd, pref, create)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:59:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static struct ccom *clookup();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:716:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cdelete(node)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//complete.c:58:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void cdelete();
            ^
99 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:12:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:89:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *getwd();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:564:7: note: conflicting prototype is here
char    *getwd(char *) __POSIX_C_DEPRECATED(200112L); /* obsoleted by getcwd() */
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:12:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:94:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *getcwd( );
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:449:7: note: conflicting prototype is here
char    *getcwd(char *, size_t);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:12:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:153:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *sbrk();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:584:7: note: conflicting prototype is here
void    *sbrk(int);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:12:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:153:14: error: conflicting types for 'sbrk'
extern char *sbrk();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:584:7: note: previous declaration is here
void    *sbrk(int);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:12:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:12:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:12:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:90:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern int kill();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/signal.h:80:5: note: conflicting prototype is here
int     kill(pid_t, int) __DARWIN_ALIAS(kill);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:79:21: warning: passing arguments to 'cp_lexer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wlist = cp_lexer(string);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:87:11: warning: passing arguments to 'pwlist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pwlist(wlist, "Initial parse");
          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:89:25: warning: passing arguments to 'cp_histsubst' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wlist = cp_histsubst(wlist);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:92:11: warning: passing arguments to 'pwlist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pwlist(wlist, "After history substitution");
          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:94:17: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl_print(wlist, stdout);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:100:22: warning: passing arguments to 'cp_addhistent' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addhistent(cp_event - 1, wlist);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:102:23: warning: passing arguments to 'cp_doalias' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wlist = cp_doalias(wlist);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:103:11: warning: passing arguments to 'pwlist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pwlist(wlist, "After alias substitution");
          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:112:11: warning: passing arguments to 'pwlist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pwlist(wlist, "Returning ");
          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_parse(string)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:61:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern wordlist *cp_parse();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pwlist(wlist, name)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void pwlist();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:146:25: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        fputs(cp_unquote(wlist->wl_word), cp_out);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_echo(wlist)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:55:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_echo();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:188:41: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tmpfp = fopen(cp_unquote(w->wl_word), "r");
                                        ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:206:20: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl_free(bt);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:245:27: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            s = cp_unquote(w->wl_word);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:246:43: warning: passing arguments to 'fileexists' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (cp_noclobber && fileexists(s)) {
                                          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:272:20: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl_free(bt);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:280:16: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
error:  wl_free(wl);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_redirect(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:60:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern wordlist *cp_redirect();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fileexists(name)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:52:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static bool fileexists();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:347:16: warning: passing arguments to 'cp_ccon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_ccon(false);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:352:15: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations]
        pid = vfork();
              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:604:1: note: 'vfork' has been explicitly marked deprecated here
__deprecated_msg("Use posix_spawn or fork")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:359:19: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                com = wl_flatten(wl);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:369:26: warning: incompatible pointer types passing 'union wait *' to parameter of type 'int *' [-Wincompatible-pointer-types]
                r = wait((union wait *) NULL);
                         ^~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/wait.h:248:19: note: passing argument to parameter here
pid_t   wait(int *) __DARWIN_ALIAS_C(wait);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_shell(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:58:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_shell();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:427:18: warning: passing arguments to 'cp_rehash' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_rehash(s, true);
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_rehash(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:57:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_rehash();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:440:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
    extern struct passwd *getpwuid( );
                          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/pwd.h:100:16: note: conflicting prototype is here
struct passwd   *getpwuid(uid_t);
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:463:23: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        s = cp_unquote(wl->wl_word);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:480:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(s);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:483:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (s = getcwd(localbuf, sizeof(localbuf)))
        ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:483:11: note: place parentheses around the assignment to silence this warning
    if (s = getcwd(localbuf, sizeof(localbuf)))
          ^
        (                                     )
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:483:11: note: use '==' to turn this assignment into an equality comparison
    if (s = getcwd(localbuf, sizeof(localbuf)))
          ^
          ==
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_chdir(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_chdir();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:515:20: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    s1 = cp_unquote(wl->wl_next->wl_word);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:516:20: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    s2 = cp_unquote(wl->wl_next->wl_next->wl_word);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:520:12: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_vset(var, VT_NUM, (char *) &i);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_strcmp(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//cshpar.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:56:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_strcmp();
            ^
55 warnings and 3 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:11:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: conflicting prototype is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc'
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: conflicting prototype is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc'
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: conflicting prototype is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc'
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here
extern char *realloc();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:113:27: warning: passing arguments to 'getcommand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wlist = getcommand(string);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:145:37: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            cend[stackp]->co_next = alloc(struct control);
                                    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:152:46: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            control[stackp] = cend[stackp] = alloc(struct control);
                                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:163:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            newblock;
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:106:49: note: expanded from macro 'newblock'
#define newblock    cend[stackp]->co_children = alloc(struct control);      \
                                                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:171:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            newblock;
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:106:49: note: expanded from macro 'newblock'
#define newblock    cend[stackp]->co_children = alloc(struct control);      \
                                                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:180:42: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        cp_doglob(wl_copy(wlist))));
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:180:34: warning: passing arguments to 'cp_doglob' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        cp_doglob(wl_copy(wlist))));
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:179:51: warning: passing arguments to 'cp_bquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wlist = cp_variablesubst(cp_bquote(
                                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:179:41: warning: passing arguments to 'cp_variablesubst' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wlist = cp_variablesubst(cp_bquote(
                                        ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:183:33: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                dd = ft_numparse(&s, false);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:196:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            newblock;
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:106:49: note: expanded from macro 'newblock'
#define newblock    cend[stackp]->co_children = alloc(struct control);      \
                                                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:204:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            newblock;
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:106:49: note: expanded from macro 'newblock'
#define newblock    cend[stackp]->co_children = alloc(struct control);      \
                                                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:210:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        copy(wlist->wl_word);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:215:30: warning: passing arguments to 'cp_doglob' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wlist = cp_doglob(wlist);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:216:44: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            cend[stackp]->co_text = wl_copy(wlist);
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:217:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            newblock;
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:106:49: note: expanded from macro 'newblock'
#define newblock    cend[stackp]->co_children = alloc(struct control);      \
                                                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:221:48: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                cend[stackp]->co_text = wl_copy(wlist->wl_next);
                                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:223:28: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                cp_addkword(CT_LABEL, wlist->wl_next->wl_word);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:236:48: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                cend[stackp]->co_text = wl_copy(wlist->wl_next);
                                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:245:52: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                cend[stackp]->co_numtimes = scannum(wlist->
                                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:256:52: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                cend[stackp]->co_numtimes = scannum(wlist->
                                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:273:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(x);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:278:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(x);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:306:28: warning: passing arguments to 'doblock' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                i = doblock(x, &nn);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:319:38: warning: passing arguments to 'findlabel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        x = findlabel(i, 
                                     ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_evloop(string)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:68:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int cp_evloop();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:362:40: warning: passing arguments to 'cp_istrue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        while (bl->co_cond && cp_istrue(bl->co_cond)) {
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:389:35: warning: passing arguments to 'findlabel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    cn = findlabel(i, bl->co_children);
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:425:35: warning: passing arguments to 'findlabel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    cn = findlabel(i, bl->co_children);
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:430:42: warning: passing arguments to 'cp_istrue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        } while (bl->co_cond && cp_istrue(bl->co_cond));
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:464:35: warning: passing arguments to 'findlabel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    cn = findlabel(i, bl->co_children);
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:473:37: warning: passing arguments to 'cp_istrue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (bl->co_cond && cp_istrue(bl->co_cond)) {
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:478:35: warning: passing arguments to 'findlabel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    cn = findlabel(i,
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:492:35: warning: passing arguments to 'findlabel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    cn = findlabel(i,
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:505:63: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        for (wl = cp_variablesubst(cp_bquote(cp_doglob(wl_copy(bl->
                                                              ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:505:55: warning: passing arguments to 'cp_doglob' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        for (wl = cp_variablesubst(cp_bquote(cp_doglob(wl_copy(bl->
                                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:505:45: warning: passing arguments to 'cp_bquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        for (wl = cp_variablesubst(cp_bquote(cp_doglob(wl_copy(bl->
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:505:35: warning: passing arguments to 'cp_variablesubst' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        for (wl = cp_variablesubst(cp_bquote(cp_doglob(wl_copy(bl->
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:507:20: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            cp_vset(bl->co_foreachvar, VT_STRING, 
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:535:35: warning: passing arguments to 'findlabel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    cn = findlabel(i, bl->co_children);
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:565:24: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wl_copy(bl->co_text))));
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:564:50: warning: passing arguments to 'cp_doglob' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl = cp_variablesubst(cp_bquote(cp_doglob(
                                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:564:40: warning: passing arguments to 'cp_bquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl = cp_variablesubst(cp_bquote(cp_doglob(
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:564:30: warning: passing arguments to 'cp_variablesubst' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl = cp_variablesubst(cp_bquote(cp_doglob(
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:573:26: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        docommand(wl_copy(bl->co_text));
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:573:18: warning: passing arguments to 'docommand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        docommand(wl_copy(bl->co_text));
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
doblock(bl, num)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:15:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static char *doblock();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
findlabel(s, ct)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:18:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static struct control *findlabel();
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:613:23: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (void) cp_kwswitch(CT_LABEL, (char *) NULL);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:676:17: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl_print(wlist, stdout);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:683:29: warning: passing arguments to 'cp_variablesubst' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wlist = cp_variablesubst(wlist);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:684:11: warning: passing arguments to 'pwlist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pwlist(wlist, "After variable substitution");
          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:686:22: warning: passing arguments to 'cp_bquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wlist = cp_bquote(wlist);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:687:11: warning: passing arguments to 'pwlist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pwlist(wlist, "After backquote substitution");
          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:689:22: warning: passing arguments to 'cp_doglob' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wlist = cp_doglob(wlist);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:690:11: warning: passing arguments to 'pwlist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pwlist(wlist, "After globbing");
          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:720:38: warning: passing arguments to 'cp_redirect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (!(wlist = cp_redirect(wlist))) {
                                     ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:727:21: warning: passing arguments to 'cp_striplist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_striplist(wlist);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:743:46: warning: passing arguments to 'cp_oddcomm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!cp_coms[i].co_func && cp_oddcomm(s, wlist->wl_next))
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:748:43: warning: passing arguments to 'cp_unixcom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (cp_dounixcom && cp_unixcom(wlist))
                                          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:768:30: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            lcom = wl_flatten(wlist->wl_next);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:769:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            (*command->co_func) (lcom);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:773:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                (*command->co_argfn) (wlist->wl_next, command);
                                     ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:780:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                (*command->co_func) (wlist->wl_next);
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:792:12: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wl_free(rwlist);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
docommand(wlist)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:16:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void docommand();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:832:21: warning: passing arguments to 'cp_parse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wlist = cp_parse(string);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:836:17: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl_print(wlist, stdout);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
getcommand(string)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:19:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static wordlist *getcommand();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pwlist(wlist, name)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:20:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void pwlist();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:871:15: warning: passing arguments to 'dodump' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        dodump(c);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:864:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_cdump(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:69:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_cdump();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:891:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl_print(cc->co_text, cp_out);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:897:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl_print(cc->co_cond, cp_out);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:923:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl_print(cc->co_cond, cp_out);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:935:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl_print(cc->co_cond, cp_out);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:947:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl_print(cc->co_text, cp_out);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:878:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dodump(cc)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//front.c:17:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void dodump();
            ^
97 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:66:23: warning: passing arguments to 'bracexpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        w = bracexpand(wl->wl_word);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:71:24: warning: passing arguments to 'wl_splice' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        nwl = wl_splice(wl, w);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:81:30: warning: passing arguments to 'cp_tildexpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            s = cp_tildexpand(wl->wl_word);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:97:20: warning: passing arguments to 'noglobs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (noglobs(wl->wl_word))
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:99:23: warning: passing arguments to 'globexpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        w = globexpand(wl->wl_word);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:102:24: warning: passing arguments to 'wl_splice' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        nwl = wl_splice(wl, w);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_doglob(wlist)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:87:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern wordlist *cp_doglob();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:119:15: warning: passing arguments to 'brac1' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wl = brac1(string);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:124:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        w->wl_word = copy(s);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:125:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(s);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
bracexpand(string)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:37:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static wordlist *bracexpand();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:143:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    words = alloc(struct wordlist);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:144:29: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    words->wl_word = tmalloc(BSIZE_SP);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:150:24: warning: passing arguments to 'brac2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            nwl = brac2(s);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:169:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    nw = alloc(struct wordlist);
                         ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:172:42: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    nw->wl_word = tmalloc(BSIZE_SP);
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:175:38: warning: passing arguments to 'wl_append' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    newwl = wl_append(newwl, nw);
                                     ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:177:20: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl_free(words);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:181:24: warning: passing arguments to 'appendc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                appendc(wl->wl_word, *s);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
brac1(string)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:35:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static wordlist *brac1();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:223:26: warning: passing arguments to 'wl_append' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wlist = wl_append(wlist, nwl);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
brac2(string)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:36:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static wordlist *brac2();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:253:20: warning: passing arguments to 'pcanon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    string = pcanon(string);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:257:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        poss[0] = copy(DIR_PATHSEP);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:259:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        poss[0] = copy(DIR_CWD);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:273:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wl = alloc(struct wordlist);
                     ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:274:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wl->wl_word = copy(string);
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:284:29: warning: passing arguments to 'cp_globmatch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (cp_globmatch(buf, de->d_name)) {
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:294:34: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                poss[j] = tmalloc(BSIZE_SP);
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:299:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(poss[i]);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:304:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wl = alloc(struct wordlist);
                     ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:305:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wl->wl_word = copy(string);
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:350:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl = alloc(struct wordlist);
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:353:34: warning: passing arguments to 'pcanon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl->wl_word = copy(pcanon(poss[i]));
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:353:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl->wl_word = copy(pcanon(poss[i]));
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:354:14: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast]
        if (((int) poss[i]) % 2)
             ^~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:356:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(poss[i]);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:369:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(poss[i]);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
globexpand(string)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:38:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static wordlist *globexpand();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:389:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    s = p = tmalloc(strlen(string) + 1);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pcanon(string)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:40:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static char *pcanon();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
sortcmp(s1, s2)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:41:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int sortcmp();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:441:26: warning: passing arguments to 'tilde_expand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    result = tilde_expand(string);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:445:17: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            return copy(string);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_tildexpand(string)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:78:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cp_tildexpand();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:488:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            while (bc = *p++) {
                   ~~~^~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:488:23: note: place parentheses around the assignment to silence this warning
            while (bc = *p++) {
                      ^
                   (        )
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:488:23: note: use '==' to turn this assignment into an equality comparison
            while (bc = *p++) {
                      ^
                      ==
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_globmatch(p, s)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:77:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern bool cp_globmatch();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
noglobs(string)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//glob.c:39:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static bool noglobs();
            ^
63 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:61:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(wlist->wl_word);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:62:30: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wlist->wl_word = copy(buf);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:69:29: warning: passing arguments to 'dohsubst' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                n = dohsubst(s + 1);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:75:44: warning: field precision should have type 'int', but argument has type 'long' [-Wformat]
                    (void) sprintf(buf, "%.*s%s", s - b, b, 
                                         ~~^~     ~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:77:21: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    tfree(n->wl_word);
                    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:78:38: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    n->wl_word = copy(buf);
                                     ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:80:32: warning: passing arguments to 'wl_splice' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                nwl = wl_splice(w, n);
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_histsubst(wlist)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:99:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern wordlist *cp_histsubst();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:114:45: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl = getevent(cp_event - scannum(++string));
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:114:26: warning: passing arguments to 'getevent' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl = getevent(cp_event - scannum(++string));
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:123:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (s = index(buf, '?'))
                ~~^~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:123:19: note: place parentheses around the assignment to silence this warning
            if (s = index(buf, '?'))
                  ^
                (                  )
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:123:19: note: use '==' to turn this assignment into an equality comparison
            if (s = index(buf, '?'))
                  ^
                  ==
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:125:26: warning: passing arguments to 'hpattern' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl = hpattern(buf);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:129:32: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                return (wl_copy(wl));
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:133:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl = alloc(struct wordlist);
                 ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:134:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl->wl_word = copy("!");
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:142:38: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wl = getevent(scannum(string));
                                     ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:142:30: warning: passing arguments to 'getevent' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wl = getevent(scannum(string));
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:164:33: warning: passing arguments to 'hprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    wl = hprefix(buf);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:174:34: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    nwl = dohmod(&string, wl_copy(wl));
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:174:17: warning: passing arguments to 'dohmod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    nwl = dohmod(&string, wl_copy(wl));
                ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:181:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(wl->wl_word);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:182:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl->wl_word = copy(buf);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dohsubst(string)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:25:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static wordlist *dohsubst();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:199:25: warning: passing arguments to 'wl_length' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    numwords = wl_length(wl);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:231:34: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                eventhi = scannum(*string + 1);
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:240:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl_print(wl, cp_out);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:245:25: warning: passing arguments to 'dohs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                s = dohs(*string + 1, w->wl_word);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:247:21: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    tfree(w->wl_word);
                    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:266:24: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            i = scannum(*string);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:281:38: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    eventhi = scannum(++*string);
                                     ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:280:17: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                else {
                ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:290:18: warning: passing arguments to 'wl_range' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wl = wl_range(wl, eventlo, eventhi);
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:291:25: warning: passing arguments to 'wl_length' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    numwords = wl_length(wl);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dohmod(string, wl)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:24:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static wordlist *dohmod();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:312:26: warning: passing arguments to 'substring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (substring(buf, wl->wl_word))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hpattern(buf)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:27:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static wordlist *hpattern();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:329:35: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (hi->hi_wlist && prefix(buf, hi->hi_wlist->wl_word))
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hprefix(buf)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:28:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static wordlist *hprefix();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:341:15: warning: parameter 'event' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
cp_addhistent(event, wlist)
              ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:347:33: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_lastone = histlist = alloc(struct histent);
                                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:350:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_lastone->hi_next = alloc(struct histent);
                              ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:356:35: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_lastone->hi_wlist = wl_copy(wlist);
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:358:13: warning: passing arguments to 'freehist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    freehist(histlength - cp_maxhistlength);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_addhistent(event, wlist)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:97:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void cp_addhistent();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:369:10: warning: parameter 'num' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
getevent(num)
         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:380:20: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (wl_copy(hi->hi_wlist));
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
getevent(num)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:26:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static wordlist *getevent();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:388:20: warning: parameter 'eventlo' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
cp_hprint(eventhi, eventlo, rev)
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:388:11: warning: parameter 'eventhi' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
cp_hprint(eventhi, eventlo, rev)
          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:401:25: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wl_print(hi->hi_wlist, cp_out);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:410:25: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wl_print(hi->hi_wlist, cp_out);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_hprint(eventhi, eventlo, rev)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:98:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void cp_hprint();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:422:10: warning: parameter 'num' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
freehist(num)
         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:438:16: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl_free(hi->hi_wlist);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:440:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(hi->hi_prev);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:442:12: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wl_free(hi->hi_wlist);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:443:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(hi);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
freehist(num)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:23:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void freehist();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:457:15: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pat = copy(pat);    /* Don't want to mangle anything. */
              ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:470:37: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if ((*str == *pat) && prefix(pat, str) && (ok == false)) {
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:480:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        return (copy(buf));
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dohs(pat, str)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static char *dohs();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_history(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//history.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:96:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_history();
            ^
79 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//input.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//input.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteinput.h:25:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//input.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteinput.h:25:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//input.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteinput.h:25:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//input.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteinput.h:25:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//input.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteinput.h:25:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//input.c:24:36: warning: passing arguments to 'inchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        response->reply.ch = inchar(request->fp);
                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//input.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Input(request, response)
^
7 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:86:16: warning: passing arguments to 'cp_ccon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_ccon(true);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:94:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wlist = cw = alloc(struct wordlist);
                 ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:104:22: warning: passing arguments to 'input' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            c = input(cp_inp_cur);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:125:49: warning: passing arguments to 'input' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            c = quote(string ? *string++ : input(cp_inp_cur));
                                                ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:135:31: warning: passing arguments to 'input' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            while (((c = input(cp_inp_cur)) != '\n') &&
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:149:17: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                newword;
                ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:64:35: note: expanded from macro 'newword'
#define newword cw->wl_word = copy(buf); \
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:149:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:65:23: note: expanded from macro 'newword'
        cw->wl_next = alloc(struct wordlist); \
                      ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:156:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                cw->wl_word = copy(buf);
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:159:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(cw);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:167:26: warning: passing arguments to 'input' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    input(cp_inp_cur))) != '\'')
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:183:53: warning: passing arguments to 'input' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            while (((c = (string ? *string++ : input(cp_inp_cur)))
                                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:190:34: warning: passing arguments to 'input' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                            input(cp_inp_cur));
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:218:24: warning: passing arguments to 'cp_ccom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                cp_ccom(wlist, buf, false);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:219:24: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wl_free(wlist);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:248:24: warning: passing arguments to 'cp_ccom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                cp_ccom(wlist, buf, true);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:249:24: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wl_free(wlist);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:254:3: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                newword;
                ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:64:35: note: expanded from macro 'newword'
#define newword cw->wl_word = copy(buf); \
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:254:3: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:65:23: note: expanded from macro 'newword'
        cw->wl_next = alloc(struct wordlist); \
                      ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:263:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    newword;
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:64:35: note: expanded from macro 'newword'
#define newword cw->wl_word = copy(buf); \
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:263:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:65:23: note: expanded from macro 'newword'
        cw->wl_next = alloc(struct wordlist); \
                      ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:270:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    newword;
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:64:35: note: expanded from macro 'newword'
#define newword cw->wl_word = copy(buf); \
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:270:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:65:23: note: expanded from macro 'newword'
        cw->wl_next = alloc(struct wordlist); \
                      ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_lexer(string)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:110:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern wordlist *cp_lexer();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:335:6: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        i = read((int) fileno(fp), &c, 1);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
inchar(fp)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:111:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int inchar();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:358:10: warning: passing arguments to 'Input' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    Input(&request, &response);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:349:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static int input(fp)
           ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//lexical.c:49:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int input();
           ^
35 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//modify.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//modify.c:10:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//modify.c:10:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//modify.c:10:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//modify.c:10:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//modify.c:22:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
    char *s, *getenv();
              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here
char    *getenv(const char *);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//modify.c:27:12: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_vset("history", VT_NUM, (char *) &cp_maxhistlength);
           ^
7 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:55:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (cp_getvar("nomoremode", VT_BOOL, (char *) &moremode))
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:80:25: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) cp_getvar("width", VT_NUM, (char *) &xsize);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:82:25: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) cp_getvar("height", VT_NUM, (char *) &ysize);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fbufputc(c)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
out_send(string)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:128:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void out_send();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
out_printf(fmt, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:126:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void out_printf();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:237:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
term_clear( )
^
int
/Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:241:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        tputs(clear_chars, 1, outfn);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:247:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
term_home( )
^
int
/Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:251:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        tputs(home_chars, 1, outfn);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:253:8: warning: call to undeclared function 'tgoto'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        tputs(tgoto(motion_chars, 1, 1), 1, outfn);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:259:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
term_cleol( )
^
int
/Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:263:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        tputs(cleol_chars, 1, outfn);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
outfn(c)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:36:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int outfn( );
           ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:275:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
tcap_init( )
^
int
/Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:287:6: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        if (tgetent(tbuf, s) != -1) {
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:288:14: warning: call to undeclared function 'tgetnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            xsize = tgetnum("co");
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:292:29: warning: call to undeclared function 'tgetstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            clear_chars = (char *) tgetstr("cl", &charbuf);
                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:292:20: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
            clear_chars = (char *) tgetstr("cl", &charbuf);
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:293:21: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
            motion_chars = (char *) tgetstr("cm", &charbuf);
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:294:19: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
            home_chars = (char *) tgetstr("ho", &charbuf);
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/cp//output.c:295:20: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
            cleol_chars = (char *) tgetstr("ce", &charbuf);
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:26:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        while (c = *str) {
               ~~^~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:26:11: note: place parentheses around the assignment to silence this warning
        while (c = *str) {
                 ^
               (       )
/Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:26:11: note: use '==' to turn this assignment into an equality comparison
        while (c = *str) {
                 ^
                 ==
/Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_wstrip(str)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:135:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void cp_wstrip();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_quoteword(str)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:133:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void cp_quoteword();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_printword(string, fp)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:56:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void cp_printword();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_striplist(wlist)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:134:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void cp_striplist();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:86:10: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        s = copy(string);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_unquote(string)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//quote.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:132:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cp_unquote();
             ^
17 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//std.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//std.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//std.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//std.c:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//std.c:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
5 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:89:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *getwd();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:564:7: note: conflicting prototype is here
char    *getwd(char *) __POSIX_C_DEPRECATED(200112L); /* obsoleted by getcwd() */
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:94:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *getcwd( );
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:449:7: note: conflicting prototype is here
char    *getcwd(char *, size_t);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:153:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *sbrk();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:584:7: note: conflicting prototype is here
void    *sbrk(int);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:153:14: error: conflicting types for 'sbrk'
extern char *sbrk();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:584:7: note: previous declaration is here
void    *sbrk(int);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:90:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern int kill();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/signal.h:80:5: note: conflicting prototype is here
int     kill(pid_t, int) __DARWIN_ALIAS(kill);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:77:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(hh);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:106:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        curpath = copy(buf);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:109:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        while (entry = readdir(pdir)) {
               ~~~~~~^~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:109:22: note: place parentheses around the assignment to silence this warning
        while (entry = readdir(pdir)) {
                     ^
               (                    )
/Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:109:22: note: use '==' to turn this assignment into an equality comparison
        while (entry = readdir(pdir)) {
                     ^
                     ==
/Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:117:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            hh = alloc(struct hashent);
                 ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:118:30: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            hh->h_name = copy(entry->d_name);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:120:21: warning: passing arguments to 'hash' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            i = hash(entry->d_name);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:133:27: warning: passing arguments to 'cp_addcomm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                cp_addcomm(entry->d_name, (long) 0, (long) 0, (long) 0,
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_rehash(pathlist, docc)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:147:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void cp_rehash();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:157:20: warning: passing arguments to 'wl_mkvec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    argv = wl_mkvec(wl);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:160:17: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl_print(wl, stdout);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:164:24: warning: passing arguments to 'tryexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        return (tryexec(name, argv));
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:165:13: warning: passing arguments to 'hash' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    i = hash(name);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:169:24: warning: passing arguments to 'tryexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (tryexec(buf, argv))
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_unixcom(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:145:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern bool cp_unixcom();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:189:11: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations]
    pid = vfork( );
          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:604:1: note: 'vfork' has been explicitly marked deprecated here
__deprecated_msg("Use posix_spawn or fork")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:191:2: warning: call to undeclared function 'fixdescriptors'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        fixdescriptors();
        ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:200:22: warning: incompatible pointer types passing 'union wait *' to parameter of type 'int *' [-Wincompatible-pointer-types]
            j = wait(&status);
                     ^~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/wait.h:248:19: note: passing argument to parameter here
pid_t   wait(int *) __DARWIN_ALIAS_C(wait);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tryexec(name, argv)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:38:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static bool tryexec();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hash(str)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//unixcom.c:40:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int hash();
           ^
32 warnings and 3 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:7:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: conflicting prototype is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc'
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: conflicting prototype is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc'
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: conflicting prototype is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc'
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here
extern char *realloc();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:8:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:8:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:9:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:9:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:11:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:45:42: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            (void) strcpy(buf, cp_unquote(var->va_string));
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:65:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wl = alloc(struct wordlist);
         ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:67:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wl->wl_word = copy(buf);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_varwl(var)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:9:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:164:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern wordlist *cp_varwl();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:85:25: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    varname = cp_unquote(varname);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:95:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        v = alloc(struct variable);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:96:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        v->va_name = copy(varname);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:102:22: warning: passing arguments to 'cp_remvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            cp_remvar(varname);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:117:28: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        v->va_string = copy(value);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:149:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_promptstring = copy(v->va_string);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:160:26: warning: passing arguments to 'cp_usrset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    switch (i = cp_usrset(v, true)) {
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:216:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(v);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_vset(varname, type, value)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:9:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:162:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void cp_vset();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:238:26: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        name = cp_unquote(wl->wl_word);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:242:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            vv = alloc(struct variable);
                 ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:243:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            vv->va_name = copy(name);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:261:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        } else if (s = index(name, '=')) {
                   ~~^~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:261:22: note: place parentheses around the assignment to silence this warning
        } else if (s = index(name, '=')) {
                     ^
                   (                   )
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:261:22: note: use '==' to turn this assignment into an equality comparison
        } else if (s = index(name, '=')) {
                     ^
                     ==
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:279:25: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        val = cp_unquote(val);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:293:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                vv = alloc(struct variable);
                     ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:295:32: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ss = cp_unquote(wl->wl_word);
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:296:33: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                td = ft_numparse(&ss, false);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:302:41: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    vv->va_string = copy(ss);
                                        ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:316:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            vv = alloc(struct variable);
                 ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:317:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            vv->va_name = copy(name);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:327:24: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ss = cp_unquote(val);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:328:25: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        td = ft_numparse(&ss, false);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:329:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        vv = alloc(struct variable);
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:330:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        vv->va_name = copy(name);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:339:33: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            vv->va_string = copy(val);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_setparse(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:9:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:165:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct variable *cp_setparse();
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:360:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        v = alloc(struct variable);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:384:26: warning: passing arguments to 'cp_usrset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    switch (i = cp_usrset(v, false)) {
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:400:48: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat]
        "cp_remvar: Internal Error: var %d\n", varname);
                                        ~~     ^~~~~~~
                                        %s
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:409:48: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat]
        "cp_remvar: Internal Error: var %d\n", varname);
                                        ~~     ^~~~~~~
                                        %s
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:426:3: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(u);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:436:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(v);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_remvar(varname)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//variable.c:9:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:160:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void cp_remvar();
            ^
53 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:11:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: conflicting prototype is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc'
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: conflicting prototype is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc'
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: conflicting prototype is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc'
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here
extern char *realloc();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:12:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:12:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:52:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        while(s = index(t, cp_dol)) {
              ~~^~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:52:17: note: place parentheses around the assignment to silence this warning
        while(s = index(t, cp_dol)) {
                ^
              (                   )
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:52:17: note: use '==' to turn this assignment into an equality comparison
        while(s = index(t, cp_dol)) {
                ^
                ==
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:66:26: warning: passing arguments to 'vareval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            nwl = vareval(buf);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:71:21: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    tfree(nwl->wl_word);
                    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:73:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    nwl = alloc(struct wordlist);
                          ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:76:36: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                nwl->wl_word = copy(buf);
                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:78:33: warning: passing arguments to 'wl_splice' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (!(wl = wl_splice(wl, nwl)))
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:86:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(wl->wl_word);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:87:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl->wl_word = copy(buf);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_variablesubst(wlist)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:163:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern wordlist *cp_variablesubst();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:106:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    char *oldstring = copy(string);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:110:14: warning: passing arguments to 'cp_wstrip' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_wstrip(string);
             ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:111:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (s = index(string, '[')) {
        ~~^~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:111:11: note: place parentheses around the assignment to silence this warning
    if (s = index(string, '[')) {
          ^
        (                     )
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:111:11: note: use '==' to turn this assignment into an equality comparison
    if (s = index(string, '[')) {
          ^
          ==
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:119:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl = alloc(struct wordlist);
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:126:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl->wl_word = copy(buf);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:138:22: warning: passing arguments to 'cp_lexer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl = cp_lexer(buf);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:141:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl->wl_word = copy("");
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:145:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl = alloc(struct wordlist);
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:152:26: warning: passing arguments to 'cp_enqvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            v = cp_enqvar(string);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:153:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl->wl_word = copy(v ? "1" : "0");
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:157:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl = alloc(struct wordlist);
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:164:26: warning: passing arguments to 'cp_enqvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            v = cp_enqvar(string);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:176:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl->wl_word = copy(buf);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:180:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl = alloc(struct wordlist);
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:182:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl->wl_word = copy("$");
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:202:22: warning: passing arguments to 'cp_enqvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        v = cp_enqvar(string);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:205:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl = alloc(struct wordlist);
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:207:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl->wl_word = copy(s);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:214:18: warning: passing arguments to 'cp_varwl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wl = cp_varwl(v);
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:224:27: warning: passing arguments to 'wl_length' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            up = wl_length(wl);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:228:22: warning: passing arguments to 'wl_range' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl = wl_range(wl, low, up);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
vareval(string)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:168:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
wordlist *vareval();
          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:251:15: warning: passing arguments to 'cp_usrvars' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_usrvars(&uv1, &uv2);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:260:34: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    vars = (struct xxx *) tmalloc(sizeof (struct xxx) * i);
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:285:18: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
         out_send(out_pbuf);
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:287:23: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            out_printf("%c %s\t", vars[j].x_char, v->va_name);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:289:27: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            s = wl_flatten(wl);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:291:27: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                out_printf("( %s )\n", s);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:293:27: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                out_printf("%s\n", s);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:297:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(vars);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:307:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (i = strcmp(v1->x_v->va_name, v2->x_v->va_name))
        ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:307:11: note: place parentheses around the assignment to silence this warning
    if (i = strcmp(v1->x_v->va_name, v2->x_v->va_name))
          ^
        (                                             )
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:307:11: note: use '==' to turn this assignment into an equality comparison
    if (i = strcmp(v1->x_v->va_name, v2->x_v->va_name))
          ^
          ==
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
vcmp(v1, v2)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:16:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int vcmp();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:330:23: warning: passing arguments to 'cp_setparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    vars = cp_setparse(wl);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:351:16: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_vset(vars->va_name, vars->va_type, s);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_set(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:157:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_set();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:367:22: warning: passing arguments to 'cp_remvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            cp_remvar(var->va_name);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:373:18: warning: passing arguments to 'cp_remvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_remvar(name);
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_unset(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:158:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_unset();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:396:22: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        num = scannum(wl->wl_word);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_shift(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:159:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_shift();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:458:31: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                s = cp_unquote(v->va_string);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:459:26: warning: passing arguments to 'cp_wstrip' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                cp_wstrip(s);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_getvar(name, type, retval)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//var2.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:151:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern bool cp_getvar();
            ^
70 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wl_length(wlist)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:62:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int wl_length();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:41:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(wl->wl_word);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:42:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(wl);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wl_free(wlist)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:63:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void wl_free();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:57:23: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            nwl = w = alloc(struct wordlist);
                      ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:61:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            w->wl_next = alloc(struct wordlist);
                         ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:66:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        w->wl_word = copy(wl->wl_word);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wl_copy(wlist)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern wordlist *wl_copy();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:90:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(elt->wl_word);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:91:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(elt);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wl_splice(elt, list)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:72:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern wordlist *wl_splice();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:105:21: warning: passing arguments to 'cp_printword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_printword(wl->wl_word, fp);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wl_print(wlist, fp)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:64:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void wl_print();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:121:15: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cwl = alloc(struct wordlist);
              ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:129:28: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cwl->wl_word = copy(*v);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wl_build(v)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern wordlist *wl_build();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:144:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    v = (char **) tmalloc((len + 1) * sizeof (char **));
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:146:20: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        v[i] = copy(wl->wl_word);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wl_mkvec(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:60:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char **wl_mkvec();
              ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wl_append(wlist, nwl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:66:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern wordlist *wl_append();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wl_reverse(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:71:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern wordlist *wl_reverse();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:200:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    buf = tmalloc(i + 1);
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wl_flatten(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:61:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *wl_flatten();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wl_nthelem(i, wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:70:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern wordlist *wl_nthelem();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:240:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    stuff = (char **) tmalloc(i * sizeof (char *));
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:246:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(stuff);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wl_sort(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:65:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void wl_sort();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wlcomp(s, t)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:15:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int wlcomp();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:277:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(wl->wl_word);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:278:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(wl);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wl_range(wl, low, up)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//wlist.c:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern wordlist *wl_range();
                 ^
50 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/cp//numparse.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//numparse.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//numparse.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//numparse.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//numparse.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//numparse.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/cp//numparse.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pow10(num)
^
/Users/pbulk/build/cad/spice/work/src/lib/cp//numparse.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_numparse(s, whole)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/cp//numparse.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:313:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern double *ft_numparse();
               ^
9 warnings and 2 errors generated.
*** Error code 1 (continuing)
`recursive' not remade because of errors.
Making "install" in fte
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:61:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("noasciiplotvalue", VT_BOOL, (char *) &novalue) &&
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:62:20: warning: passing arguments to 'vec_eq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            !vec_eq(xscale, vecs)) {
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:69:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("width", VT_NUM, (char *) &maxy)) {
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:72:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("height", VT_NUM, (char *) &height))
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:77:14: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_getvar("nobreak", VT_BOOL, (char *) &nobreakp);
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:100:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    field = tmalloc((maxy + 1) * (maxx + 1));
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:101:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    line1 = tmalloc(maxy + margin + FUDGE + 1);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:102:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    line2 = tmalloc(maxy + margin + FUDGE + 1);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:104:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        values = (double *) tmalloc(maxx * sizeof (double));
                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:239:31: warning: passing arguments to 'ft_findpoint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            ypt = ft_findpoint(y, yrange, maxy, 0, ylogscale);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:250:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        out_send("-");
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:251:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    out_send("\n");
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:254:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        out_send(" ");
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:257:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    out_send(buf);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:258:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    out_send("\n");
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:263:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        out_send(" ");
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:264:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    out_send(buf);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:265:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    out_send("\n\n");
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:267:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    out_send("Legend:  ");
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:276:19: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        out_printf("%s = %-17s", out_pbuf, v->v_name);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:278:21: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            out_send("\n         ");
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:282:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    out_send("\n");
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:284:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        out_send("-");
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:285:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    out_send("\n");
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:287:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    out_printf("%s\n%s\n", line2, line1);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:300:14: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            out_send(out_pbuf);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:304:14: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            out_send(out_pbuf);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:310:18: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                out_send(out_pbuf);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:314:18: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                out_send(out_pbuf);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:320:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        out_send(&field[i * omaxy]);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:322:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        out_send("\n");
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:325:23: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            out_printf("%s\n%s\n\014\n%s\n%s\n", line1, line2,
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:330:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    out_printf("%s\n%s\n", line1, line2);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:332:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(field);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:333:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(line1);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:334:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(line2);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:336:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(values);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_agraf(xlims, ylims, xscale, plot, vecs, xdel, ydel, xlog, ylog, nointerp)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//agraf.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:22:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void ft_agraf();
            ^
45 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteinput.h:25:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteinput.h:25:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteinput.h:25:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteinput.h:25:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteinput.h:25:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:14:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:36:25: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    p = (char *) tmalloc(n + 1);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:25:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
char *prompt(fp)
      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:41:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
countargs(wl)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:59:29: warning: passing arguments to 'cp_variablesubst' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wlist = cp_variablesubst(wlist);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:60:22: warning: passing arguments to 'cp_bquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wlist = cp_bquote(wlist);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:61:22: warning: passing arguments to 'cp_doglob' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wlist = cp_doglob(wlist);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:55:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wordlist *process(wlist)
          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:66:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
arg_print(wl, command)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:71:11: warning: passing arguments to 'common' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    common("which variable", wl, command);
          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
arg_print(wl, command)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:14:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:28:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int arg_print();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:75:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
arg_plot(wl, command)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:80:11: warning: passing arguments to 'common' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    common("which variable", wl, command);
          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
arg_plot(wl, command)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:14:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:26:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int arg_plot();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:84:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
arg_load(wl, command)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:89:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      (*command->co_func) (wl);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
arg_load(wl, command)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:14:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:30:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int arg_load();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:93:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
arg_let(wl, command)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:98:11: warning: passing arguments to 'common' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    common("which vector", wl, command);
          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
arg_let(wl, command)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:14:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:29:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int arg_let();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:102:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
arg_set(wl, command)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:107:11: warning: passing arguments to 'common' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    common("which variable", wl, command);
          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
arg_set(wl, command)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:14:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:31:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int arg_set();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:111:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
arg_display()
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:130:20: warning: passing arguments to 'outmenuprompt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      outmenuprompt(string);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:134:11: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      w = alloc(struct wordlist);
          ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:140:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      (*command->co_func) (w);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
common(string, wl, command)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:21:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void common( );
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
outmenuprompt(string)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//arg.c:20:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
void outmenuprompt( );
     ^
42 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:90:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern int kill();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/signal.h:80:5: note: conflicting prototype is here
int     kill(pid_t, int) __DARWIN_ALIAS(kill);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:68:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("spicepath", VT_STRING, spicepath)) {
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:81:25: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        output = smktemp("spout");
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:98:18: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    raw = smktemp("raw");
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:100:11: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    pid = fork();
          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:110:16: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        (void) dup2(fileno(stdout), fileno(stderr));
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:112:16: warning: call to undeclared function 'execl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        (void) execl(spicepath, spicepath, "-r", raw, 0);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:120:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    p = alloc(struct proc);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:122:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    p->pr_name = copy(s);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:123:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    p->pr_rawfile = copy(raw);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:124:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    p->pr_inpfile = copy(deck);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:125:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    p->pr_outfile = copy(output);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_aspice(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:36:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_aspice();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_jobs(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:37:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_jobs();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:191:20: warning: incompatible pointer types passing 'union wait *' to parameter of type 'int *' [-Wincompatible-pointer-types]
        pid = wait(&status);
                   ^~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/wait.h:248:19: note: passing argument to parameter here
pid_t   wait(int *) __DARWIN_ALIAS_C(wait);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:219:20: warning: passing arguments to 'ft_loadfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ft_loadfile(p->pr_rawfile);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:220:16: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        (void) unlink(p->pr_rawfile);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:228:21: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            out_send(buf);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:266:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("rhost", VT_STRING, rhost))
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:268:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("rprogram", VT_STRING, program))
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:270:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("remote_shell", VT_STRING, remote_shell))
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:284:9: warning: call to undeclared function 'pipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    if (pipe(to_serv) < 0) {
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:297:11: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    pid = fork( );
          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:306:2: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        close(to_serv[1]);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:314:2: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        dup2(to_serv[0], 0);    /* stdin */
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:318:2: warning: call to undeclared function 'execlp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        execlp(remote_shell, remote_shell, rhost, program, "-s", 0);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:328:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    close(to_serv[0]);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:358:17: warning: passing arguments to 'inp_list' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        inp_list(srv_input, ft_curckt->ci_deck, ft_curckt->ci_options,
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:369:22: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    outfile = smktemp("rsp");
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:377:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (i = fread(buf, 1, BSIZE_SP, serv)) {
           ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:377:14: note: place parentheses around the assignment to silence this warning
    while (i = fread(buf, 1, BSIZE_SP, serv)) {
             ^
           (                                )
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:377:14: note: use '==' to turn this assignment into an equality comparison
    while (i = fread(buf, 1, BSIZE_SP, serv)) {
             ^
             ==
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:394:9: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
                        num, pos);
                             ^~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:405:18: warning: passing arguments to 'raw_read' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pl = raw_read(outfile);
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:407:17: warning: passing arguments to 'plot_add' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        plot_add(pl);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:408:12: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    (void) unlink(outfile);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_rspice(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//aspice.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:38:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_rspice();
            ^
44 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:44:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            thisone = d = alloc(struct dbcomm);
                          ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:46:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            d->db_also = alloc(struct dbcomm);
                         ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:77:30: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            val = ft_numparse(&s, false);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:81:39: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                d->db_nodename1 = copy(wl->wl_word);
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:103:30: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            val = ft_numparse(&s, false);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:107:39: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                d->db_nodename2 = copy(wl->wl_word);
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:119:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_DBNUMS, buf);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_stop(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:53:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_stop();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:135:5: warning: call to undeclared function 'settrace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    settrace(wl, VF_PRINT, 0);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_trce(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:55:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_trce();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:155:23: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        s = cp_unquote(wl->wl_word);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:156:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = alloc(struct dbcomm);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:163:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            d->db_nodename1 = copy(s);
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_iplot(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:50:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_iplot();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:190:15: warning: passing arguments to 'com_resume' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    com_resume((wordlist *) NULL);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_step(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:52:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_step();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:252:22: warning: passing arguments to 'printcond' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            printcond(d, cp_out);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:253:32: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
        } else if ((d->db_type == DB_DEADIPLOT)) {
                    ~~~~~~~~~~~^~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:253:32: note: remove extraneous parentheses around the comparison to silence this warning
        } else if ((d->db_type == DB_DEADIPLOT)) {
                   ~           ^              ~
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:253:32: note: use '=' to turn this equality comparison into an assignment
        } else if ((d->db_type == DB_DEADIPLOT)) {
                               ^~
                               =
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_sttus(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_sttus();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:279:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(dd->db_nodename1);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:280:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(dd->db_nodename2);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:281:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(dd);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dbfree(db)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:20:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
void dbfree();
     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:332:28: warning: passing arguments to 'cp_remkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                cp_remkword(CT_DBNUMS, buf);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_delete(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:49:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_delete();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:378:34: warning: passing arguments to 'satisfied' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    if (satisfied(dt, runplot))
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:391:22: warning: passing arguments to 'printcond' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            printcond(d, cp_err);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_bpcheck(runplot, iteration)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:48:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern bool ft_bpcheck();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:411:31: warning: passing arguments to 'vec_fromplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if ((v1 = vec_fromplot(d->db_nodename1, plot)) == NULL) {
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:424:31: warning: passing arguments to 'vec_fromplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if ((v2 = vec_fromplot(d->db_nodename2, plot)) == NULL) {
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
satisfied(d, plot)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:17:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static bool satisfied();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:480:21: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
                    dt->db_iteration);
                    ^~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
printcond(d, fp)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp.c:18:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void printcond();
            ^
49 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//circuits.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//circuits.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//circuits.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//circuits.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//circuits.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//circuits.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//circuits.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_setccirc(name)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//circuits.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:64:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void ft_setccirc();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//circuits.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_newcirc(ckt)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//circuits.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:65:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void ft_newcirc();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//circuits.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_newsubcirc(sckt)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//circuits.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:66:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void ft_newsubcirc();
            ^
12 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//clip.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//clip.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//clip.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//clip.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//clip.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//clip.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//clip.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
clip_line(pX1,pY1,pX2,pY2,l,b,r,t)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//clip.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern bool clip_line();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//clip.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
clip_to_circle(x1, y1, x2, y2, cx, cy, rad)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//clip.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:71:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern bool clip_to_circle();
            ^
10 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:40:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    double *d = alloc_d(length);
                ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_mag(data, type, length, newlength, newtype)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:76:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_mag();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:64:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    double *d = alloc_d(length);
                ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_ph(data, type, length, newlength, newtype)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:77:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_ph();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:88:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    complex *c = alloc_c(length);
                 ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c'
#define alloc_c(len)    ((complex *) tmalloc((len) * sizeof (complex)))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_j(data, type, length, newlength, newtype)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:78:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_j();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:116:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    double *d = alloc_d(length);
                ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_real(data, type, length, newlength, newtype)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:79:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_real();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:140:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    double *d = alloc_d(length);
                ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_imag(data, type, length, newlength, newtype)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:80:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_imag();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:166:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    double *d = alloc_d(length);
                ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_pos(data, type, length, newlength, newtype)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:81:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_pos();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:190:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    double *d = alloc_d(length);
                ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_db(data, type, length, newlength, newtype)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:82:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_db();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:237:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = alloc_d(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:240:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        c = alloc_c(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c'
#define alloc_c(len)    ((complex *) tmalloc((len) * sizeof (complex)))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_log(data, type, length, newlength, newtype)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:83:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_log();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:288:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = alloc_d(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:291:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        c = alloc_c(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c'
#define alloc_c(len)    ((complex *) tmalloc((len) * sizeof (complex)))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_ln(data, type, length, newlength, newtype)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:84:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_ln();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:336:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = alloc_d(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:339:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        c = alloc_c(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c'
#define alloc_c(len)    ((complex *) tmalloc((len) * sizeof (complex)))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_exp(data, type, length, newlength, newtype)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_exp();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:376:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        c = alloc_c(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c'
#define alloc_c(len)    ((complex *) tmalloc((len) * sizeof (complex)))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:379:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = alloc_d(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_sqrt(data, type, length, newlength, newtype)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:86:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_sqrt();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:461:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = alloc_d(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:464:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        c = alloc_c(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c'
#define alloc_c(len)    ((complex *) tmalloc((len) * sizeof (complex)))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_sin(data, type, length, newlength, newtype)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:87:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_sin();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:498:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = alloc_d(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:501:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        c = alloc_c(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c'
#define alloc_c(len)    ((complex *) tmalloc((len) * sizeof (complex)))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_cos(data, type, length, newlength, newtype)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath1.c:21:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:88:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_cos();
             ^
51 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:19:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:19:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:19:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:19:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:40:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = alloc_d(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:43:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        c = alloc_c(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c'
#define alloc_c(len)    ((complex *) tmalloc((len) * sizeof (complex)))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_tan(data, type, length, newlength, newtype)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:92:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_tan();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:85:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    d = alloc_d(length);
        ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_atan(data, type, length, newlength, newtype)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:93:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_atan();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:115:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = alloc_d(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:118:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        c = alloc_c(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c'
#define alloc_c(len)    ((complex *) tmalloc((len) * sizeof (complex)))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_norm(data, type, length, newlength, newtype)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:94:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_norm();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:163:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = alloc_d(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:166:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        c = alloc_c(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c'
#define alloc_c(len)    ((complex *) tmalloc((len) * sizeof (complex)))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_uminus(data, type, length, newlength, newtype)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:95:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_uminus();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:198:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = alloc_d(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:201:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        c = alloc_c(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c'
#define alloc_c(len)    ((complex *) tmalloc((len) * sizeof (complex)))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_rnd(data, type, length, newlength, newtype)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:96:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_rnd();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:241:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = alloc_d(1);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:248:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        c = alloc_c(1);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c'
#define alloc_c(len)    ((complex *) tmalloc((len) * sizeof (complex)))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_mean(data, type, length, newlength, newtype)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:97:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_mean();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:273:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    d = alloc_d(1);
        ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_length(data, type, length, newlength, newtype)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:98:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_length();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:302:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    d = alloc_d(len);
        ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_vector(data, type, length, newlength, newtype)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:99:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_vector();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:332:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    d = alloc_d(len);
        ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:343:1: warning: '/*' within block comment [-Wcomment]
/* Calling methods for these functions are:
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_unitvec(data, type, length, newlength, newtype)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:100:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_unitvec();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:351:45: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
cx_plus(data1, data2, datatype1, datatype2, length)
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:364:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = alloc_d(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:369:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        c = alloc_c(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c'
#define alloc_c(len)    ((complex *) tmalloc((len) * sizeof (complex)))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_plus(data1, data2, datatype1, datatype2, length)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:101:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_plus();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:393:46: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
cx_minus(data1, data2, datatype1, datatype2, length)
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:406:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = alloc_d(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:411:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        c = alloc_c(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c'
#define alloc_c(len)    ((complex *) tmalloc((len) * sizeof (complex)))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_minus(data1, data2, datatype1, datatype2, length)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:102:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_minus();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:435:46: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
cx_times(data1, data2, datatype1, datatype2, length)
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:448:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = alloc_d(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:453:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        c = alloc_c(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c'
#define alloc_c(len)    ((complex *) tmalloc((len) * sizeof (complex)))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_times(data1, data2, datatype1, datatype2, length)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:103:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_times();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:479:44: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
cx_mod(data1, data2, datatype1, datatype2, length)
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:492:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = alloc_d(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:503:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        c = alloc_c(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c'
#define alloc_c(len)    ((complex *) tmalloc((len) * sizeof (complex)))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_mod(data1, data2, datatype1, datatype2, length)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath2.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:104:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_mod();
             ^
59 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:19:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:19:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:19:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:19:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:30:47: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
cx_divide(data1, data2, datatype1, datatype2, length)
                                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:43:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = alloc_d(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:50:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        c = alloc_c(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c'
#define alloc_c(len)    ((complex *) tmalloc((len) * sizeof (complex)))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_divide(data1, data2, datatype1, datatype2, length)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:108:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_divide();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:81:46: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
cx_comma(data1, data2, datatype1, datatype2, length)
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:92:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    c = alloc_c(length);
        ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c'
#define alloc_c(len)    ((complex *) tmalloc((len) * sizeof (complex)))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_comma(data1, data2, datatype1, datatype2, length)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:109:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_comma();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:116:46: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
cx_power(data1, data2, datatype1, datatype2, length)
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:129:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = alloc_d(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:136:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        c = alloc_c(length);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c'
#define alloc_c(len)    ((complex *) tmalloc((len) * sizeof (complex)))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:158:41: warning: passing arguments to 'cln' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                t = cexp(ctimes(&c2, cln(&c1)));
                                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:158:32: warning: passing arguments to 'ctimes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                t = cexp(ctimes(&c2, cln(&c1)));
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:158:25: warning: passing arguments to 'cexp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                t = cexp(ctimes(&c2, cln(&c1)));
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_power(data1, data2, datatype1, datatype2, length)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:110:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_power();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cexp(c)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:25:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static complex *cexp();
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cln(c)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:26:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static complex *cln();
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ctimes(c1, c2)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:27:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static complex *ctimes();
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:259:43: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
cx_eq(data1, data2, datatype1, datatype2, length)
                                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:271:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    d = alloc_d(length);
        ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_eq(data1, data2, datatype1, datatype2, length)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:111:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_eq();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:302:43: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
cx_gt(data1, data2, datatype1, datatype2, length)
                                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:314:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    d = alloc_d(length);
        ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_gt(data1, data2, datatype1, datatype2, length)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:112:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_gt();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:345:43: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
cx_lt(data1, data2, datatype1, datatype2, length)
                                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:357:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    d = alloc_d(length);
        ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_lt(data1, data2, datatype1, datatype2, length)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:113:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_lt();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:388:43: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
cx_ge(data1, data2, datatype1, datatype2, length)
                                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:400:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    d = alloc_d(length);
        ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_ge(data1, data2, datatype1, datatype2, length)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_ge();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:431:43: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
cx_le(data1, data2, datatype1, datatype2, length)
                                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:443:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    d = alloc_d(length);
        ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_le(data1, data2, datatype1, datatype2, length)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_le();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:474:43: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
cx_ne(data1, data2, datatype1, datatype2, length)
                                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:486:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    d = alloc_d(length);
        ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_ne(data1, data2, datatype1, datatype2, length)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath3.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:116:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_ne();
             ^
53 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:19:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:19:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:19:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:19:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:26:44: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
cx_and(data1, data2, datatype1, datatype2, length)
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:38:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    d = alloc_d(length);
        ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_and(data1, data2, datatype1, datatype2, length)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:120:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_and();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:66:43: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
cx_or(data1, data2, datatype1, datatype2, length)
                                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:78:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    d = alloc_d(length);
        ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_or(data1, data2, datatype1, datatype2, length)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:121:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_or();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:118:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    d = alloc_d(length);
        ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_not(data, type, length, newlength, newtype)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:122:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_not();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:232:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    d = alloc_d(ns->v_length);
        ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:234:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("polydegree", VT_NUM, (char *) &degree))
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:238:21: warning: passing arguments to 'ft_interpolate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!ft_interpolate((double *) data + base, d + base,
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:242:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(d);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_interpolate(data, type, length, newlength, newtype, pl, newpl, grouping)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:123:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_interpolate();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:275:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("dpolydegree", VT_NUM, (char *) &degree))
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:280:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    spare = alloc_d(n);
            ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:281:15: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    scratch = alloc_d(n * (n + 1));
              ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:291:12: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        r_coefs = alloc_d(n);
                  ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:292:12: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        i_coefs = alloc_d(n);
                  ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:294:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        c_outdata = alloc_c(length);
                    ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c'
#define alloc_c(len)    ((complex *) tmalloc((len) * sizeof (complex)))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:295:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        scale = alloc_d(length);        /* XXX */
                ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:310:18: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (!ft_polyfit(scale + i + base - degree,
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:315:15: warning: passing arguments to 'ft_polyderiv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ft_polyderiv(r_coefs, degree);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:321:12: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        ft_peval(x, r_coefs, degree - 1);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:327:18: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (!ft_polyfit(scale + i - degree + base,
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:332:15: warning: passing arguments to 'ft_polyderiv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ft_polyderiv(i_coefs, degree);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:338:12: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        ft_peval(x, i_coefs, degree - 1);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:347:41: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                c_outdata[j + base].cx_real = ft_peval(x, r_coefs, degree - 1);
                                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:349:41: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                c_outdata[j + base].cx_imag = ft_peval(x, i_coefs, degree - 1);
                                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:353:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(r_coefs);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:354:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(i_coefs);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:355:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(scale);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:365:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        coefs = alloc_d(n);
                ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:367:12: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        outdata = alloc_d(length);
                  ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:368:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        scale = alloc_d(length);        /* XXX */
                ^
/Users/pbulk/build/cad/spice/work/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d'
#define alloc_d(len)    ((double *) tmalloc((len) * sizeof (double)))
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:374:18: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (!ft_polyfit(scale + i - degree + base,
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:379:15: warning: passing arguments to 'ft_polyderiv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ft_polyderiv(coefs, degree);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:384:35: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    outdata[j + base] = ft_peval(x, coefs, degree - 1);
                                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:391:35: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    outdata[j + base] = ft_peval(x, coefs, degree - 1);
                                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:396:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(coefs);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:397:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(scale);   /* XXX */
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cx_deriv(data, type, length, newlength, newtype, pl, newpl, grouping)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cmath4.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:124:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cx_deriv();
             ^
52 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:12:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: conflicting prototype is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc'
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: conflicting prototype is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc'
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: conflicting prototype is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc'
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here
extern char *realloc();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:13:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:13:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:80:25: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    resname = cp_unquote(wl->wl_word);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:81:15: warning: passing arguments to 'vec_remove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    vec_remove(resname);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:86:32: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!(pn = ft_getpnames(wl, true)))
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:90:34: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (!(v = ft_evaluate(pn)))
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:100:19: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        free_pnode(first_pn);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:140:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            data = (double *) tmalloc(sizeof (double) * length *
                                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:143:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            cdata = (complex *) tmalloc(sizeof (complex) * length *
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:166:21: warning: passing arguments to 'dimxpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            dimxpand(v, dims, (realflag ? (data + i * blocksize) : 
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:220:21: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (cieq(var, "start")) {
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:222:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (!(td = ft_numparse(&val, false))) {
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:229:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            } else if (cieq(var, "stop")) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:231:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (!(td = ft_numparse(&val, false))) {
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:238:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            } else if (cieq(var, "step")) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:240:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (!(td = ft_numparse(&val, false))) {
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:247:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            } else if (cieq(var, "center")) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:249:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (!(td = ft_numparse(&val, false))) {
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:256:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            } else if (cieq(var, "span")) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:258:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (!(td = ft_numparse(&val, false))) {
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:265:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            } else if (cieq(var, "mean")) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:267:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (!(td = ft_numparse(&val, false))) {
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:274:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            } else if (cieq(var, "sd")) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:276:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (!(td = ft_numparse(&val, false))) {
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:283:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            } else if (cieq(var, "lin")) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:285:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (!(td = ft_numparse(&val, false))) {
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:292:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            } else if (cieq(var, "log")) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:294:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (!(td = ft_numparse(&val, false))) {
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:301:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            } else if (cieq(var, "dec")) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:303:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (!(td = ft_numparse(&val, false))) {
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:310:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            } else if (cieq(var, "gauss")) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:312:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (!(td = ft_numparse(&val, false))) {
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:319:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            } else if (cieq(var, "random")) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:321:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (!(td = ft_numparse(&val, false))) {
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:328:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            } else if (cieq(var, "pool")) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:376:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            data = (double *) tmalloc(sizeof (double) * (int) lin);
                                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:424:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    result = alloc(struct dvec);
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:426:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    result->v_name = copy(resname);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:436:12: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    vec_new(result);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:437:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_addkword(CT_VECTOR, result->v_name);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_compose(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:132:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_compose();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dimxpand(v, newdims, data)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//compose.c:20:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void dimxpand();
            ^
54 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:8:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:54:12: warning: passing arguments to 'cp_ccon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_ccon(true);  /* So the user can type ahead... */
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:62:23: warning: passing arguments to 'cp_addcomm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            cp_addcomm(c->co_comname, c->co_cctypes[0],
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:65:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            cp_addkword(CT_COMMANDS, c->co_comname);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:69:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            cp_addkword(CT_LISTINGARGS, "deck");
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:70:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            cp_addkword(CT_LISTINGARGS, "logical");
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:71:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            cp_addkword(CT_LISTINGARGS, "physical");
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:72:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            cp_addkword(CT_LISTINGARGS, "expand");
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:74:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            cp_addkword(CT_STOPARGS, "when");
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:75:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            cp_addkword(CT_STOPARGS, "after");
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:78:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_PLOT, "new");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:80:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_PLOTKEYWORDS, "xlimit");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:81:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_PLOTKEYWORDS, "ylimit");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:82:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_PLOTKEYWORDS, "vs");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:83:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_PLOTKEYWORDS, "xindices");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:84:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_PLOTKEYWORDS, "xcompress");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:85:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_PLOTKEYWORDS, "xdelta");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:86:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_PLOTKEYWORDS, "ydelta");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:87:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_PLOTKEYWORDS, "lingrid");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:88:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_PLOTKEYWORDS, "loglog");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:89:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_PLOTKEYWORDS, "linear");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:90:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_PLOTKEYWORDS, "xlog");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:91:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_PLOTKEYWORDS, "ylog");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:92:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_PLOTKEYWORDS, "polar");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:93:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_PLOTKEYWORDS, "smith");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:94:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_PLOTKEYWORDS, "smithgrid");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:95:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_PLOTKEYWORDS, "nointerp");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:96:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_PLOTKEYWORDS, "title");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:97:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_PLOTKEYWORDS, "xlabel");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:98:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_PLOTKEYWORDS, "ylabel");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:99:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_PLOTKEYWORDS, "linplot");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:100:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_PLOTKEYWORDS, "combplot");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:101:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_PLOTKEYWORDS, "pointplot");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:103:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_RUSEARGS, "time");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:104:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_RUSEARGS, "space");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:105:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_RUSEARGS, "faults");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:106:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_RUSEARGS, "elapsed");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:107:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_RUSEARGS, "totiter");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:108:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_RUSEARGS, "traniter");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:109:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_RUSEARGS, "tranpoints");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:110:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_RUSEARGS, "accept");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:111:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_RUSEARGS, "rejected");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:112:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_RUSEARGS, "time");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:113:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_RUSEARGS, "trantime");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:114:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_RUSEARGS, "lutime");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:115:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_RUSEARGS, "solvetime");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:116:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_RUSEARGS, "transolvetime");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:117:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_RUSEARGS, "loadtime");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:118:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_RUSEARGS, "all");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:120:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_VECTOR, "all");
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:123:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            cp_addkword(CT_VARIABLES, *x);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:125:35: warning: passing arguments to 'ft_typenames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (!(s = ft_typenames(i)))
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:127:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            cp_addkword(CT_TYPENAMES, s);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:131:12: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_vset("program", VT_STRING, cp_program);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:151:12: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_vset("prompt", VT_STRING, buf);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:152:12: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_vset("noglob", VT_BOOL, (char *) &t);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:163:16: warning: passing arguments to 'cp_setalias' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_setalias("begin", &wl1);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:166:16: warning: passing arguments to 'cp_setalias' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_setalias("endif", &wl1);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:167:16: warning: passing arguments to 'cp_setalias' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_setalias("endwhile", &wl1);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:168:16: warning: passing arguments to 'cp_setalias' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_setalias("endforeach", &wl1);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:169:16: warning: passing arguments to 'cp_setalias' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_setalias("endrepeat", &wl1);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:170:16: warning: passing arguments to 'cp_setalias' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_setalias("enddowhile", &wl1);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:172:16: warning: passing arguments to 'cp_setalias' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_setalias("?", &wl1);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:183:16: warning: passing arguments to 'com_let' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        com_let(&wl1);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:190:19: warning: passing arguments to 'com_define' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        com_define(&wl1);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:198:25: warning: passing arguments to 'cp_lexer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl = cp_doglob(cp_lexer(buf));
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:198:16: warning: passing arguments to 'cp_doglob' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl = cp_doglob(cp_lexer(buf));
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:199:14: warning: passing arguments to 'cp_striplist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_striplist(wl);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:200:9: warning: passing arguments to 'com_set' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        com_set(wl);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:204:24: warning: passing arguments to 'cp_tildexpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        for (s = cp_tildexpand(Lib_Path); s && *s; ) {
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:211:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (fp = fopen(buf, "r")) {
                ~~~^~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:211:13: note: place parentheses around the assignment to silence this warning
            if (fp = fopen(buf, "r")) {
                   ^
                (                   )
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:211:13: note: use '==' to turn this assignment into an equality comparison
            if (fp = fopen(buf, "r")) {
                   ^
                   ==
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:213:15: warning: passing arguments to 'inp_spsource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                inp_spsource(fp, true, buf);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:225:5: warning: call to undeclared function 'tcap_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    tcap_init( );
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:242:17: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wl = wl_copy(wl);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:243:26: warning: passing arguments to 'cp_variablesubst' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wl = cp_variablesubst(wl);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:244:19: warning: passing arguments to 'cp_bquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wl = cp_bquote(wl);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:245:17: warning: passing arguments to 'cp_striplist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_striplist(wl);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:247:22: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pn = ft_getpnames(wl, true);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:248:20: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    v = ft_evaluate(pn);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:249:15: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    free_pnode(pn);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_istrue(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:172:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern bool cp_istrue();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:283:13: warning: passing arguments to 'com_quit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    com_quit((wordlist *) NULL);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:301:26: warning: passing arguments to 'inp_pathopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (fp = inp_pathopen(s, "r")) {
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:301:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (fp = inp_pathopen(s, "r")) {
        ~~~^~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:301:12: note: place parentheses around the assignment to silence this warning
    if (fp = inp_pathopen(s, "r")) {
           ^
        (                        )
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:301:12: note: use '==' to turn this assignment into an equality comparison
    if (fp = inp_pathopen(s, "r")) {
           ^
           ==
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:303:61: warning: passing arguments to 'wl_length' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) sprintf(buf, "argc = %d argv = ( ", wl_length(wl));
                                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:310:25: warning: passing arguments to 'cp_lexer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        com_set(cp_lexer(buf));
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:310:16: warning: passing arguments to 'com_set' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        com_set(cp_lexer(buf));
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:311:19: warning: passing arguments to 'inp_source' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        inp_source(s);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:312:18: warning: passing arguments to 'cp_remvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_remvar("argc");
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:313:18: warning: passing arguments to 'cp_remvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_remvar("argv");
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:320:16: warning: passing arguments to 'com_let' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        com_let(&ww);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_oddcomm(s, wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//cpitf.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:173:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern bool cp_oddcomm();
            ^
99 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//debugcom.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//debugcom.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//debugcom.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//debugcom.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//debugcom.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//debugcom.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//debugcom.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_state(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//debugcom.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:139:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_state();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//debugcom.c:48:12: warning: passing arguments to 'if_dump' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if_dump(ft_curckt->ci_ckt, cp_out);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//debugcom.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_dump(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//debugcom.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:138:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_dump();
            ^
11 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:18:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: conflicting prototype is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc'
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: conflicting prototype is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc'
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: conflicting prototype is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc'
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here
extern char *realloc();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:19:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:19:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:21:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:49:15: warning: passing arguments to 'prdefs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        prdefs((char *) NULL);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:69:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl->wl_word = copy(s);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:76:15: warning: passing arguments to 'prdefs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        prdefs(buf);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:99:28: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!(pn = ft_getpnames(wl, false)))
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:107:13: warning: passing arguments to 'savetree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    savetree(pn);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:110:13: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    b = copy(buf);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:124:19: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (prefix(b, udf->ud_name) && (arity == udf->ud_arity))
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:127:15: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        udf = alloc(struct udfunc);
              ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:139:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_addkword(CT_UDFUNCS, b);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_define(wlist)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:21:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:144:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_define();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:157:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            pn->pn_value = alloc(struct dvec);
                           ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:159:40: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            pn->pn_value->v_name = copy(d->v_name);
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:166:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    tmalloc(sizeof (double) * d->v_length);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:172:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    tmalloc(sizeof (complex) * d->v_length);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
savetree(pn)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:31:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void savetree();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:205:23: warning: passing arguments to 'prtree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                prtree(udf);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:208:19: warning: passing arguments to 'prtree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            prtree(udf);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
prdefs(name)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:28:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void prdefs();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:236:12: warning: passing arguments to 'prtree1' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    prtree1(ud->ud_text, cp_out);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
prtree(ud)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:29:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void prtree();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
prtree1(pn, fp)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:30:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void prtree1();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:306:19: warning: passing arguments to 'trcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (trcopy(udf->ud_text, s, args));
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_substdef(name, args)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:21:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:143:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct pnode *ft_substdef();
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:343:31: warning: passing arguments to 'ntharg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                return (ntharg(i, nn));
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:351:16: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        func = alloc(struct func);
               ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:352:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        func->fu_name = copy(tree->pn_func->fu_name);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:355:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        pn = alloc(struct pnode);
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:366:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        op = alloc(struct op);
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:370:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        op->op_name = copy(tree->pn_op->op_name);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:372:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        pn = alloc(struct pnode);
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
trcopy(tree, args, nn)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:27:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static struct pnode *trcopy();
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:396:8: warning: parameter 'num' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
ntharg(num, args)
       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:408:17: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                else
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ntharg(num, args)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:26:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static struct pnode *ntharg();
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:437:28: warning: passing arguments to 'cp_remkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                cp_remkword(CT_UDFUNCS, wlist->wl_word);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_undefine(wlist)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:21:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:145:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_undefine();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:454:12: warning: declaration of 'struct pn' will not be visible outside of this function [-Wvisibility]
    struct pn *pn;
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:456:13: warning: incompatible pointer types passing 'struct pn *' to parameter of type 'struct pnode *' [-Wincompatible-pointer-types]
    prtree1(pn, cp_err);
            ^~
/Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_pnode(pn)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//define.c:21:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:146:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void ft_pnode();
            ^
61 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:44:13: warning: passing arguments to 'all_show' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    all_show(wl, 1);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_showmod(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:151:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_showmod();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:51:13: warning: passing arguments to 'all_show' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    all_show(wl, 0);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_show(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:150:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_show();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:73:10: warning: passing arguments to 'old_show' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        old_show(wl->wl_next);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:77:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("width", VT_NUM, (char *) &screen_width))
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:126:3: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(w->wl_word);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:127:3: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(w);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:130:3: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(w->wl_word);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:131:3: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(w);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:147:7: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    tfree(w->wl_word);
                    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:148:7: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    tfree(w);
                    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:158:21: warning: passing arguments to 'dgen_init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        for (dg = dgen_init(ft_curckt->ci_ckt, thisgroup, 1, dev_flag, mode);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:159:7: warning: call to undeclared function 'dgen_nth_next'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                dg; dgen_nth_next(&dg, count))
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:172:8: warning: call to undeclared function 'dgen_for_n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        j = dgen_for_n(dg, count, printstr, "n", i);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:181:9: warning: call to undeclared function 'dgen_for_n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                                j = dgen_for_n(dg, count, printstr, "m", i);
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:189:7: warning: call to undeclared function 'param_forall'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                    param_forall(dg, param_flag);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:193:7: warning: call to undeclared function 'wl_forall'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                    wl_forall(params, listparam, dg);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:204:8: warning: call to undeclared function 'dgen_for_n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        j = dgen_for_n(dg, count, printstr, "m", i);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:211:7: warning: call to undeclared function 'param_forall'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                    param_forall(dg, param_flag);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:215:7: warning: call to undeclared function 'wl_forall'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                    wl_forall(params, listparam, dg);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
all_show(wl, mode)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:36:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void all_show( );
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:241:16: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat]
            printf(" % 9.9s", dg->instance->GENname);
                     ~^~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:241:24: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat]
            printf(" % 9.9s", dg->instance->GENname);
                     ~~~~~~   ^~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:243:21: warning: trigraph ignored [-Wtrigraphs]
            printf(" <???????>");
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:246:16: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat]
            printf(" % 9.9s", dg->model->GENmodName);
                     ~^~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:246:24: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat]
            printf(" % 9.9s", dg->model->GENmodName);
                     ~~~~~~   ^~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:248:21: warning: trigraph ignored [-Wtrigraphs]
            printf(" <???????>");
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
printstr(dg, name)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:30:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
int     printstr( );
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:255:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
param_forall(dg, flags)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:287:8: warning: call to undeclared function 'dgen_for_n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        k = dgen_for_n(dg, count, printvals,
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
param_forall(dg, flags)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:297:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
listparam(p, dg)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:316:6: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (eqc(p->wl_word, plist[i].keyword) && (plist[i].dataType & IF_ASK))
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:27:24: note: expanded from macro 'eqc'
#define eqc(a,b)  (cieq((a), (b)))
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:333:7: warning: call to undeclared function 'dgen_for_n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                k = dgen_for_n(dg, count, printvals, plist + i, j);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:344:7: warning: call to undeclared function 'dgen_for_n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                k = dgen_for_n(dg, count, bogus1, 0, j);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:356:10: warning: call to undeclared function 'dgen_for_n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            k = dgen_for_n(dg, count, bogus2, 0, j);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
listparam(p, dg)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:31:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
int     listparam( );
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:363:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
bogus1(dg)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:33:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
int     bogus1( );
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:370:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
bogus2(dg)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:34:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
int     bogus2( );
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:428:17: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat]
                    printf(" % 9.9s", val.v.vec.sVec[i]);
                             ~^~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:431:17: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat]
                    printf(" % 9.9s", val.v.vec.uVec[i]);
                             ~^~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:431:25: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat]
                    printf(" % 9.9s", val.v.vec.uVec[i]);
                             ~~~~~~   ^~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:454:17: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat]
                    printf(" % 9.9s", val.sValue);
                             ~^~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:457:17: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat]
                    printf(" % 9.9s ", val.uValue);
                             ~^~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:457:26: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat]
                    printf(" % 9.9s ", val.uValue);
                             ~~~~~~    ^~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
printvals(dg, p, i)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:32:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
int     printvals( );
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:500:20: warning: passing arguments to 'inp_casefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        inp_casefix(devs->wl_word);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:501:37: warning: passing arguments to 'devexpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tw = wl_append(tw, devexpand(devs->wl_word));
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:501:23: warning: passing arguments to 'wl_append' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tw = wl_append(tw, devexpand(devs->wl_word));
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:513:25: warning: passing arguments to 'cp_cctowl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        devs = cp_cctowl(ft_curckt->ci_devices);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:518:19: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        out_printf("%s:\n", devs->wl_word);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:521:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                nn = copy(devs->wl_word);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:522:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                v = (*if_getparam)(ft_curckt->ci_ckt,
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:525:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    v = (*if_getparam)(ft_curckt->ci_ckt,
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:528:31: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    out_printf("\t%s =", tw->wl_word);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:529:39: warning: passing arguments to 'cp_varwl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    for (ww = cp_varwl(v); ww; ww =
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:531:35: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        out_printf(" %s", ww->wl_word);
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:532:29: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    out_send("\n");
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:536:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            nn = copy(devs->wl_word);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:537:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            v = (*if_getparam)(ft_curckt->ci_ckt, &nn, "all", 0, 0);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:539:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                v = (*if_getparam)(ft_curckt->ci_ckt, &nn, "all", 0, 1);
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:541:27: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                out_printf("\t%s =", v->va_name);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:542:35: warning: passing arguments to 'cp_varwl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                for (ww = cp_varwl(v); ww; ww = ww->wl_next)
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:543:31: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    out_printf(" %s", ww->wl_word);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:544:25: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                out_send("\n");
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
old_show(wl)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:35:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
void    old_show( );
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_alter(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:152:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_alter();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:574:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
com_altermod(wl)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:596:25: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    names = ft_getpnames(wl, false);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:615:12: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        free_pnode(names);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:626:12: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        free_pnode(names);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:636:12: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        free_pnode(names);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:662:21: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    dv = ft_evaluate(n2->pn_right);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:663:15: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    free_pnode(names);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:671:16: warning: passing arguments to 'if_setparam' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if_setparam(ft_curckt->ci_ckt, &dev, param, dv, do_model);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:673:15: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    free_pnode(names);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:761:28: warning: passing arguments to 'cp_cctowl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        devices = cp_cctowl(ft_curckt->ci_devices);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:763:29: warning: passing arguments to 'cp_globmatch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (cp_globmatch(name, devices->wl_word)) {
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:764:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tw = alloc(struct wordlist);
                     ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:774:23: warning: passing arguments to 'cp_cctowl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl = cp_cctowl(ft_curckt->ci_devices);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:776:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl = alloc(struct wordlist);
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:779:12: warning: passing arguments to 'wl_sort' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wl_sort(wl);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
devexpand(name)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//device.c:18:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static wordlist *devexpand();
                 ^
104 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:15:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:15:
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:15:
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:15:
/Users/pbulk/build/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void free();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
nameeq(n1, n2)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:58:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("diff_vntol", VT_REAL, (char *) &vntol))
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:60:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("diff_abstol", VT_REAL, (char *) &abstol))
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:62:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("diff_reltol", VT_REAL, (char *) &reltol))
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:211:33: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        printnum(d1));
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:215:33: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        printnum(d2));
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:231:38: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        copy(printnum(realpart(&c1))),
                                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:231:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        copy(printnum(realpart(&c1))),
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:232:38: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        copy(printnum(imagpart(&c1))),
                                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:232:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        copy(printnum(imagpart(&c1))),
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:234:38: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        copy(printnum(realpart(&c2))),
                                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:234:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        copy(printnum(realpart(&c2))),
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:235:38: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        copy(printnum(imagpart(&c2))));
                                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:235:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        copy(printnum(imagpart(&c2))));
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_diff(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//diff.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:156:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_diff();
            ^
26 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:6:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:6:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:6:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:6:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:10:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:73:19: warning: incompatible function pointer types initializing 'int (*)()' with an expression of type 'void (int, int, int, double, double)' [-Wincompatible-function-pointer-types]
    X11_DrawLine, X11_Arc, X11_Text, X11_DefineColor, X11_DefineLinestyle,
                  ^~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:75:26: warning: incompatible function pointer types initializing 'int (*)()' with an expression of type 'void (REQUEST *, RESPONSE *)' (aka 'void (struct request *, struct response *)') [-Wincompatible-function-pointer-types]
    nodev, nodev, nodev, X11_Input,
                         ^~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:152:5: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    internalerror(ErrorMessage);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:141:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
DISPDEVICE *FindDev(name)
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:173:39: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (getenv("DISPLAY") || cp_getvar("display", VT_STRING, buf)) {
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:196:2: warning: call to undeclared function 'externalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        externalerror(
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:213:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (*(dispdev->NewViewport))(pgraph);
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
NewViewport(pgraph)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:217:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
DevClose()
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:224:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
DevClear()
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:231:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
DrawLine(x1, y1, x2, y2)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:234:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (*(dispdev->DrawLine))(x1, y1, x2, y2);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
DrawLine(x1, y1, x2, y2)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:238:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
Arc(x0, y0, radius, theta1, theta2)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:243:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (*(dispdev->Arc))(x0, y0, radius, theta1, theta2);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Arc(x0, y0, radius, theta1, theta2)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:247:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
Text(text, x, y)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:252:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (*(dispdev->Text))(text, x, y);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Text(text, x, y)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:256:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
DefineColor(colorid, red, green, blue)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:261:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (*(dispdev->DefineColor))(colorid, red, green, blue);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
DefineColor(colorid, red, green, blue)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:265:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
DefineLinestyle(linestyleid, mask)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:270:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (*(dispdev->DefineLinestyle))(linestyleid, mask);
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
DefineLinestyle(linestyleid, mask)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:274:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
SetLinestyle(linestyleid)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:278:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (*(dispdev->SetLinestyle))(linestyleid);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SetLinestyle(linestyleid)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:282:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
SetColor(colorid)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:286:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (*(dispdev->SetColor))(colorid);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SetColor(colorid)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:290:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
Update()
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:301:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
gen_DatatoScreen(graph, x, y, screenx, screeny)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:13:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int nodev(), nop(), gen_DatatoScreen(), gen_Input();
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:342:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
DatatoScreen(graph, x, y, screenx, screeny)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:348:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (*(dispdev->DatatoScreen))(graph, x, y, screenx, screeny);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
DatatoScreen(graph, x, y, screenx, screeny)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:365:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
Input(request, response)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:370:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (*(dispdev->Input))(request, response);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Input(request, response)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:375:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
gen_Input(request, response)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:382:36: warning: passing arguments to 'inchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        response->reply.ch = inchar(request->fp);
                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gen_Input(request, response)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:13:48: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int nodev(), nop(), gen_DatatoScreen(), gen_Input();
                                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:400:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
static nodev()
~~~~~~ ^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:406:5: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    internalerror(ErrorMessage);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:411:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
SaveText(graph, text, x, y)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:428:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    keyed->text = tmalloc(strlen(text) + 1);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SaveText(graph, text, x, y)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:440:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
DevSwitch(devname)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:448:9: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        internalerror("DevSwitch w/o changing back");
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:454:9: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        internalerror("no hardcopy device");
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//display.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
DevSwitch(devname)
^
60 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteinput.h:25:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteinput.h:25:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteinput.h:25:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteinput.h:25:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteinput.h:25:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:43:18: warning: passing arguments to 'plotit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (void) plotit(wl, (char *) NULL, "lpr");
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_asciiplot(wl)   
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:160:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_asciiplot();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:67:13: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (cieq(fname, "temp") || cieq(fname, "tmp")) {
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:67:36: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (cieq(fname, "temp") || cieq(fname, "tmp")) {
                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:68:24: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        fname = smktemp("xg");
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:72:18: warning: passing arguments to 'plotit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (void) plotit(wl, fname, "xgraph");
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_xgraph(wl)    
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:163:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_xgraph();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:106:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("hcopydev", VT_STRING, device))
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:115:24: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        fname = smktemp("hc");
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:119:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("hcopydevtype", VT_STRING, buf)) {
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:137:9: warning: call to undeclared function 'Input'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        Input(&request, &response);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:143:10: warning: call to undeclared function 'DevSwitch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            if (DevSwitch(devtype)) return;
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:144:27: warning: passing arguments to 'CopyGraph' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tempgraph = CopyGraph(response.reply.graph);
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:146:10: warning: call to undeclared function 'NewViewport'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            if (NewViewport(tempgraph)) {
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:150:6: warning: call to undeclared function 'gr_resize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            gr_resize(tempgraph);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:151:6: warning: call to undeclared function 'gr_redraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            gr_redraw(tempgraph);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:152:6: warning: call to undeclared function 'DestroyGraph'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            DestroyGraph(tempgraph->graphid);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:164:19: warning: passing arguments to 'outmenuprompt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            outmenuprompt("which variable ? ");
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:165:24: warning: passing arguments to 'prompt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if ((buf2 = prompt(cp_in)) == (char *) -1)  /* XXXX Sick */
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:167:11: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl = alloc(struct wordlist);
                 ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:170:18: warning: passing arguments to 'process' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl = process(wl);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:177:6: warning: call to undeclared function 'DevSwitch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        if (DevSwitch(devtype)) return;
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:179:20: warning: passing arguments to 'plotit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!wl || !plotit(wl, fname, (char *) NULL)) {
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:195:16: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!cp_getvar("lprplot5", VT_STRING, format))
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:206:16: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!cp_getvar("lprps", VT_STRING, format))
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:236:16: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        (void) unlink(fname);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_hardcopy(wl)    
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:161:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_hardcopy();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:248:18: warning: passing arguments to 'plotit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (void) plotit(wl, (char *) NULL, (char *) NULL);
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_plot(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:162:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_plot();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:293:18: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wwl = wl_copy(wl);
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:294:19: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (void) getlims(wwl, "xl", 2);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:295:19: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (void) getlims(wwl, "xlimit", 2);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:296:19: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (void) getlims(wwl, "yl", 2);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:297:19: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (void) getlims(wwl, "ylimit", 2);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:298:48: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (void) sprintf(cline, "plot %s", wl_flatten(wwl));
                                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:300:12: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wl_free(wwl);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:307:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tw = alloc(struct wordlist);
         ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:313:23: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    sameflag = getflag(wl, "samep");
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:316:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        xlim = getlims(wl, "xl", 2);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:318:27: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            xlim = getlims(wl, "xlimit", 2);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:320:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) getlims(wl, "xl", 2);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:321:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) getlims(wl, "xlimit", 2);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:325:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ylim = getlims(wl, "yl", 2);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:327:27: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            ylim = getlims(wl, "ylimit", 2);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:329:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) getlims(wl, "yl", 2);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:330:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) getlims(wl, "ylimit", 2);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:334:28: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        xcompress = getlims(wl, "xcompress", 1);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:336:32: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            xcompress = getlims(wl, "xcomp", 1);
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:338:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) getlims(wl, "xcompress", 1);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:339:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) getlims(wl, "xcomp", 1);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:343:27: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        xindices = getlims(wl, "xindices", 2);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:345:31: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            xindices = getlims(wl, "xind", 2);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:347:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) getlims(wl, "xindices", 2);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:348:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) getlims(wl, "xind", 2);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:352:25: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        xdelta = getlims(wl, "xdelta", 1);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:354:29: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            xdelta = getlims(wl, "xdel", 1);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:356:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) getlims(wl, "xdelta", 1);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:357:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) getlims(wl, "xdel", 1);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:360:25: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ydelta = getlims(wl, "ydelta", 1);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:362:29: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            ydelta = getlims(wl, "ydel", 1);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:364:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) getlims(wl, "ydelta", 1);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:365:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) getlims(wl, "ydel", 1);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:371:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (getflag(wl, "lingrid")) {
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:380:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (getflag(wl, "loglog")) {
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:389:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (getflag(wl, "nogrid")) {
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:398:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (getflag(wl, "linear")) {
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:407:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (getflag(wl, "xlog")) {
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:416:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (getflag(wl, "ylog")) {
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:425:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (getflag(wl, "polar")) {
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:434:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (getflag(wl, "smith")) {
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:443:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (getflag(wl, "smithgrid")) {
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:454:22: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (cp_getvar("gridstyle", VT_STRING, buf)) {
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:484:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (getflag(wl, "linplot")) {
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:493:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (getflag(wl, "combplot")) {
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:502:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (getflag(wl, "pointplot")) {
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:513:22: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (cp_getvar("plotstyle", VT_STRING, buf)) {
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:532:25: warning: passing arguments to 'getword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        xlabel = getword(wl, "xlabel");
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:534:23: warning: passing arguments to 'getword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) getword(wl, "xlabel");
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:536:25: warning: passing arguments to 'getword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ylabel = getword(wl, "ylabel");
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:538:23: warning: passing arguments to 'getword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) getword(wl, "ylabel");
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:540:24: warning: passing arguments to 'getword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        title = getword(wl, "title");
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:542:23: warning: passing arguments to 'getword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) getword(wl, "title");
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:545:27: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        nointerp = getflag(wl, "nointerp");
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:546:21: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    else if (getflag(wl, "nointerp"))
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:566:25: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    names = ft_getpnames(wl, false);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:583:33: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                dv = ft_evaluate(n);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:598:25: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        dv = ft_evaluate(n);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:609:15: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    free_pnode(names);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:626:29: warning: passing arguments to 'vec_mkfamily' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                lv->v_link2 = vec_mkfamily(d);
                                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:628:27: warning: passing arguments to 'vec_mkfamily' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                vecs = lv = vec_mkfamily(d);
                                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:707:18: warning: passing arguments to 'xtend' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            xtend(d, d->v_scale->v_length);
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:714:21: warning: passing arguments to 'compress' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            compress(d, xcompress, xindices);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:715:34: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            d->v_scale = vec_copy(d->v_scale);
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:716:21: warning: passing arguments to 'compress' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            compress(d->v_scale, xcompress, xindices);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:730:15: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                n = vec_copy(d);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:803:17: warning: passing arguments to 'ft_minmax' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                dd = ft_minmax(d, true);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:813:27: warning: passing arguments to 'ft_minmax' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            dd = ft_minmax(d, true);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:863:17: warning: passing arguments to 'ft_minmax' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                dd = ft_minmax(d, false);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:874:27: warning: passing arguments to 'ft_minmax' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            dd = ft_minmax(d->v_scale, true);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:992:27: warning: passing arguments to 'if_tranparams' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            !if_tranparams(ft_curckt, &tstart, &tstop, &tstep) ||
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:998:22: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            !ciprefix("tran", plot_cur->pl_typename))) {
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1002:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          newscale = (double *) tmalloc(newlen * sizeof(double));
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1004:24: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          newv_scale = alloc(struct dvec);
                       ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1009:36: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          newv_scale->v_name = copy(vecs->v_scale->v_name);
                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1016:41: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            newdata = (double *) tmalloc(newlen * sizeof (double));
                                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1018:32: warning: passing arguments to 'ft_interpolate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (!ft_interpolate(v->v_realdata, newdata,
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1026:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(v->v_realdata);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1036:17: warning: passing arguments to 'ft_agraf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ft_agraf(xlims, ylims, vecs->v_scale, vecs->v_plot, vecs, 
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1055:36: warning: passing arguments to 'ft_typabbrev' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            xlabel ? xlabel : ft_typabbrev(vecs->v_scale->v_type),
                                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1056:36: warning: passing arguments to 'ft_typabbrev' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            ylabel ? ylabel : ft_typabbrev(j),
                                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1053:11: warning: passing arguments to 'ft_xgraph' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ft_xgraph(xlims, ylims, hcopy,
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1069:17: warning: passing arguments to 'gr_init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!gr_init(xlims, ylims, (oneval ? (char *) NULL : xn),
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1077:16: warning: passing arguments to 'ft_graf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ft_graf(d, oneval ? (struct dvec *) NULL : d->v_scale, false);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
plotit(wl, hcopy, devname)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:27:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static bool plotit();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1112:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                d = (double *) tmalloc(sizeof (double) *
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1123:37: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    td = ft_numparse(&ss, false);
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1139:10: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wl_free(beg);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1092:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
getlims(wl, name, number)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:24:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static double *getlims();
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1167:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            s = copy(beg->wl_next->wl_word);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1172:20: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl_free(beg);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
getword(wl, name)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static char *getword();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
getflag(wl, name)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:23:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static bool getflag();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1220:43: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        v->v_realdata = (double *) tmalloc(length * sizeof (double));
                                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1226:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(od);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1229:44: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        v->v_compdata = (complex *) tmalloc(length * sizeof (complex));
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1239:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(oc);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
xtend(v, length)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:26:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void xtend();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1266:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            dd = (double *) tmalloc(newlen * sz);
                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1271:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(d->v_realdata);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1276:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(d->v_compdata);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:1251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
compress(d, xcomp, xind)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//doplot.c:25:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void compress();
            ^
147 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:36:21: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (ciprefix(".save", iline->wl_word)) {
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:38:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            (void) gettok(&s);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:39:39: warning: passing arguments to 'gettoks' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl = wl_append(wl, gettoks(s));
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:39:27: warning: passing arguments to 'wl_append' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl = wl_append(wl, gettoks(s));
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:43:13: warning: passing arguments to 'com_save' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    com_save(wl);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:75:14: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (ciprefix(".plot", s))
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:80:32: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (isaplot || ciprefix(".print", s)) {
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:81:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            (void) gettok(&s);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:82:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&s);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:84:30: warning: passing arguments to 'gettoks' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (!(w = gettoks(s))) {
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:96:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                                tfree(wl);
                                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:105:3: warning: call to undeclared function 'com_save2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                com_save2(w, name);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:107:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        } else if (ciprefix(".four", s)) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:108:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            (void) gettok(&s);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:109:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            (void) gettok(&s);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:110:30: warning: passing arguments to 'gettoks' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (!(w = gettoks(s)))
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:115:3: warning: call to undeclared function 'com_save2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                com_save2(w, "TRAN");   /* A hack */
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:117:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        } else if (ciprefix(".op", s)) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:119:3: warning: call to undeclared function 'com_save2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                com_save2(&all, "OP");
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:120:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        } else if (ciprefix(".tf", s)) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:122:3: warning: call to undeclared function 'com_save2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                com_save2(&all, "TF");
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:166:14: warning: passing arguments to 'inp_list' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            inp_list(cp_out, ft_curckt->ci_deck, ft_curckt->ci_options,
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:165:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
        else
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:170:17: warning: passing arguments to 'setcplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (setcplot("op")) {
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:186:12: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        printnum(v->v_realdata[0]));
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:193:12: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        printnum(v->v_realdata[0]));
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:197:14: warning: passing arguments to 'com_showmod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                com_showmod(&all);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:198:14: warning: passing arguments to 'com_show' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            com_show(&all);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:203:21: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (ciprefix("tf", pl->pl_typename)) {
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:210:15: warning: passing arguments to 'com_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            com_print(&all);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:217:27: warning: passing arguments to 'cp_lexer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        command = cp_lexer(coms->wl_word);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:223:42: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            } while (command && !ciprefix("out", command->wl_word));
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:232:24: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                cp_vset("width", VT_NUM, (char *) &i);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:247:28: warning: passing arguments to 'fixdotprint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                fixdotprint(command);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:251:19: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    if (ciprefix(plottype, pl->pl_typename)) {
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:253:13: warning: passing arguments to 'com_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        com_print(&twl);
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:276:27: warning: passing arguments to 'fixdotplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                fixdotplot(command);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:279:19: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    if (ciprefix(plottype, pl->pl_typename)) {
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:281:17: warning: passing arguments to 'com_asciiplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        com_asciiplot(command);
                                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:290:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        } else if (ciprefix(".four", command->wl_word)) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:294:32: warning: passing arguments to 'setcplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            } else if (setcplot("tran")) {
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:295:14: warning: passing arguments to 'com_fourier' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                com_fourier(command->wl_next);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:324:19: warning: passing arguments to 'com_rusage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        com_rusage(&ww);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:326:19: warning: passing arguments to 'com_rusage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        com_rusage((wordlist *) NULL);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_cktcoms(terse)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:173:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int ft_cktcoms();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:352:28: warning: passing arguments to 'fixem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl->wl_word = fixem(wl->wl_word);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:359:28: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            d = ft_numparse(&s, false);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:367:28: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            d = ft_numparse(&s, false);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:374:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(wl->wl_word);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:375:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl->wl_word = copy("xlimit");
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:376:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl->wl_next = alloc(struct wordlist);
                          ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:379:40: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            (void) strcpy(buf, printnum(d1));
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:380:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl->wl_word = copy(buf);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:381:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl->wl_next = alloc(struct wordlist);
                          ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:384:40: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            (void) strcpy(buf, printnum(d2));
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:385:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl->wl_word = copy(buf);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fixdotplot(wl)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:19:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void fixdotplot();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:397:28: warning: passing arguments to 'fixem' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl->wl_word = fixem(wl->wl_word);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fixdotprint(wl)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:20:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void fixdotprint();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:409:17: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (ciprefix("v(", string) && index(string, ',')) {
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:422:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(ss);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:423:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        string = copy(buf);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:424:24: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    } else if (ciprefix("vm(", string)) {
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:429:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(ss);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:430:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        string = copy(buf);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:431:24: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    } else if (ciprefix("vp(", string)) {
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:436:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(ss);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:437:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        string = copy(buf);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:438:24: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    } else if (ciprefix("vi(", string)) {
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:443:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(ss);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:444:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        string = copy(buf);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:445:24: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    } else if (ciprefix("vr(", string)) {
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:450:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(ss);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:451:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        string = copy(buf);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:452:24: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    } else if (ciprefix("vdb(", string)) {
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:457:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(ss);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:458:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        string = copy(buf);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:459:24: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    } else if (ciprefix("i(", string)) {
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:465:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(ss);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:466:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        string = copy(buf);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fixem(string)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static char *fixem();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:480:21: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (ciprefix(name, pl->pl_typename)) {
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
setcplot(name)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:22:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static bool setcplot();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:572:22: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    while (t = gettok(&s)) {
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:572:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (t = gettok(&s)) {
           ~~^~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:572:14: note: place parentheses around the assignment to silence this warning
    while (t = gettok(&s)) {
             ^
           (             )
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:572:14: note: use '==' to turn this assignment into an equality comparison
    while (t = gettok(&s)) {
             ^
             ==
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:577:11: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl = alloc(struct wordlist);
                 ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:578:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl->wl_word = copy(t);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:593:7: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl = alloc(struct wordlist);
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:598:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl->wl_word = copy(buf);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:601:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl->wl_word = copy(l + 1);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:608:11: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl = alloc(struct wordlist);
                 ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:609:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl->wl_word = copy(c + 1);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gettoks(s)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dotcards.c:18:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static wordlist *gettoks();
                 ^
105 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//error.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:90:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern int kill();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/signal.h:80:5: note: conflicting prototype is here
int     kill(pid_t, int) __DARWIN_ALIAS(kill);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:56:15: warning: parameter 'code' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
fperror(mess, code)
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fperror(mess, code)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:180:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void fperror();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:68:12: warning: parameter 'code' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
ft_sperror(code, mess)
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:71:51: warning: passing arguments to 'if_errstring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    fprintf(cp_err, "%s: %s\n", mess, if_errstring(code));
                                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_sperror(code, mess)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:181:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void ft_sperror();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:78:12: warning: passing arguments to 'cp_ccon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_ccon(false);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:91:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
internalerror(message)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:100:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
externalerror(message)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//error.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
19 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:11:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: conflicting prototype is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc'
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: conflicting prototype is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc'
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: conflicting prototype is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc'
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here
extern char *realloc();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:90:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern int kill();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/signal.h:80:5: note: conflicting prototype is here
int     kill(pid_t, int) __DARWIN_ALIAS(kill);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:63:23: warning: passing arguments to 'apply_func' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = apply_func(node->pn_func, node->pn_left);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:67:42: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ((*node->pn_op->op_func) (node->pn_left));
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:70:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                (node->pn_left, node->pn_right));
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:81:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d->v_name = copy(node->pn_name);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_evaluate(node)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:190:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct dvec *ft_evaluate();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:96:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (doop('+', cx_plus, arg1, arg2));
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
op_plus(arg1, arg2)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:201:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct dvec *op_plus();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:103:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (doop('-', cx_minus, arg1, arg2));
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
op_minus(arg1, arg2)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:195:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct dvec *op_minus();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:110:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (doop(',', cx_comma, arg1, arg2));
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
op_comma(arg1, arg2)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:187:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct dvec *op_comma();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:117:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (doop('*', cx_times, arg1, arg2));
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
op_times(arg1, arg2)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:203:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct dvec *op_times();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:124:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (doop('%', cx_mod, arg1, arg2));
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
op_mod(arg1, arg2)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:196:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct dvec *op_mod();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:131:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (doop('/', cx_divide, arg1, arg2));
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
op_divide(arg1, arg2)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:188:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct dvec *op_divide();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:138:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (doop('^', cx_power, arg1, arg2));
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
op_power(arg1, arg2)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:202:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct dvec *op_power();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:145:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (doop('=', cx_eq, arg1, arg2));
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
op_eq(arg1, arg2)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:189:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct dvec *op_eq();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:152:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (doop('>', cx_gt, arg1, arg2));
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
op_gt(arg1, arg2)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:192:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct dvec *op_gt();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:159:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (doop('<', cx_lt, arg1, arg2));
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
op_lt(arg1, arg2)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:194:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct dvec *op_lt();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:166:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (doop('G', cx_ge, arg1, arg2));
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
op_ge(arg1, arg2)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:191:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct dvec *op_ge();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:173:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (doop('L', cx_le, arg1, arg2));
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
op_le(arg1, arg2)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:193:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct dvec *op_le();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:180:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (doop('N', cx_ne, arg1, arg2));
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
op_ne(arg1, arg2)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:197:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct dvec *op_ne();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:187:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (doop('&', cx_and, arg1, arg2));
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
op_and(arg1, arg2)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:186:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct dvec *op_and();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:194:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (doop('|', cx_or, arg1, arg2));
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
op_or(arg1, arg2)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:199:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct dvec *op_or();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:249:11: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    res = alloc(struct dvec);
          ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:251:26: warning: passing arguments to 'mkcname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    res->v_name = mkcname('R', v->v_name, ind->v_name);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:269:45: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        res->v_realdata = (double *) tmalloc(sizeof (double) * len);
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:271:46: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        res->v_compdata = (complex *) tmalloc(sizeof (complex) * len);
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:300:12: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    vec_new(res);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
op_range(arg1, arg2)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:205:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct dvec *op_range();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:396:11: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    res = alloc(struct dvec);
          ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:398:26: warning: passing arguments to 'mkcname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    res->v_name = mkcname('[', v->v_name, ind->v_name);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:417:45: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        res->v_realdata = (double *) tmalloc(sizeof (double) * length);
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:419:46: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        res->v_compdata = (complex *) tmalloc(sizeof (complex) * length);
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:450:12: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    vec_new(res);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
op_ind(arg1, arg2)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:200:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct dvec *op_ind();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:479:25: warning: passing arguments to 'vec_fromplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        t = vec_fromplot(buf, plot_cur);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:484:21: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        t = vec_copy(t);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:485:16: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        vec_new(t);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:508:47: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            data = (char *) ((*func->fu_func) ((isreal(v) ? (char *)
                                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:514:47: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            data = (char *) ((*func->fu_func) ((isreal(v) ? (char *)
                                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:527:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        t = alloc(struct dvec);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:544:25: warning: passing arguments to 'mkcname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            t->v_name = mkcname('a', func->fu_name, v->v_name);
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:546:25: warning: passing arguments to 'mkcname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            t->v_name = mkcname('c', func->fu_name, v->v_name);
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:548:25: warning: passing arguments to 'mkcname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            t->v_name = mkcname('b', v->v_name, (char *) NULL);
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:561:9: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        vec_new(t);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
apply_func(func, arg)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:26:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static struct dvec *apply_func();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
op_uminus(arg)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:204:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct dvec *op_uminus();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
op_not(arg)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:198:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct dvec *op_not();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:613:13: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    s = copy(buf);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkcname(what, v1, v2)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:28:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static char *mkcname();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:698:29: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            d1 = (double *) tmalloc(length * sizeof (double));
                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:708:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            c1 = (complex *) tmalloc(length * sizeof (complex));
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:725:29: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            d2 = (double *) tmalloc(length * sizeof (double));
                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:735:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            c2 = (complex *) tmalloc(length * sizeof (complex));
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:760:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    data = (char *) ((*func) ((isreal(v1) ? (char *) d1 : (char *) c1),
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:773:11: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    res = alloc(struct dvec);
          ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:814:12: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    vec_new(res);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:819:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(d1);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:821:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(c1);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:826:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(d2);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:828:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(c2);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
doop(what, func, arg1, arg2)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//evaluate.c:27:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static struct dvec *doop();
                    ^
110 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:19:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:19:
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:19:
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:19:
/Users/pbulk/build/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void free();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:53:20: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if ((!cp_getvar("nfreqs", VT_NUM, (char *) &nfreqs)) || (nfreqs < 1))
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:55:20: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if ((!cp_getvar("polydegree", VT_NUM, (char *) &polydegree)) ||
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:58:20: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if ((!cp_getvar("fourgridsize", VT_NUM, (char *) &fourgridsize)) ||
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:68:27: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!(ff = ft_numparse(&s, false)) || (*ff <= 0.0)) {
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:74:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    freq = (double *) tmalloc(nfreqs * sizeof (double));
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:75:29: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    mag = (double *) tmalloc(nfreqs * sizeof (double));
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:76:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    phase = (double *) tmalloc(nfreqs * sizeof (double));
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:77:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    nmag = (double *) tmalloc(nfreqs * sizeof (double));
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:78:32: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    nphase = (double *) tmalloc(nfreqs * sizeof (double));
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:81:25: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    names = ft_getpnames(wl, true);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:84:26: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        vec = ft_evaluate(names);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:101:42: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                grid = (double *) tmalloc(fourgridsize *
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:103:43: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                stuff = (double *) tmalloc(fourgridsize *
                                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:105:31: warning: passing arguments to 'ft_minmax' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                dp = ft_minmax(time, true);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:122:36: warning: passing arguments to 'ft_interpolate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (!ft_interpolate(vec->v_realdata, stuff,
                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:137:26: warning: passing arguments to 'CKTfour' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            err = CKTfour(fourgridsize, nfreqs, &thd, timescale,
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:141:27: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ft_sperror(err, "fourier");
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:167:27: warning: passing arguments to 'pn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    fw, pn(freq[i]),
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:168:27: warning: passing arguments to 'pn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    fw, pn(mag[i]),
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:169:27: warning: passing arguments to 'pn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    fw, pn(phase[i]),
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:170:27: warning: passing arguments to 'pn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    fw, pn(nmag[i]),
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:171:27: warning: passing arguments to 'pn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    fw, pn(nphase[i]));
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:176:15: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    free_pnode(first_name);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:177:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(freq);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:178:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(mag);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:179:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(phase);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:180:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(nmag);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:181:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(nphase);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_fourier(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:209:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_fourier();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:199:17: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (copy(buf));
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pn(num)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static char *pn();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
CKTfour(ndata,numFreq,thd,Time,Value,FundFreq,Freq,Mag,Phase,nMag,nPhase)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//fourier.c:23:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int CKTfour();
           ^
45 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:21:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:67:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
gr_init(xlims, ylims, xname, plotname, hcopy, nplots, xdelta, ydelta, gridtype,
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:99:5: warning: call to undeclared function 'SetGraphContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    SetGraphContext(graph->graphid);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:111:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("pointchars", VT_STRING, pointchars))
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:114:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("ticmarks", VT_NUM, (char *) &graph->ticmarks)) {
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:115:20: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      if (cp_getvar("ticmarks", VT_BOOL, (char *) &b))
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:121:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (cp_getvar("ticlist", VT_LIST, ticlist)) {
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:122:26: warning: passing arguments to 'vareval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl = (wordlist *)vareval("ticlist");
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:123:30: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ticlist = (char *)wl_flatten(wl);
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:124:38: warning: passing arguments to 'readtics' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        graph->ticdata = (double *) readtics(ticlist);
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:140:7: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      internalerror("gr_init:  no range specified");
      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:154:9: warning: call to undeclared function 'NewViewport'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    if (NewViewport(graph) == 1) {
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:166:5: warning: call to undeclared function 'DevClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    DevClear();
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:203:25: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    comb_title = tmalloc(strlen(plotname) + strlen(pname) + 3);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:207:23: warning: passing arguments to 'gr_resize_internal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    gr_resize_internal(graph);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:208:5: warning: call to undeclared function 'gr_redrawgrid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    gr_redrawgrid(graph);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:223:30: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    graph->commandline = copy(commandline);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gr_init(xlims, ylims, xname, plotname, hcopy, nplots, xdelta, ydelta, gridtype,
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:21:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:238:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern bool gr_init();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:253:5: warning: call to undeclared function 'DatatoScreen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    DatatoScreen(currentgraph, oldx, oldy, &fromx, &fromy);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:259:20: warning: passing arguments to 'clip_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      if (clip_line(&fromx, &fromy, &tox, &toy,
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:265:25: warning: passing arguments to 'clip_to_circle' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      if (clip_to_circle(&fromx, &fromy, &tox, &toy,
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:273:7: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      SetLinestyle(dv->v_linestyle);
      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:280:5: warning: call to undeclared function 'SetColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    SetColor(dv->v_color);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:289:6: warning: call to undeclared function 'DrawLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            DrawLine(fromx, fromy, tox, toy);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:290:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (tics = (double *) currentgraph->ticdata) {
            ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:290:11: note: place parentheses around the assignment to silence this warning
        if (tics = (double *) currentgraph->ticdata) {
                 ^
            (                                      )
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:290:11: note: use '==' to turn this assignment into an equality comparison
        if (tics = (double *) currentgraph->ticdata) {
                 ^
                 ==
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:293:7: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                    Text("x", (int) (tox - currentgraph->fontwidth / 2),
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:295:7: warning: call to undeclared function 'SaveText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                    SaveText(currentgraph, "x",
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:305:6: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            Text("x", (int) (tox - currentgraph->fontwidth / 2),
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:307:6: warning: call to undeclared function 'SaveText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            SaveText(currentgraph, "x",
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:322:9: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        Text(pointc, (int) (tox - currentgraph->fontwidth / 2),
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gr_point(dv, newx, newy, oldx, oldy, np)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:21:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:244:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void gr_point();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:346:21: warning: passing arguments to 'ft_typenames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    s = ft_typenames(dv->v_type);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:385:30: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      link->vector = vec_copy(dv);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:397:15: warning: passing arguments to 'drawlegend' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    drawlegend(currentgraph, plotno, dv);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gr_start_internal(dv, copyvec)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gr_start(dv)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:21:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:245:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void gr_start();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:415:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
gr_relinestyle(graph)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:448:5: warning: call to undeclared function 'SetColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    SetColor(dv->v_color);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:451:9: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        Text(buf, x + graph->viewport.width / 20
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:454:9: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        SetLinestyle(dv->v_linestyle);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:455:9: warning: call to undeclared function 'DrawLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        DrawLine(x, i, x + graph->viewport.width / 20, i);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:458:5: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    Text(dv->v_name, x + graph->viewport.width / 20
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
drawlegend(graph, plotno, dv)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:28:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void drawlegend();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:468:5: warning: call to undeclared function 'Update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    Update();
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gr_end(dv)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:21:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:240:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void gr_end();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:489:5: warning: call to undeclared function 'Update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    Update();
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:491:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (cp_getvar("device", VT_STRING, buf)
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:495:2: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        Text(text, currentgraph->viewport.width
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gr_pmsg(text)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:21:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:243:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void gr_pmsg();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:507:5: warning: call to undeclared function 'Update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    Update();
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:512:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
gr_resize(graph)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:526:23: warning: passing arguments to 'gr_resize_internal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    gr_resize_internal(graph);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gr_resize(graph)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:564:15: warning: passing arguments to 'gr_fixgrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    gr_fixgrid(graph, graph->grid.xdelta, graph->grid.ydelta,
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gr_resize_internal(graph)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:29:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void gr_resize_internal();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:581:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
gr_redraw(graph)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:588:5: warning: call to undeclared function 'PushGraphContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    PushGraphContext(graph);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:590:5: warning: call to undeclared function 'DevClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    DevClear();
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:593:5: warning: call to undeclared function 'gr_redrawgrid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    gr_redrawgrid(graph);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:605:14: warning: passing arguments to 'ft_graf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ft_graf(link->vector,
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:613:5: warning: call to undeclared function 'gr_restoretext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    gr_restoretext(graph);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:615:5: warning: call to undeclared function 'PopGraphContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    PopGraphContext();
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gr_redraw(graph)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:619:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
gr_restoretext(graph)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:627:7: warning: call to undeclared function 'SetColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      SetColor(k->colorindex);
      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:628:7: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      Text(k->text, k->x, k->y);
      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gr_restoretext(graph)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:647:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
iplot(pl, id)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:679:25: warning: passing arguments to 'ft_minmax' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        lims = ft_minmax(xs, true);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:686:33: warning: passing arguments to 'ft_minmax' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                lims = ft_minmax(v, true);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:726:22: warning: passing arguments to 'ft_graf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              ft_graf(v, xs, true);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:730:2: warning: call to undeclared function 'Input'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        Input(&reqst, 0);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:736:27: warning: passing arguments to 'if_tranparams' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!if_tranparams(ft_curckt, &start, &stop, &step) ||
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:737:26: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                !ciprefix("tran", pl->pl_typename)) {
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:818:45: warning: too many arguments in call to 'gr_pmsg'
            gr_pmsg("Resizing screen", false);
            ~~~~~~~                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:841:5: warning: call to undeclared function 'Update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    Update();
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
iplot(pl, id)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:866:24: warning: passing arguments to 'vec_fromplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
       v = vec_fromplot(dc->db_nodename1, plot);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
set(plot, db, unset, mode)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:884:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
getitright(buf, num)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:907:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
reset_trace( )
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:926:29: warning: call to undeclared function 'PushGraphContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        if (db->db_graphid) PushGraphContext(FindGraph(db->db_graphid));
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:926:55: warning: passing arguments to 'FindGraph' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (db->db_graphid) PushGraphContext(FindGraph(db->db_graphid));
                                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:939:41: warning: call to undeclared function 'PopGraphContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        if (!dontpop && db->db_graphid) PopGraphContext();
                                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:956:4: warning: call to undeclared function 'term_clear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        term_clear( );
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:958:4: warning: call to undeclared function 'term_home'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        term_home( );
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:963:7: warning: call to undeclared function 'term_cleol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                    term_cleol( );
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:990:3: warning: call to undeclared function 'term_cleol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                term_cleol( );
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gr_iplot(plot)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:21:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:241:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void gr_iplot();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:1023:3: warning: call to undeclared function 'DestroyGraph'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                DestroyGraph(db->db_graphid);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:1028:9: warning: passing arguments to 'dbfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                dbfree(db);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:1034:28: warning: passing arguments to 'FindGraph' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          graph = FindGraph(db->db_graphid);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:1040:36: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            link->vector = vec_copy(dv);
                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:1072:34: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tics = (double *) tmalloc(MAXTICS * sizeof(double));
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:1065:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
readtics(string)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graf.c:53:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
double *readtics();
        ^
110 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:13:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:46:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
static RunningId = 1;
~~~~~~ ^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:62:7: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      internalerror("can't allocate a listgraph");
      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:84:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
GRAPH *FindGraph(id)
       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:118:7: warning: call to undeclared function 'SaveText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      SaveText(ret, k->text, k->x, k->y);
      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:126:33: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      newlink->vector = vec_copy(link->vector);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:134:28: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    ret->commandline = copy(graph->commandline);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:135:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    ret->plotname = copy(graph->plotname);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:103:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
GRAPH *CopyGraph(graph)
       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:188:11: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          tfree(d->vector->v_name);
          ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:190:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(d->vector->v_realdata);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:192:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(d->vector->v_compdata);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:213:5: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    internalerror("tried to destroy non-existent graph");
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
DestroyGraph(id)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:219:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
FreeGraphs()
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:236:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
SetGraphContext(graphid)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:256:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
PushGraphContext(graph)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/Users/pbulk/build/cad/spice/work/src/lib/fte//graphdb.c:273:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
PopGraphContext()
^
int
25 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:11:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: conflicting prototype is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc'
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: conflicting prototype is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc'
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: conflicting prototype is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc'
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here
extern char *realloc();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:51:5: warning: call to undeclared function 'SetColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    SetColor(1);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:52:5: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    SetLinestyle(1);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:65:18: warning: passing arguments to 'polargrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        polargrid(graph);
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:71:18: warning: passing arguments to 'smithgrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        smithgrid(graph);
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:78:21: warning: passing arguments to 'loggrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        dd = loggrid(graph, graph->data.ymin, graph->data.ymax,
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:81:21: warning: passing arguments to 'lingrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        dd = lingrid(graph, graph->data.ymin, graph->data.ymax,
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:89:21: warning: passing arguments to 'loggrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        dd = loggrid(graph, graph->data.xmin, graph->data.xmax,
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:92:21: warning: passing arguments to 'lingrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        dd = lingrid(graph, graph->data.xmin, graph->data.xmax,
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gr_fixgrid(graph, xdelta, ydelta, xtype, ytype)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:257:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void gr_fixgrid();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:113:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
gr_redrawgrid(graph)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:117:5: warning: call to undeclared function 'SetColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    SetColor(1);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:118:5: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    SetLinestyle(1);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:121:7: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      Text(graph->grid.xlabel,
      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:129:15: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
              Text(graph->grid.ylabel,
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:133:15: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
              Text(graph->grid.ylabel,
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:141:23: warning: passing arguments to 'drawpolargrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                drawpolargrid(graph);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:144:23: warning: passing arguments to 'drawsmithgrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                drawsmithgrid(graph);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:147:23: warning: passing arguments to 'drawsmithgrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                drawsmithgrid(graph);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:153:21: warning: passing arguments to 'drawloggrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                drawloggrid(graph,
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:162:21: warning: passing arguments to 'drawlingrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                drawlingrid(graph,
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:186:21: warning: passing arguments to 'drawloggrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                drawloggrid(graph,
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:195:21: warning: passing arguments to 'drawlingrid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                drawlingrid(graph,
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gr_redrawgrid(graph)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:355:25: warning: passing arguments to 'ft_typabbrev' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (s = ft_typabbrev(type)) {
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:355:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (s = ft_typabbrev(type)) {
        ~~^~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:355:11: note: place parentheses around the assignment to silence this warning
    if (s = ft_typabbrev(type)) {
          ^
        (                     )
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:355:11: note: use '==' to turn this assignment into an equality comparison
    if (s = ft_typabbrev(type)) {
          ^
          ==
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lingrid(graph, lo, hi, delta, type, axis)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:22:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static double *lingrid(), *loggrid();
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:499:5: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    SetLinestyle(1);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:509:17: warning: call to undeclared function 'DrawLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                DrawLine(graph->viewportxoff + i,
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:533:6: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            Text(buf, graph->viewportxoff + i -
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:547:9: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        Text(units, (int) (graph->absolute.width * 0.6),
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:552:5: warning: call to undeclared function 'Update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    Update();
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
drawlingrid(graph, units, spacing, nsp, dst, lmt, hmt, onedec, mult, mag,
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:26:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void drawlingrid( );
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:637:25: warning: passing arguments to 'ft_typabbrev' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (s = ft_typabbrev(type)) {
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:637:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (s = ft_typabbrev(type)) {
        ~~^~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:637:11: note: place parentheses around the assignment to silence this warning
    if (s = ft_typabbrev(type)) {
          ^
        (                     )
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:637:11: note: use '==' to turn this assignment into an equality comparison
    if (s = ft_typabbrev(type)) {
          ^
          ==
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
loggrid(graph, lo, hi, type, axis)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:22:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static double *lingrid(), *loggrid();
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:681:2: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        SetLinestyle(0);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:686:3: warning: call to undeclared function 'DrawLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                DrawLine(graph->viewportxoff + i,
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:711:6: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            Text(buf, graph->viewportxoff + i - strlen(buf) / 2,
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:730:4: warning: call to undeclared function 'DrawLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        DrawLine(graph->viewportxoff + m,
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:747:9: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        Text(units, (int) (graph->absolute.width * 0.6),
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:752:5: warning: call to undeclared function 'Update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    Update();
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
drawloggrid(graph, units, hmt, lmt, decsp, subs, pp, axis)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:27:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void drawloggrid( );
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
polargrid(graph)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:23:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void polargrid(), smithgrid();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:920:5: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    SetLinestyle(0);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:921:5: warning: call to undeclared function 'Arc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    Arc(graph->grid.xaxis.circular.center,
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:933:16: warning: passing arguments to 'cliparc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cliparc((double) graph->grid.xaxis.circular.center + relcx,
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:945:24: warning: passing arguments to 'addradlabel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            addradlabel(graph, i, theta,
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:967:32: warning: passing arguments to 'clip_to_circle' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (!clip_to_circle(&x1, &y1, &x2, &y2,
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:972:10: warning: call to undeclared function 'DrawLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                DrawLine(x1, y1, x2, y2); 
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:975:28: warning: passing arguments to 'adddeglabel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                adddeglabel(graph, i * 30, x2, y2, x1, y1,
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1004:32: warning: passing arguments to 'clip_to_circle' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (!clip_to_circle(&x1, &y1, &x2, &y2,
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1008:17: warning: call to undeclared function 'DrawLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                DrawLine(x1, y1, x2, y2);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1010:28: warning: passing arguments to 'adddeglabel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                adddeglabel(graph, i, x2, y2, x1, y1,
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1018:5: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    Text(buf, graph->grid.xaxis.circular.center
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1022:5: warning: call to undeclared function 'Update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    Update();
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
drawpolargrid(graph)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void drawpolargrid( );
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1055:5: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    Text(buf, x, y);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
adddeglabel(graph, deg, x, y, cx, cy, lx, ly)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:31:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void adddeglabel(), addradlabel();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1081:5: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    Text(buf, x, y);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
addradlabel(graph, lab, theta, x, y)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:31:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void adddeglabel(), addradlabel();
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1104:5: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    SetLinestyle(0);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1098:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
smithgrid(graph)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:23:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void polargrid(), smithgrid();
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1236:5: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    SetLinestyle(0);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1341:15: warning: passing arguments to 'arcset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        arcset(graph, rr[k], kr[k], ir[k], ki[k], pixperunit,
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1356:5: warning: call to undeclared function 'Arc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    Arc(gr_xcenter, gr_ycenter, gr_radius, 0.0, 0.0);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1370:9: warning: call to undeclared function 'DrawLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        DrawLine(gr_xcenter - zheight, gr_ycenter + yoff,
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1372:2: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        Text("0", gr_xcenter + zheight + gi_fntwidth, gr_ycenter + yoff - 
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1382:5: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    Text(buf, gr_xcenter + gr_radius, gr_ycenter - gr_radius);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1384:5: warning: call to undeclared function 'Update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    Update();
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
drawsmithgrid(graph)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:25:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void drawsmithgrid( );
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1415:5: warning: call to undeclared function 'SetColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    SetColor(18);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1417:12: warning: passing arguments to 'cliparc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cliparc((double) (centx + xoffset + radoff - rad),
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1425:12: warning: passing arguments to 'cliparc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cliparc((double) (centx + xoffset + radoff + rad),
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1431:20: warning: passing arguments to 'cliparc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    aclip = cliparc((double) (centx + xoffset + radoff),
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1450:20: warning: passing arguments to 'cliparc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    aclip = cliparc((double) (centx + xoffset + radoff),
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1471:6: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            Text(plab, x, centy + yoffset - gi_fntheight - 1);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
arcset(graph, rad, prevrad, irad, iprevrad, radoff, maxrad, centx, centy,
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:29:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void arcset();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1514:9: warning: call to undeclared function 'Arc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        Arc((int)cx, (int)cy, (int)rad, start, end);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1586:9: warning: call to undeclared function 'Arc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        Arc((int)cx, (int)cy, (int)rad, start, d);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1613:9: warning: call to undeclared function 'Arc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        Arc((int)cx, (int)cy, (int)rad, l, d);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1623:9: warning: call to undeclared function 'Arc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        Arc((int)cx, (int)cy, (int)rad, d, end);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:1492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cliparc(cx, cy, rad, start, end, iclipx, iclipy, icliprad, flag)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//grid.c:30:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static double cliparc();
              ^
107 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:60:17: warning: passing arguments to 'inp_list' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        inp_list(cp_out, expand ? ft_curckt->ci_deck :
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_listing(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:262:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_listing();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:79:13: warning: passing arguments to 'inp_casefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        inp_casefix(buf);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
upper(string)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:108:21: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (void) cp_getvar("renumber", VT_BOOL, (char *) &renumber);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:114:25: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (ciprefix(".end", here->li_line) &&
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:122:21: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            out_send(out_pbuf);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:132:35: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        out_printf("%s\n",
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:136:45: warning: data argument not used by format string [-Wformat-extra-args]
                            here->li_error, file);
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:148:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        out_send(out_pbuf);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:157:29: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (ciprefix(".end", here->li_line) &&
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:165:21: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            out_send(out_pbuf);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:172:35: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        out_printf("%s\n",
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:180:35: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        out_printf("%s\n",
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:190:33: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    if (ciprefix(".end", here->li_line) &&
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:198:25: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                out_send(out_pbuf);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:205:39: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                            out_printf("%s\n",
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:214:39: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                            out_printf("%s\n",
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:232:25: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                out_send(out_pbuf);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:237:27: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                out_printf(".end\n");
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
inp_list(file, deck, extras, type)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:268:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void inp_list();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:268:16: warning: passing arguments to 'inp_readall' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    inp_readall(fp, &deck);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:273:30: warning: passing arguments to 'inp_getopts' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        options = inp_getopts(deck);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:275:28: warning: passing arguments to 'inp_deckcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    realdeck = inp_deckcopy(deck);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:279:18: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tt = copy(deck->li_line);
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:313:26: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (!ciprefix(".control", dd->li_line) &&
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:314:30: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    !ciprefix(".endc", dd->li_line))
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:316:37: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    (void) cp_evloop(dd->li_line + 2);
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:318:37: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    (void) cp_evloop(dd->li_line);
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:317:17: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                else
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:319:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(dd->li_line);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:320:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(dd);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:337:25: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (ciprefix(".control", dd->li_line)) {
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:339:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(dd->li_line);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:340:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(dd);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:346:32: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            } else if (ciprefix(".endc", dd->li_line)) {
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:348:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(dd->li_line);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:349:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(dd);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:355:42: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            } else if (commands || prefix("*#", dd->li_line)) {
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:356:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wl = alloc(struct wordlist);
                     ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:363:27: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (prefix("*#", dd->li_line))
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:364:39: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    wl->wl_word = copy(dd->li_line + 2);
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:368:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(dd);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:374:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(dd->li_line);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:375:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(dd);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:377:28: warning: passing arguments to 'inp_casefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                inp_casefix(s);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:378:28: warning: passing arguments to 'inp_casefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                inp_casefix(dd->li_line);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:379:48: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (eq(s, ".width") || ciprefix(".four", s) || eq(s, ".plot")
                                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:384:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        end->wl_next = alloc(struct wordlist);
                                       ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:388:42: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        wl_first = end = alloc(struct wordlist);
                                         ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:389:40: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    end->wl_word = copy(dd->li_line);
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:393:4: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        tfree(dd->li_line);
                        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:394:4: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        tfree(dd);
                        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:409:27: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (!cp_getvar("nosubckt", VT_BOOL, (char *) 
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:411:49: warning: passing arguments to 'inp_subcktexpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                deck->li_next = inp_subcktexpand(deck->
                                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:414:23: warning: passing arguments to 'inp_dodeck' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            inp_dodeck(deck, tt, wl_first, false, options, filename);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:419:39: warning: passing arguments to 'wl_reverse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            for (end = wl = wl_reverse(controls); wl;
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:421:33: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                (void) cp_evloop(wl->wl_word);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
inp_spsource(fp, comfile, filename)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:266:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void inp_spsource();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:465:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(dd->li_error);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:473:48: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            ft_curckt->ci_devices = cp_kwswitch(CT_DEVNAMES, 
                                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:475:46: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            ft_curckt->ci_nodes = cp_kwswitch(CT_NODENAMES, 
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:478:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ft_curckt = ct = alloc(struct circ);
                         ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:480:21: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (void) cp_getvar("noparse", VT_BOOL, (char *) &noparse);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:482:25: warning: passing arguments to 'if_inpdeck' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ckt = if_inpdeck(deck, &tab);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:497:17: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    out_printf("Error on line %d : %s\n\t%s\n",
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:500:17: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    out_printf("\t%s\n", p);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:520:44: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ft_curckt->ci_devices = cp_kwswitch(CT_DEVNAMES, 
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:522:27: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) cp_kwswitch(CT_DEVNAMES, ft_curckt->ci_devices);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:523:42: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ft_curckt->ci_nodes = cp_kwswitch(CT_NODENAMES, (char *) NULL);
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:524:27: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) cp_kwswitch(CT_NODENAMES, ft_curckt->ci_nodes);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:525:19: warning: passing arguments to 'ft_newcirc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ft_newcirc(ct);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:541:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ct->ci_filename = copy(filename);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:551:26: warning: passing arguments to 'cp_lexer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl = cp_lexer(s);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:556:43: warning: passing arguments to 'cp_setparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                eev->va_next = cp_setparse(wl);
                                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:558:48: warning: passing arguments to 'cp_setparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ct->ci_vars = eev = cp_setparse(wl);
                                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:566:26: warning: passing arguments to 'if_option' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if_option(ct->ci_ckt, eev->va_name, 
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:570:26: warning: passing arguments to 'if_option' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if_option(ct->ci_ckt, eev->va_name, 
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:574:26: warning: passing arguments to 'if_option' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if_option(ct->ci_ckt, eev->va_name, 
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:578:26: warning: passing arguments to 'if_option' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if_option(ct->ci_ckt, eev->va_name, 
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:585:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_addkword(CT_CKTNAMES, tt);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
inp_dodeck(deck, tt, end, reuse, options, filename)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:264:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void inp_dodeck();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:606:20: warning: passing arguments to 'doedit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!doedit(wl->wl_word)) {
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:610:32: warning: passing arguments to 'inp_pathopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!(fp = inp_pathopen(wl->wl_word, "r"))) {
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:622:31: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            filename = smktemp("sp");
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:645:20: warning: passing arguments to 'doedit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!doedit(filename)) {
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:659:20: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            (void) unlink(filename);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:672:14: warning: passing arguments to 'com_run' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      com_run(NULL);
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_edit(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:261:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_edit();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:685:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (cp_getvar("editor", VT_STRING, buf2)) {
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
doedit(filename)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:20:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static bool doedit();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:718:27: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tempfile = smktemp("sp");
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:719:32: warning: passing arguments to 'inp_pathopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!(fp = inp_pathopen(tempfile, "w+"))) {
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:725:36: warning: passing arguments to 'inp_pathopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (!(tp = inp_pathopen(wl->wl_word, "r"))) {
                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:730:24: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                (void) unlink(tempfile);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:741:26: warning: passing arguments to 'inp_pathopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        fp = inp_pathopen(wl->wl_word, "r");
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:749:31: warning: passing arguments to 'substring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (ft_nutmeg || substring(".spiceinit", owl->wl_word)
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:750:25: warning: passing arguments to 'substring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            || substring("spice.rc", owl->wl_word))
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:757:16: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        (void) unlink(tempfile);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_source(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:263:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_source();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
inp_source(file)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inp.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:265:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void inp_source();
            ^
115 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:38:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    strptr = tmalloc(memlen);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:47:36: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if( !(strptr = trealloc(strptr, memlen + 1))) {
                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:61:22: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    strptr = trealloc(strptr, strlen + 1);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
readline(fd)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:81:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            || !cp_getvar("sourcepath", VT_LIST, (char *) &v))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:87:12: warning: passing arguments to 'cp_wstrip' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                cp_wstrip(v->va_string);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:97:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (fp = fopen(buf, mode))
            ~~~^~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:97:16: note: place parentheses around the assignment to silence this warning
        if (fp = fopen(buf, mode))
               ^
            (                    )
/Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:97:16: note: use '==' to turn this assignment into an equality comparison
        if (fp = fopen(buf, mode))
               ^
               ==
/Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
inp_pathopen(name, mode)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:270:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern FILE *inp_pathopen();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:118:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (buffer = readline(fp)) {
           ~~~~~~~^~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:118:19: note: place parentheses around the assignment to silence this warning
    while (buffer = readline(fp)) {
                  ^
           (                    )
/Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:118:19: note: use '==' to turn this assignment into an equality comparison
    while (buffer = readline(fp)) {
                  ^
                  ==
/Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:128:21: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (ciprefix(".include", buffer)) {
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:142:34: warning: passing arguments to 'cp_tildexpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                s = cp_tildexpand(s);
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:153:32: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                end->li_next = alloc(struct line);
                               ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:156:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                end = cc = alloc(struct line);
                           ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:161:32: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            end->li_line = copy(buffer);
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:174:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            end->li_next = alloc(struct line);
                           ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:177:24: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            end = cc = alloc(struct line);
                       ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:208:45: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    working->li_error = copy(
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:213:33: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                buffer = tmalloc(strlen(prev->li_line) + strlen(s) + 2);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:224:21: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    tfree(s);
                    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:226:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    newcard = alloc(struct line);
                              ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
inp_readall(fp, data)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:269:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void inp_readall();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
inp_casefix(string)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//inpcom.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:267:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void inp_casefix();
            ^
31 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:27:57: warning: parameter 'degree' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
ft_interpolate(data, ndata, oscale, olen, nscale, nlen, degree)
                                                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:27:51: warning: parameter 'nlen' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
ft_interpolate(data, ndata, oscale, olen, nscale, nlen, degree)
                                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:27:37: warning: parameter 'olen' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
ft_interpolate(data, ndata, oscale, olen, nscale, nlen, degree)
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:48:33: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    scratch = (double *) tmalloc((degree + 1) * (degree + 2) * 
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:50:32: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    result = (double *) tmalloc((degree + 1) * sizeof (double));
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:51:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    xdata = (double *) tmalloc((degree + 1) * sizeof (double));
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:52:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    ydata = (double *) tmalloc((degree + 1) * sizeof (double));
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:58:23: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    while (!ft_polyfit(xdata, ydata, result, degree, scratch)) {
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:78:30: warning: passing arguments to 'putinterval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        lastone = putinterval(result, degree, ndata, lastone, 
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:95:27: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        while (!ft_polyfit(xdata, ydata, result, degree, scratch)) {
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:102:30: warning: passing arguments to 'putinterval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        lastone = putinterval(result, degree, ndata, lastone, 
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:107:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(scratch);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:108:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(xdata);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:109:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(ydata);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:110:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(result);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_interpolate(data, ndata, oscale, olen, nscale, nlen, degree)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:280:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern bool ft_interpolate();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:231:21: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = ft_peval(xdata[i], result, degree);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_polyfit(xdata, ydata, result, degree, scratch)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:281:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern bool ft_polyfit();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:264:59: warning: parameter 'sign' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
putinterval(poly, degree, nvec, last, nscale, nlen, oval, sign)
                                                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:264:47: warning: parameter 'nlen' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
putinterval(poly, degree, nvec, last, nscale, nlen, oval, sign)
                                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:264:33: warning: parameter 'last' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
putinterval(poly, degree, nvec, last, nscale, nlen, oval, sign)
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:264:19: warning: parameter 'degree' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
putinterval(poly, degree, nvec, last, nscale, nlen, oval, sign)
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:276:27: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        nvec[i] = ft_peval(nscale[i], poly, degree);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
putinterval(poly, degree, nvec, last, nscale, nlen, oval, sign)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:22:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int putinterval();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:281:24: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
printmat(name, mat, m, n)
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:281:21: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
printmat(name, mat, m, n)
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
printmat(name, mat, m, n)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void printmat();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_peval(x, coeffs, degree)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:282:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern double ft_peval();
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:366:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    v = alloc(struct dvec);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:367:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    v->v_name = copy(ov->v_name);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:373:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    nd = (double *) tmalloc(newlen * sizeof (double));
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:380:12: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    vec_new(v);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lincopy(ov, newscale, newlen, oldscale)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:23:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
void lincopy();
     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_polyderiv(coeffs, degree)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//interp.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:283:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void ft_polyderiv( );
            ^
47 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:8:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:28:23: warning: passing arguments to 'if_tranparams' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        !if_tranparams(ft_curckt, &tstart, &tstop, &tstep)) {
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:48:18: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!ciprefix("tran", plot_cur->pl_typename)) {
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:54:21: warning: passing arguments to 'plot_alloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    new = plot_alloc("transient");
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:56:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    new->pl_name = copy(buf);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:57:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    new->pl_title = copy(old->pl_title);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:58:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    new->pl_date = copy(old->pl_date);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:60:13: warning: passing arguments to 'plot_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    plot_new(new);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:61:16: warning: passing arguments to 'plot_setcur' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    plot_setcur(new->pl_typename);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:64:15: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    newtime = alloc(struct dvec);
              ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:65:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    newtime->v_name = copy(oldtime->v_name);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:71:45: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    newtime->v_realdata = (double *) tmalloc(len * sizeof (double));
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:78:29: warning: passing arguments to 'vec_fromplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            v = vec_fromplot(wl->wl_word, old);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:84:13: warning: call to undeclared function 'lincopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            lincopy(v, newtime->v_realdata, len, oldtime);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:91:13: warning: call to undeclared function 'lincopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            lincopy(v, newtime->v_realdata, len, oldtime);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_linearize(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//linear.c:8:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:284:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_linearize();
            ^
22 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:8:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:43:12: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        out_printf(
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:47:16: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            out_printf(
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:49:16: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            out_printf(
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:63:23: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            out_printf("%s ", ccc[i]->co_comname);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:64:23: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            out_printf(ccc[i]->co_help, cp_program);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:65:21: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            out_send("\n");
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:71:31: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    out_printf("%s ", c->co_comname);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:72:31: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    out_printf(c->co_help, cp_program);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:74:33: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        out_send(
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:76:29: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    out_send("\n");
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:91:31: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    out_printf("%s is aliased to ",
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:94:29: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    wl_print(al->al_text, cp_out);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:95:29: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    out_send("\n");
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:101:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    out_send("\n");
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_help(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:8:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:304:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_help();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:133:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (cp_getvar("level", VT_STRING, slevel)) {
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:148:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    out_printf(
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:150:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    out_printf(
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:152:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    out_printf(
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:170:19: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        out_printf("%s ", com->co_comname);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:171:19: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        out_printf(com->co_help, cp_program);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:172:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        out_send("\n");
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:176:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    out_send("\n");
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_ahelp(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:8:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:302:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_ahelp();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:189:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (cp_getvar("helppath", VT_STRING, buf))
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:190:20: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        path = copy(buf);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:196:32: warning: passing arguments to 'cp_tildexpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!(npath = cp_tildexpand(path))) {
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:203:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (cp_getvar("helpregfont", VT_STRING, buf))
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:204:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        hlp_regfontname = copy(buf);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:205:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (cp_getvar("helpboldfont", VT_STRING, buf))
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:206:32: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        hlp_boldfontname = copy(buf);
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:207:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (cp_getvar("helpitalicfont", VT_STRING, buf))
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:208:34: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        hlp_italicfontname = copy(buf);
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:209:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (cp_getvar("helptitlefont", VT_STRING, buf))
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:210:33: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        hlp_titlefontname = copy(buf);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:211:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (cp_getvar("helpbuttonfont", VT_STRING, buf))
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:212:34: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        hlp_buttonfontname = copy(buf);
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:213:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (cp_getvar("helpinitxpos", VT_NUM, (char *) &i))
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:215:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (cp_getvar("helpinitypos", VT_NUM, (char *) &i))
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:217:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (cp_getvar("helpbuttonstyle", VT_STRING, buf)) {
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:218:17: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (cieq(buf, "left"))
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:220:22: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        else if (cieq(buf, "center"))
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:222:22: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        else if (cieq(buf, "unif"))
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:228:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (cp_getvar("width", VT_NUM, (char *) &i))
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:230:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (cp_getvar("display", VT_STRING, buf))
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:231:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        hlp_displayname = copy(buf);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:232:23: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    else if (cp_getvar("device", VT_STRING, buf))
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:233:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        hlp_displayname = copy(buf);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:236:13: warning: passing arguments to 'hlp_main' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    hlp_main(path, wl);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_ghelp(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:8:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:303:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_ghelp();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hcomp(c1, c2)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:8:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:307:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int hcomp();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:258:21: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (void) cp_getvar("noaskquit", VT_BOOL, (char *) &noask);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:260:12: warning: passing arguments to 'cp_ccon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_ccon(false);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_quit(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:8:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:305:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_quit();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_bug(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:8:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:301:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_bug();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:383:6: warning: address of array 'Spice_Notice' will always evaluate to 'true' [-Wpointer-bool-conversion]
        if (Spice_Notice && *Spice_Notice)
            ^~~~~~~~~~~~ ~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:385:6: warning: address of array 'Spice_Build_Date' will always evaluate to 'true' [-Wpointer-bool-conversion]
        if (Spice_Build_Date && *Spice_Build_Date)
            ^~~~~~~~~~~~~~~~ ~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:388:23: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        s = wl_flatten(wl);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:396:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(s);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_version(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//misccoms.c:8:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:306:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_version();
            ^
73 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//miscvars.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//miscvars.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//miscvars.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//miscvars.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//miscvars.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//miscvars.c:8:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
6 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//nutctab.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutctab.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutctab.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutctab.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutctab.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutctab.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
6 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:37:16: warning: passing arguments to 'inp_readall' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    inp_readall(fp, &deck);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:41:28: warning: passing arguments to 'inp_deckcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    realdeck = inp_deckcopy(deck);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:45:18: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tt = copy(deck->li_line);
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:79:26: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (!ciprefix(".control", dd->li_line) &&
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:80:30: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    !ciprefix(".endc", dd->li_line))
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:82:37: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    (void) cp_evloop(dd->li_line + 2);
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:84:37: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    (void) cp_evloop(dd->li_line);
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:83:17: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                else
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:85:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(dd->li_line);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:86:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(dd);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:102:25: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (ciprefix(".control", dd->li_line)) {
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:104:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(dd->li_line);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:105:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(dd);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:111:32: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            } else if (ciprefix(".endc", dd->li_line)) {
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:113:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(dd->li_line);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:114:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(dd);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:120:42: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            } else if (commands || prefix("*#", dd->li_line)) {
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:121:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wl = alloc(struct wordlist);
                     ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:128:27: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (prefix("*#", dd->li_line))
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:129:39: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    wl->wl_word = copy(dd->li_line + 2);
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:133:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(dd);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:139:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(dd->li_line);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:140:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(dd);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:142:28: warning: passing arguments to 'inp_casefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                inp_casefix(s);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:143:28: warning: passing arguments to 'inp_casefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                inp_casefix(dd->li_line);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:144:48: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (eq(s, ".width") || ciprefix(".four", s) ||
                                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:149:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        end->wl_next = alloc(struct wordlist);
                                       ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:153:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        wl = end = alloc(struct wordlist);
                                   ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:154:40: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    end->wl_word = copy(dd->li_line);
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:156:21: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    tfree(dd->li_line);
                    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:157:21: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    tfree(dd);
                    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:170:27: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (!cp_getvar("nosubckt", VT_BOOL, (char *) 
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:172:49: warning: passing arguments to 'inp_subcktexpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                deck->li_next = inp_subcktexpand(deck->
                                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:175:26: warning: passing arguments to 'nutinp_dodeck' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            nutinp_dodeck(deck, tt, wl, false, options, filename);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:180:39: warning: passing arguments to 'wl_reverse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            for (end = wl = wl_reverse(controls); wl;
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:182:33: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                (void) cp_evloop(wl->wl_word);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:183:20: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl_free(end);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
inp_nutsource(fp, comfile, filename)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:274:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void inp_nutsource();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:213:27: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tempfile = smktemp("sp");
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:214:32: warning: passing arguments to 'inp_pathopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!(fp = inp_pathopen(tempfile, "w+"))) {
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:220:36: warning: passing arguments to 'inp_pathopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (!(tp = inp_pathopen(wl->wl_word, "r"))) {
                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:225:24: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                (void) unlink(tempfile);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:236:26: warning: passing arguments to 'inp_pathopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        fp = inp_pathopen(wl->wl_word, "r");
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:244:31: warning: passing arguments to 'substring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (ft_nutmeg || substring(".spiceinit", owl->wl_word)
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:245:25: warning: passing arguments to 'substring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            || substring("spice.rc", owl->wl_word))
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:252:16: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        (void) unlink(tempfile);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
nutcom_source(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:276:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void nutcom_source();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
nutinp_source(file)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
nutinp_dodeck(deck, tt, end, reuse, options, filename)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutinp.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:275:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void nutinp_dodeck();
            ^
58 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//nutmegif.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutmegif.c:10:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutmegif.c:10:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutmegif.c:10:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutmegif.c:10:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutmegif.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutmegif.c:13:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutmegif.c:13:
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutmegif.c:13:
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutmegif.c:13:
/Users/pbulk/build/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void free();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//nutmegif.c:16:34: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/* ARGSUSED */ struct variable * nutif_getparam(ckt, name, param, ind, do_model)
                                 ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//nutmegif.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:428:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct variable *nutif_getparam();
                        ^
12 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:38:20: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = vec_get(word);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:41:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                vv = alloc(struct variable);
                     ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:42:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                vv->va_name = copy(word);
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:52:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                vv = alloc(struct variable);
                     ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:54:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                vv->va_name = copy(word);
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:58:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    tv = alloc(struct variable);
                         ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:84:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            vv = alloc(struct variable);
                 ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:88:33: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            vv->va_string = copy(plot_cur->pl_name);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:90:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            vv = alloc(struct variable);
                 ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:94:33: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            vv->va_string = copy(plot_cur->pl_title);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:96:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            vv = alloc(struct variable);
                 ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:100:33: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            vv->va_string = copy(plot_cur->pl_date);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:102:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            vv = alloc(struct variable);
                 ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:106:33: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            vv->va_string = copy(plot_cur->pl_typename);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:108:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            vv = alloc(struct variable);
                 ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:115:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tv = alloc(struct variable);
                     ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:117:37: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tv->va_string = copy(pl->pl_typename);
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_enqvar(word)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:327:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct variable *cp_enqvar();
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:148:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (tv = cp_enqvar("plots")) {
        ~~~^~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:148:12: note: place parentheses around the assignment to silence this warning
    if (tv = cp_enqvar("plots")) {
           ^
        (                      )
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:148:12: note: use '==' to turn this assignment into an equality comparison
    if (tv = cp_enqvar("plots")) {
           ^
           ==
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:152:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (tv = cp_enqvar("curplot")) {
        ~~~^~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:152:12: note: place parentheses around the assignment to silence this warning
    if (tv = cp_enqvar("curplot")) {
           ^
        (                        )
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:152:12: note: use '==' to turn this assignment into an equality comparison
    if (tv = cp_enqvar("curplot")) {
           ^
           ==
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:156:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (tv = cp_enqvar("curplottitle")) {
        ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:156:12: note: place parentheses around the assignment to silence this warning
    if (tv = cp_enqvar("curplottitle")) {
           ^
        (                             )
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:156:12: note: use '==' to turn this assignment into an equality comparison
    if (tv = cp_enqvar("curplottitle")) {
           ^
           ==
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:160:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (tv = cp_enqvar("curplotname")) {
        ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:160:12: note: place parentheses around the assignment to silence this warning
    if (tv = cp_enqvar("curplotname")) {
           ^
        (                            )
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:160:12: note: use '==' to turn this assignment into an equality comparison
    if (tv = cp_enqvar("curplotname")) {
           ^
           ==
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:164:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (tv = cp_enqvar("curplotdate")) {
        ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:164:12: note: place parentheses around the assignment to silence this warning
    if (tv = cp_enqvar("curplotdate")) {
           ^
        (                            )
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:164:12: note: use '==' to turn this assignment into an equality comparison
    if (tv = cp_enqvar("curplotdate")) {
           ^
           ==
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_usrvars(v1, v2)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:182:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void cp_usrvars();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:187:21: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (ciprefix(".opt", dd->li_line)) {
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:188:24: warning: passing arguments to 'inp_casefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            inp_casefix(dd->li_line);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
inp_getopts(deck)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:326:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct line *inp_getopts();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:230:26: warning: passing arguments to 'setdb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    setdb(tv->va_string);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:232:18: warning: passing arguments to 'setdb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            setdb(var->va_string);
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:240:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_program = copy(var->va_string);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:242:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ft_rawfile = copy(var->va_string);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:281:26: warning: passing arguments to 'cp_rehash' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                cp_rehash(s, true);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:296:24: warning: passing arguments to 'plot_setcur' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            plot_setcur(var->va_string);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:302:37: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            plot_cur->pl_name = copy(var->va_string);
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:308:38: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            plot_cur->pl_title = copy(var->va_string);
                                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:314:37: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            plot_cur->pl_date = copy(var->va_string);
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:375:22: warning: passing arguments to 'if_option' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (if_option(ft_curckt->ci_ckt, var->va_name, var->va_type, vv))
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:377:25: warning: passing arguments to 'if_option' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    } else if (if_option(NULL, var->va_name, var->va_type, vv))
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_usrset(var, isset)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:183:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int cp_usrset();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
setdb(str)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//options.c:201:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void setdb();
            ^
51 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:14:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:14:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:108:22: warning: passing arguments to 'beginPlot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (beginPlot(analysisPtr, circuitPtr, name,
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
OUTpBeginPlot(circuitPtr, analysisPtr, analName, refName, refType,
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:127:22: warning: passing arguments to 'beginPlot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (beginPlot(analysisPtr, circuitPtr, "circuit name",
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
OUTwBeginPlot(circuitPtr, analysisPtr, analName, refName, refType,
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:158:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (cp_getvar("printinfo", VT_BOOL, (char *) &printinfo))
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:161:19: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    *runp = run = alloc(struct runDesc);
                  ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:166:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    run->name = copy(cktName);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:167:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    run->type = copy(analName);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:178:16: warning: call to undeclared function 'ft_getSaves'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    numsaves = ft_getSaves(&saves);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:180:37: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        savesused = (bool *) tmalloc(sizeof (bool) * numsaves);
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:183:43: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (saves[i].analysis && !cieq(saves[i].analysis, an_name)) {
                                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:188:14: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (cieq(saves[i].name, "all")) {
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:199:20: warning: passing arguments to 'addDataDesc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        addDataDesc(run, refName, refType, -1);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:201:41: warning: passing arguments to 'name_eq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (!savesused[i] && name_eq(saves[i].name, refName)) {
                                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:215:18: warning: passing arguments to 'name_eq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    if (name_eq(saves[i].name, dataNames[j])) {
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:216:15: warning: passing arguments to 'addDataDesc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        addDataDesc(run, dataNames[j], dataType, j);
                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:226:37: warning: passing arguments to 'name_eq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (!refName || !name_eq(dataNames[i], refName)) {
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:227:28: warning: passing arguments to 'addDataDesc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                addDataDesc(run, dataNames[i], dataType, i);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:235:26: warning: passing arguments to 'parseSpecial' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!parseSpecial(saves[i].name, namebuf, parambuf, depbuf)) {
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:244:28: warning: passing arguments to 'name_eq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (name_eq(depbuf, run->data[j].name))
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:249:32: warning: passing arguments to 'name_eq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    if (name_eq(depbuf, dataNames[j]))
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:257:28: warning: passing arguments to 'addDataDesc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                addDataDesc(run, dataNames[j], dataType, j);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:264:23: warning: passing arguments to 'addSpecialDesc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        addSpecialDesc(run, saves[i].name, namebuf, parambuf, depind);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:269:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(saves[i].analysis);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:270:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(saves[i].name);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:272:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(savesused);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:286:21: warning: call to undeclared function 'ft_getOutReq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    run->writeOut = ft_getOutReq(&run->fp, &run->runPlot, &run->binary,
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:290:17: warning: passing arguments to 'fileInit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        fileInit(run);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:292:17: warning: passing arguments to 'plotInit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        plotInit(run);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
beginPlot(analysisPtr, circuitPtr, cktName, analName, refName, refType,
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:64:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int beginPlot();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:310:41: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        run->data = (dataDesc *) tmalloc(sizeof (dataDesc));
                                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:312:42: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        run->data = (dataDesc *) trealloc((char *) run->data,
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:318:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    data->name = copy(name);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
addDataDesc(run, name, type, ind)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:65:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int addDataDesc();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:346:41: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        run->data = (dataDesc *) tmalloc(sizeof (dataDesc));
                                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:348:42: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        run->data = (dataDesc *) trealloc((char *) run->data,
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:354:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    data->name = copy(name);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:360:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    data->specParamName = copy(param);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
addSpecialDesc(run, name, devname, param, depind)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:66:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int addSpecialDesc();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:388:20: warning: passing arguments to 'fileInit_pass2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            fileInit_pass2(plotPtr);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:389:23: warning: passing arguments to 'fileStartPoint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        fileStartPoint(run->fp, run->binary, run->pointCount);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:393:32: warning: passing arguments to 'fileAddComplexValue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            fileAddComplexValue(run->fp, run->binary, refValue->cValue);
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:395:29: warning: passing arguments to 'fileAddRealValue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            fileAddRealValue(run->fp, run->binary, refValue->rValue);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:404:35: warning: passing arguments to 'fileAddRealValue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  fileAddRealValue(run->fp, run->binary,
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:408:38: warning: passing arguments to 'fileAddComplexValue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  fileAddComplexValue(run->fp, run->binary,
                                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:415:32: warning: passing arguments to 'getSpecial' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (!getSpecial(&run->data[i], run, &val))
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:418:35: warning: passing arguments to 'fileAddRealValue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  fileAddRealValue(run->fp, run->binary,
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:421:38: warning: passing arguments to 'fileAddComplexValue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  fileAddComplexValue(run->fp, run->binary,
                                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:427:21: warning: passing arguments to 'fileEndPoint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        fileEndPoint(run->fp, run->binary);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:432:37: warning: passing arguments to 'plotAddRealValue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    plotAddRealValue(&run->data[i],
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:435:40: warning: passing arguments to 'plotAddComplexValue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    plotAddComplexValue(&run->data[i],
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:439:37: warning: passing arguments to 'plotAddRealValue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    plotAddRealValue(&run->data[i],
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:443:40: warning: passing arguments to 'plotAddComplexValue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    plotAddComplexValue(&run->data[i],
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:448:32: warning: passing arguments to 'getSpecial' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (!getSpecial(&run->data[i], run, &val))
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:451:37: warning: passing arguments to 'plotAddRealValue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    plotAddRealValue(&run->data[i],
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:454:40: warning: passing arguments to 'plotAddComplexValue' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    plotAddComplexValue(&run->data[i],
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:460:17: warning: passing arguments to 'gr_iplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        gr_iplot(run->runPlot);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:463:19: warning: passing arguments to 'ft_bpcheck' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (ft_bpcheck(run->runPlot, run->pointCount) == false)
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
OUTpData(plotPtr, refValue, valuePtr)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
OUTwReference(plotPtr, valuePtr, refPtr)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
OUTwData(plotPtr, dataIndex, valuePtr, refPtr)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
OUTwEnd(plotPtr)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:509:16: warning: passing arguments to 'fileEnd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        fileEnd(run);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:512:16: warning: passing arguments to 'plotEnd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        plotEnd(run);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:515:12: warning: passing arguments to 'freeRun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    freeRun(run);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
OUTendPlot(plotPtr)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
OUTbeginDomain(plotPtr, refName, refType, outerRefValue)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
OUTendDomain(plotPtr)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
OUTattributes(plotPtr, varName, param, value)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fileInit(run)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:67:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void fileInit();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:647:22: warning: passing arguments to 'substring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (substring("#branch", name))
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:649:22: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        else if (cieq(name, "time"))
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:651:22: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        else if (cieq(name, "frequency"))
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:657:29: warning: passing arguments to 'ft_typenames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ft_typenames(type));
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fileInit_pass2(run)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:68:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void fileInit_pass2( );
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fileStartPoint(fp, bin, num)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:69:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void fileStartPoint();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fileAddRealValue(fp, bin, value)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:70:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void fileAddRealValue();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fileAddComplexValue(fp, bin, value)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:71:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void fileAddComplexValue();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:714:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fileEndPoint(fp, bin)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:72:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void fileEndPoint();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fileEnd(run)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:73:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void fileEnd();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:751:33: warning: passing arguments to 'plot_alloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    struct plot *pl = plot_alloc(run->type);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:757:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pl->pl_title = copy(run->name);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:758:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pl->pl_name = copy(run->type);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:759:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pl->pl_date = copy(datestring( ));
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:761:13: warning: passing arguments to 'plot_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    plot_new(pl);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:762:16: warning: passing arguments to 'plot_setcur' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    plot_setcur(pl->pl_typename);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:774:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        v = alloc(struct dvec);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:777:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            v->v_name = copy(buf);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:779:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            v->v_name = copy(dd->name);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:780:22: warning: passing arguments to 'substring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (substring("#branch", v->v_name))
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:782:22: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        else if (cieq(v->v_name, "time"))
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:784:22: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        else if (cieq(v->v_name, "frequency"))
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:800:16: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        vec_new(v);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
plotInit(run)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:74:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void plotInit();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:813:42: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      v->v_realdata = (double *) trealloc((char *) v->v_realdata,
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:818:43: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      v->v_compdata = (complex *) trealloc((char *) v->v_compdata,
                                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
plotAddRealValue(desc, value)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:75:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void plotAddRealValue();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:835:41: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    v->v_compdata = (complex *) trealloc((char *) v->v_compdata,
                                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
plotAddComplexValue(desc, value)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:76:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void plotAddComplexValue();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
plotEnd(run)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:77:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void plotEnd();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
parseSpecial(name, dev, param, ind)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:78:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static bool parseSpecial();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:910:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (s = index(n1, '(')) {
        ~~^~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:910:11: note: place parentheses around the assignment to silence this warning
    if (s = index(n1, '(')) {
          ^
        (                 )
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:910:11: note: use '==' to turn this assignment into an equality comparison
    if (s = index(n1, '(')) {
          ^
          ==
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:917:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (s = index(n2, '(')) {
        ~~^~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:917:11: note: place parentheses around the assignment to silence this warning
    if (s = index(n2, '(')) {
          ^
        (                 )
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:917:11: note: use '==' to turn this assignment into an equality comparison
    if (s = index(n2, '(')) {
          ^
          ==
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
name_eq(n1, n2)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:79:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static bool name_eq();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:943:31: warning: passing arguments to 'if_getstat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    } else if (vv = if_getstat(run->circuit, &desc->name[1])) {
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:943:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    } else if (vv = if_getstat(run->circuit, &desc->name[1])) {
               ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:943:19: note: place parentheses around the assignment to silence this warning
    } else if (vv = if_getstat(run->circuit, &desc->name[1])) {
                  ^
               (                                            )
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:943:19: note: use '==' to turn this assignment into an equality comparison
    } else if (vv = if_getstat(run->circuit, &desc->name[1])) {
                  ^
                  ==
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:955:7: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      tfree(vv);
      ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
getSpecial(desc, run, val)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:80:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static bool getSpecial();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:971:7: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      tfree(run->data[i].name);
      ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:972:7: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      tfree(run->data[i].specParamName);
      ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:974:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(run->data);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:963:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
freeRun(run)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:81:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void freeRun();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:1020:41: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if ((flags == ERR_INFO) && cp_getvar("printinfo", VT_BOOL,
                                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//outitf.c:1010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
OUTerror(flags,format,names) 
^
138 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:12:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: conflicting prototype is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc'
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: conflicting prototype is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc'
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: conflicting prototype is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc'
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here
extern char *realloc();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:48:30: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    xsbuf = sbuf = wl_flatten(wl);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:52:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(xsbuf);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:62:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        p->pn_name = copy(buf);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:70:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(xsbuf);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:72:24: warning: passing arguments to 'checkvalid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!checkvalid(pn))
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_getpnames(wl, check)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:336:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct pnode *ft_getpnames();
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
checkvalid(pn)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:20:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static bool checkvalid();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:270:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        el.e_string = copy(++sbuf);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:282:21: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    td = ft_numparse(&ss, false);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:338:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            el.e_string = copy(sbuf);   /* XXXX !!!! */
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:472:31: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                pn = makepnode(&stack[st]);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:478:32: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                lpn = makepnode(&stack[st]);
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:481:29: warning: passing arguments to 'mkunode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                pn = mkunode(stack[sp].e_token, lpn);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:484:31: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                pn = makepnode(&stack[sp + 1]);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:489:32: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                lpn = makepnode(&stack[sp + 2]);
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:493:35: warning: passing arguments to 'mkfnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (!(pn = mkfnode(stack[sp].e_string, lpn)))
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:496:32: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                lpn = makepnode(&stack[sp]);
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:497:32: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                rpn = makepnode(&stack[st]);
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:500:29: warning: passing arguments to 'mkbnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                pn = mkbnode(stack[sp + 1].e_token, 
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:509:19: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pn = makepnode(&stack[1]);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:530:28: warning: passing arguments to 'mksnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            return (mksnode(elem->e_string));
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:532:28: warning: passing arguments to 'mknnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            return (mknnode(elem->e_double));
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
makepnode(elem)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:28:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static struct pnode *makepnode();
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:616:9: warning: parameter 'opnum' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
mkbnode(opnum, arg1, arg2)
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:628:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    p = alloc(struct pnode);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkbnode(opnum, arg1, arg2)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:26:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static struct pnode *mkbnode();
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:641:9: warning: parameter 'op' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
mkunode(op, arg)
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:647:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    p = alloc(struct pnode);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkunode(op, arg)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:27:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static struct pnode *mkunode();
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:692:24: warning: passing arguments to 'ft_substdef' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        q = ft_substdef(func, arg);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:699:20: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = vec_get(buf);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:707:24: warning: passing arguments to 'mksnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        return (mksnode(buf));
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:717:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(arg);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:721:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    p = alloc(struct pnode);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkfnode(func, arg)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:25:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static struct pnode *mkfnode();
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:742:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    p = alloc(struct pnode);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:743:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    v = alloc(struct dvec);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:760:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    v->v_name = copy(buf);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:763:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    v->v_realdata = (double *) tmalloc(sizeof (double));
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:767:12: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    vec_new(v);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mknnode(number)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:24:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static struct pnode *mknnode();
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:780:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    p = alloc(struct pnode);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:786:16: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    v = vec_get(string);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:788:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        nv = alloc(struct dvec);
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:791:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        nv->v_name = copy(string);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:798:22: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        nv = vec_copy(vs);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:799:16: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        vec_new(nv);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mksnode(string)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:23:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static struct pnode *mksnode();
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:820:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(t);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
free_pnode(t)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//parse.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:337:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void free_pnode();
            ^
71 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:6:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:6:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:6:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:6:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:20:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
Plt5_Init()
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:34:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
Plt5_NewViewport(graph)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:55:7: warning: call to undeclared function 'gr_relinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      gr_relinestyle(graph);
      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Plt5_NewViewport(graph)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:81:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
Plt5_Close()
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:91:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
Plt5_Clear()
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:98:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
Plt5_DrawLine(x1, y1, x2, y2)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:111:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
Plt5_Arc(x0, y0, radius, theta1, theta2)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:119:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
Plt5_Text(text, x, y)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:129:5: warning: call to undeclared function 'Plt5_SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    Plt5_SetLinestyle(SOLID);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Plt5_Text(text, x, y)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:150:7: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      internalerror("bad linestyleid");
      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Plt5_SetLinestyle(linestyleid)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:160:15: warning: parameter 'colorid' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
Plt5_SetColor(colorid)
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:160:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
Plt5_SetColor(colorid)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/Users/pbulk/build/cad/spice/work/src/lib/fte//plot5.c:167:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
Plt5_Update()
^
int
24 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:41:23: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!cp_getvar("polydegree", VT_NUM, (char *) &degree))
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:53:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("gridsize", VT_NUM, (char *) &gridsize))
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:85:17: warning: passing arguments to 'gr_start' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        gr_start(v);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:107:25: warning: passing arguments to 'gr_point' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                gr_point(v, v->v_realdata[i],
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:112:25: warning: passing arguments to 'gr_point' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                gr_point(v, realpart(&v->v_compdata[i]),
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:118:15: warning: passing arguments to 'gr_end' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        gr_end(v);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:137:11: warning: passing arguments to 'gr_point' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                gr_point(v, dx, dy, lx, ly, 0);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:139:11: warning: passing arguments to 'gr_point' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                gr_point(v, dx, dy, lx, ly, i);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:147:21: warning: passing arguments to 'gr_point' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            gr_point(v, dx, dy, lx, ly, 1);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:148:15: warning: passing arguments to 'gr_end' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        gr_end(v);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:157:37: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        gridbuf = (double *) tmalloc(gridsize * sizeof (double));
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:158:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        result = (double *) tmalloc(gridsize * sizeof (double));
                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:162:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            ydata = (double *) tmalloc(v->v_length * 
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:170:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            xdata = (double *) tmalloc(xs->v_length * 
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:176:23: warning: passing arguments to 'ft_minmax' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        mm = ft_minmax(xs, true);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:184:28: warning: passing arguments to 'ft_interpolate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!ft_interpolate(ydata, result, xdata, v->v_length, gridbuf,
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:195:21: warning: passing arguments to 'gr_point' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            gr_point(v, gridbuf[i], result[i], gridbuf[i ? (i - 1)
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:197:15: warning: passing arguments to 'gr_end' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        gr_end(v);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:198:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(gridbuf);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:199:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(result);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:201:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(ydata);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:203:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(xdata);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:210:33: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    scratch = (double *) tmalloc((degree + 1) * (degree + 2) * 
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:212:32: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    result = (double *) tmalloc((degree + 1) * sizeof (double));
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:213:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    xdata = (double *) tmalloc((degree + 1) * sizeof (double));
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:214:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    ydata = (double *) tmalloc((degree + 1) * sizeof (double));
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:232:23: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    while (!ft_polyfit(xdata, ydata, result, degree, scratch)) {
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:237:23: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (ft_polyfit(ydata, xdata, result, degree, scratch)) {
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:250:25: warning: passing arguments to 'plotinterval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            plotinterval(v, ydata[i], ydata[i + 1], result, degree,
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:253:25: warning: passing arguments to 'plotinterval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            plotinterval(v, xdata[i], xdata[i + 1], result, degree,
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:277:27: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        while (!ft_polyfit(xdata, ydata, result, degree, scratch)) {
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:278:27: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (ft_polyfit(ydata, xdata, result, degree, scratch)) {
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:289:25: warning: passing arguments to 'plotinterval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            plotinterval(v, ydata[degree - 1], ydata[degree], 
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:292:25: warning: passing arguments to 'plotinterval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            plotinterval(v, xdata[degree - 1], xdata[degree],
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:295:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(scratch);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:296:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(xdata);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:297:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(ydata);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:298:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(result);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:299:11: warning: passing arguments to 'gr_end' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    gr_end(v);
          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_graf(v, xs, nostart)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:343:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void ft_graf();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:306:33: warning: parameter 'degree' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
plotinterval(v, lo, hi, coeffs, degree, rotated)
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:326:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("polysteps", VT_NUM, (char *) &steps))
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:332:18: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    ly = ft_peval(lo, coeffs, degree);
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:334:22: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        dy = ft_peval(dx, coeffs, degree);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:336:21: warning: passing arguments to 'gr_point' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            gr_point(v, dy, dx, ly, lx, -1);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:338:21: warning: passing arguments to 'gr_point' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            gr_point(v, dx, dy, lx, ly, -1);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
plotinterval(v, lo, hi, coeffs, degree, rotated)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//plotcurv.c:18:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void plotinterval();
            ^
55 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//points.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//points.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//points.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//points.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//points.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//points.c:8:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//points.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_minmax(v, real)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//points.c:8:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:342:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern double *ft_minmax();
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//points.c:51:30: warning: parameter 'minp' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
ft_findpoint(pt, lims, maxp, minp, islog)
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//points.c:51:24: warning: parameter 'maxp' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
ft_findpoint(pt, lims, maxp, minp, islog)
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//points.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_findpoint(pt, lims, maxp, minp, islog)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//points.c:8:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:341:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int ft_findpoint();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//points.c:89:6: warning: call to undeclared function 'SMITH_tfm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            SMITH_tfm( v->v_realdata[i], 0.0, &d, &d2 );
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//points.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_SMITHminmax(v, yval)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//points.c:106:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
SMITH_tfm(re, im, x, y)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//points.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
16 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:11:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: conflicting prototype is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc'
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: conflicting prototype is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc'
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: conflicting prototype is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc'
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here
extern char *realloc();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:12:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:12:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:43:20: warning: passing arguments to 'com_display' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        com_display((wordlist *) NULL);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:47:19: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    p = wl_flatten(wl);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:51:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (rhs = index(p, '=')) {
        ~~~~^~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:51:13: note: place parentheses around the assignment to silence this warning
    if (rhs = index(p, '=')) {
            ^
        (                  )
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:51:13: note: use '==' to turn this assignment into an equality comparison
    if (rhs = index(p, '=')) {
            ^
            ==
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:57:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (s = index(p, '[')) {
        ~~^~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:57:11: note: place parentheses around the assignment to silence this warning
    if (s = index(p, '[')) {
          ^
        (                )
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:57:11: note: use '==' to turn this assignment into an equality comparison
    if (s = index(p, '[')) {
          ^
          ==
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:89:23: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            nn = ft_getpnames(&fake_wl, true);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:90:21: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            t = ft_evaluate(nn);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:92:16: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            free_pnode(nn);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:97:3: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(p);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:104:3: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(p);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:130:22: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    nn = ft_getpnames(&fake_wl, true);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:133:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(p);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:136:20: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    t = ft_evaluate(nn);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:139:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(p);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:146:16: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    n = vec_get(p);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:155:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(p);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:160:6: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        n = alloc(struct dvec);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:162:18: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        n->v_name = copy(p);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:177:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            n->v_realdata = (double *) tmalloc(n->v_length * sizeof(double));
                                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:179:41: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            n->v_compdata = (complex *) tmalloc(n->v_length * sizeof(complex));
                                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:181:9: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        vec_new(n);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:214:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(p);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:222:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(p);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:238:13: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_VECTOR, n->v_name);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:241:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(p);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_let(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:362:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_let();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:252:19: warning: passing arguments to 'vec_remove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        vec_remove(wl->wl_word);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_unlet(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:363:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_unlet();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:266:20: warning: passing arguments to 'ft_loadfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ft_loadfile(ft_rawfile);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:269:35: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            ft_loadfile(cp_unquote(wl->wl_word));
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:269:24: warning: passing arguments to 'ft_loadfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            ft_loadfile(cp_unquote(wl->wl_word));
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:274:16: warning: passing arguments to 'com_display' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    com_display(NULL);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_load(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:364:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_load();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:311:27: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    for (nn = ft_getpnames(wl, true); nn; nn = nn->pn_next) {
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:312:30: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!(v = ft_evaluate(nn)))
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:348:37: warning: passing arguments to 'vec_basename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        vec_basename(v));
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:350:48: warning: passing arguments to 'vec_basename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                (void) strcpy(buf, vec_basename(v));
                                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:363:33: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        printnum(*v->v_realdata));
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:362:31: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    out_printf("%s = %s\n", buf,
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:366:38: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        copy(printnum(realpart(v->v_compdata))),
                                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:366:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        copy(printnum(realpart(v->v_compdata))),
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:367:38: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        copy(printnum(imagpart(v->v_compdata))));
                                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:367:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        copy(printnum(imagpart(v->v_compdata))));
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:365:31: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    out_printf("%s = %s,%s\n", buf,
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:370:27: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                out_printf("%s = (  ", buf);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:374:36: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                           printnum(v->v_realdata[i]));
                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:375:33: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        out_send(buf);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:380:37: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                            out_send("\n\t");
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:383:37: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                            out_send("\t");
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:386:42: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                            copy(printnum(realpart(&v->v_compdata[i]))),
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:386:33: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                            copy(printnum(realpart(&v->v_compdata[i]))),
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:387:42: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                            copy(printnum(imagpart(&v->v_compdata[i]))));
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:387:33: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                            copy(printnum(imagpart(&v->v_compdata[i]))));
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:388:33: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        out_send(buf);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:393:37: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                            out_send("\n\t");
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:396:37: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                            out_send("\t");
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:398:25: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                out_send(")\n");
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:402:22: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (cp_getvar("width", VT_NUM, (char *) &i))
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:406:22: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (cp_getvar("height", VT_NUM, (char *) &i))
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:410:23: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!cp_getvar("nobreak", VT_BOOL, (char *) &nobreak) && !ft_nopage)
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:414:25: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) cp_getvar("noprintscale", VT_BOOL, (char *) 
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:421:48: warning: passing arguments to 'vec_eq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (bv->v_plot->pl_scale && !vec_eq(bv, bv->v_plot->pl_scale)) {
                                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:422:30: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                nv = vec_copy(bv->v_plot->pl_scale);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:423:24: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                vec_new(nv);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:447:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        out_send(buf2);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:448:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        out_send(p->pl_title);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:449:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        out_send("\n");
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:450:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        out_send(buf2);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:453:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        out_send(buf);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:454:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        out_send("\n");
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:459:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        out_send(buf2);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:475:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        out_send(buf);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:476:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        out_send("\n");
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:481:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        out_send(buf2);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:487:14: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            out_send(out_pbuf);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:491:33: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        out_send("\t\t");
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:493:33: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        out_send("\t\t\t\t");
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:498:12: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        out_send(out_pbuf);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:503:12: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        out_send(out_pbuf);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:507:21: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            out_send("\n");
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:515:21: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            out_send("\f\n");   /* Form feed. */
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:524:21: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            out_send("\f\n");   /* Form feed. */
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_print(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:365:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_print();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:557:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (cp_getvar("filetype", VT_STRING, buf)) {
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:565:21: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (void) cp_getvar("appendwrite", VT_BOOL, (char *) &appendwrite);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:568:29: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        names = ft_getpnames(wl, true);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:570:29: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        names = ft_getpnames(&all, true);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:574:24: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = ft_evaluate(n);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:600:30: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                vv = vec_copy(d);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:604:42: warning: passing arguments to 'vec_basename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                vv->v_name = vec_basename(vv);
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:612:27: warning: passing arguments to 'vec_eq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (vec_eq(d, tpl->pl_scale)) {
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:624:40: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            newplot.pl_scale = vec_copy(tpl->pl_scale);
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:638:35: warning: passing arguments to 'vec_eq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        if (vec_eq(vv, d->v_scale))
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:641:34: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    vv = vec_copy(d->v_scale);
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:653:22: warning: passing arguments to 'raw_write' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            raw_write(file, &newplot, appendwrite, false);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:655:22: warning: passing arguments to 'raw_write' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            raw_write(file, &newplot, appendwrite, true);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_write(wl)   
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:366:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_write();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:685:23: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        s = cp_unquote(wl->wl_word);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:686:20: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = vec_get(s);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:692:30: warning: passing arguments to 'vec_transpose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                vec_transpose(d);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_transpose(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:370:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_transpose();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:714:20: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            s = cp_unquote(wl->wl_word);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:715:17: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            d = vec_get(s);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:722:10: warning: passing arguments to 'pvec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            pvec(plot_cur->pl_scale);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_setscale(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:369:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_setscale();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:748:23: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        s = cp_unquote(wl->wl_word);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:749:20: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = vec_get(s);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:755:21: warning: passing arguments to 'pvec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                pvec(d);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:769:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    out_printf("Here are the vectors currently active:\n\n");
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:770:35: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    dvs = (struct dvec **) tmalloc(len * (sizeof (struct dvec *)));
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:773:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("nosort", VT_BOOL, (char *) &b))
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:776:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    out_printf("Title: %s\n",  plot_cur->pl_title);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:777:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    out_printf("Name: %s (%s)\nDate: %s\n\n", 
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:782:13: warning: passing arguments to 'pvec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        pvec(d);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_display(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:361:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_display();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:795:25: warning: passing arguments to 'ft_typenames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            ft_typenames(d->v_type), isreal(d) ? "real" :
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:805:13: warning: enumeration values 'GRID_NONE' and 'GRID_LIN' not handled in switch [-Wswitch]
    switch (d->v_gridtype) {
            ^~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:805:13: note: add missing switch cases
    switch (d->v_gridtype) {
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:831:13: warning: enumeration value 'PLOT_LIN' not handled in switch [-Wswitch]
    switch (d->v_plottype) {
            ^~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:831:13: note: add missing switch cases
    switch (d->v_plottype) {
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:851:42: warning: passing arguments to 'dimstring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        sprintf(buf2, ", dims = [%s]", dimstring(d->v_dims, d->v_numdims));
                                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:859:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    out_send(buf);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:788:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
pvec(d)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:20:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void pvec();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:922:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dcomp(v1, v2)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:19:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int dcomp();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:973:26: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!(d = ft_numparse(&s, false))) {
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:982:22: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pn = ft_getpnames(wl, true);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:984:30: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!(n = ft_evaluate(pn)))
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1000:15: warning: passing arguments to 'vec_remove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    vec_remove(newvec);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1001:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    v = alloc(struct dvec);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1002:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    v->v_name = copy(newvec);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1008:44: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        v->v_compdata = (complex *) tmalloc(i * sizeof (complex));
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1010:43: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        v->v_realdata = (double *) tmalloc(i * sizeof (double));
                                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1029:12: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    vec_new(v);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1031:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_addkword(CT_VECTOR, v->v_name);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:960:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_cross(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:360:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_cross();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1042:17: warning: passing arguments to 'killplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        killplot(plot_cur);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1047:25: warning: passing arguments to 'killplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                killplot(pl);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1055:25: warning: passing arguments to 'killplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                killplot(pl);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_destroy(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:367:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_destroy();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1078:17: warning: passing arguments to 'vec_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        vec_free(v);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1095:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(pl->pl_title);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1096:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(pl->pl_name);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1097:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(pl->pl_typename);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1098:12: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wl_free(pl->pl_commands);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1066:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
killplot(pl)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:21:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void killplot( );
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1113:20: warning: passing arguments to 'plot_setcur' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        plot_setcur(wl->wl_word);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1129:21: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!(s = gettok(&t)))
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1132:16: warning: passing arguments to 'plot_setcur' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    plot_setcur(s);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:1106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_splot(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postcoms.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:368:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_splot();
            ^
172 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:11:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: conflicting prototype is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc'
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: conflicting prototype is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc'
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: conflicting prototype is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc'
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here
extern char *realloc();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:69:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
PS_Init()
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:71:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("hcopyscale", VT_STRING, psscale)) {
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:95:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("hcopyfont", VT_STRING, psfont))
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:97:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("hcopyfontsize", VT_STRING, psfontsize)) {
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:132:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
PS_NewViewport(graph)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:214:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    graph->devdep = tmalloc(sizeof(PSdevdep));
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
PS_NewViewport(graph)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:224:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
PS_Close()
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:243:7: warning: call to undeclared function 'DestroyGraph'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      DestroyGraph(hcopygraphid);
      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:244:31: warning: passing arguments to 'FindGraph' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      currentgraph = FindGraph(1);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:248:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
PS_Clear()
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:255:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
PS_DrawLine(x1, y1, x2, y2)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:288:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
PS_Arc(x0, y0, r, theta1, theta2)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:311:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
PS_Text(text, x, y)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:321:5: warning: call to undeclared function 'PS_SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    PS_SetLinestyle(SOLID);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
PS_Text(text, x, y)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:353:7: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      internalerror("bad linestyleid");
      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
PS_SetLinestyle(linestyleid)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:371:13: warning: parameter 'colorid' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
PS_SetColor(colorid)
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:371:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
PS_SetColor(colorid)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/Users/pbulk/build/cad/spice/work/src/lib/fte//postsc.c:387:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
PS_Update()
^
int
35 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:12:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: conflicting prototype is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc'
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: conflicting prototype is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc'
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: conflicting prototype is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc'
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here
extern char *realloc();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:42:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("nopadding", VT_BOOL, (char *) &raw_padding))
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:94:43: warning: passing arguments to 'dimstring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        fprintf(fp, "Dimensions: %s\n", dimstring(dims, numdims));
                                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:101:22: warning: passing arguments to 'cp_varwl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl = cp_varwl(vv);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:108:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl_print(wl, fp);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:129:29: warning: passing arguments to 'ft_typenames' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ft_typenames(v->v_type));
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:150:39: warning: passing arguments to 'dimstring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            fprintf(fp, " dims=%s", dimstring(v->v_dims, v->v_numdims));
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
raw_write(name, pl, app, binary)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:375:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void raw_write();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:272:21: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (ciprefix("title:", buf)) {
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:276:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            title = copy(s);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:277:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        } else if (ciprefix("date:", buf)) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:281:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            date = copy(s);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:282:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        } else if (ciprefix("plotname:", buf)) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:295:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            curpl = alloc(struct plot);
                    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:298:34: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            curpl->pl_name = copy(s);
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:300:14: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                date = copy(datestring( ));
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:302:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            curpl->pl_title = copy(title);
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:305:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        } else if (ciprefix("flags:", buf)) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:308:30: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            while (t = gettok(&s)) {
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:308:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            while (t = gettok(&s)) {
                   ~~^~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:308:22: note: place parentheses around the assignment to silence this warning
            while (t = gettok(&s)) {
                     ^
                   (             )
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:308:22: note: use '==' to turn this assignment into an equality comparison
            while (t = gettok(&s)) {
                     ^
                     ==
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:309:25: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (cieq(t, "real"))
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:311:30: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                else if (cieq(t, "complex"))
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:313:30: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                else if (cieq(t, "unpadded"))
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:315:30: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                else if (cieq(t, "padded"))
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:322:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        } else if (ciprefix("no. variables:", buf)) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:326:28: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            nvars = scannum(s);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:327:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        } else if (ciprefix("no. points:", buf)) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:331:30: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            npoints = scannum(s);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:332:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        } else if (ciprefix("dimensions:", buf)) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:340:17: warning: passing arguments to 'atodims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (atodims(s, dims, &numdims)) { /* Something's wrong. */
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:362:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        } else if (ciprefix("command:", buf)) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:368:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wl = alloc(struct wordlist);
                     ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:369:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wl->wl_word = copy(s);
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:378:29: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            (void) cp_evloop(s);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:379:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        } else if (ciprefix("option:", buf)) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:384:30: warning: passing arguments to 'cp_lexer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wl = cp_lexer(s);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:389:46: warning: passing arguments to 'cp_setparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    vv->va_next = cp_setparse(wl);
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:391:48: warning: passing arguments to 'cp_setparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    curpl->pl_env = cp_setparse(wl);
                                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:395:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        } else if (ciprefix("variables:", buf)) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:414:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                v = alloc(struct dvec);
                    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:432:30: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                (void) gettok(&s);  /* The index field. */
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:433:31: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (t = gettok(&s))
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:433:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                if (t = gettok(&s))
                    ~~^~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:433:23: note: place parentheses around the assignment to silence this warning
                if (t = gettok(&s))
                      ^
                    (             )
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:433:23: note: use '==' to turn this assignment into an equality comparison
                if (t = gettok(&s))
                      ^
                      ==
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:439:27: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                t = gettok(&s); /* The type name. */
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:441:42: warning: passing arguments to 'ft_typnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    v->v_type = ft_typnum(t);
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:448:61: warning: passing arguments to 'ft_typabbrev' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (isdigit(*v->v_name) && (r = ft_typabbrev(v
                                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:452:37: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    v->v_name = copy(buf2);
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:455:34: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                while (t = gettok(&s)) {
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:455:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                while (t = gettok(&s)) {
                       ~~^~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:455:26: note: place parentheses around the assignment to silence this warning
                while (t = gettok(&s)) {
                         ^
                       (             )
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:455:26: note: use '==' to turn this assignment into an equality comparison
                while (t = gettok(&s)) {
                         ^
                         ==
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:456:33: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    if (ciprefix("min=", t)) {
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:463:40: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    } else if (ciprefix("max=", t)) {
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:470:40: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    } else if (ciprefix("color=", t)) {
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:471:45: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        v->v_defcolor = copy(t + 6);
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:472:40: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    } else if (ciprefix("scale=", t)) {
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:475:37: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                                copy(t + 6);
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:476:40: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    } else if (ciprefix("grid=", t)) {
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:478:40: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                                scannum(t + 5);
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:479:40: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    } else if (ciprefix("plot=", t)) {
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:481:40: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                                scannum(t + 5);
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:482:40: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    } else if (ciprefix("dims=", t)) {
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:483:32: warning: passing arguments to 'fixdims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        fixdims(v, t + 5);
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:501:55: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    v->v_realdata = (double *) tmalloc(
                                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:504:56: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    v->v_compdata = (complex *) tmalloc(
                                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:507:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        } else if (ciprefix("values:", buf) || 
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:508:25: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ciprefix("binary:", buf)) {
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:528:33: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        if (cieq((char *) v->v_scale,
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
raw_read(name)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:376:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct plot *raw_read();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:651:16: warning: passing arguments to 'atodims' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (atodims(s, v->v_dims, &(v->v_numdims))) { /* Something's wrong. */
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fixdims(v, s)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//rawfile.c:18:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void fixdims();
            ^
83 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:94:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *getcwd( );
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:449:7: note: conflicting prototype is here
char    *getcwd(char *, size_t);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:89:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *getwd();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:564:7: note: conflicting prototype is here
char    *getwd(char *) __POSIX_C_DEPRECATED(200112L); /* obsoleted by getcwd() */
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:153:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *sbrk();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:584:7: note: conflicting prototype is here
void    *sbrk(int);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:584:7: error: conflicting types for 'sbrk'
void    *sbrk(int);
         ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:153:14: note: previous declaration is here
extern char *sbrk();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:66:19: warning: passing arguments to 'sbrk' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    enddata = sbrk(0);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:72:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
init_time()
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:95:17: warning: passing arguments to 'printres' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        printres((char *) NULL);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:98:32: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            printres(cp_unquote(wl->wl_word));
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:98:21: warning: passing arguments to 'printres' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            printres(cp_unquote(wl->wl_word));
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:103:17: warning: passing arguments to 'printres' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        printres("cputime");
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:105:17: warning: passing arguments to 'printres' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        printres("totalcputime");
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:107:17: warning: passing arguments to 'printres' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        printres("space");
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_rusage(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:380:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_rusage();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:148:25: warning: passing arguments to 'sbrk' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    usage = (char *)sbrk(0) - enddata;
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:222:16: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat]
                cpu_elapsed, total, totalu);
                             ^~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:222:23: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat]
                cpu_elapsed, total, totalu);
                                    ^~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:269:18: warning: passing arguments to 'sbrk' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        hi = sbrk(0);
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:311:20: warning: passing arguments to 'if_getstat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            v = if_getstat(ft_curckt->ci_ckt, NULL);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:313:20: warning: passing arguments to 'if_getstat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            v = if_getstat(ft_curckt->ci_ckt, name);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:316:30: warning: passing arguments to 'cp_varwl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl_print(cp_varwl(v), cp_out);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:316:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl_print(cp_varwl(v), cp_out);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:323:34: warning: passing arguments to 'cp_varwl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wl_print(cp_varwl(v), cp_out);
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:323:25: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wl_print(cp_varwl(v), cp_out);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
printres(name)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void printres();
            ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:90:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern int kill();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/signal.h:80:5: note: conflicting prototype is here
int     kill(pid_t, int) __DARWIN_ALIAS(kill);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//resource.c:378:39: warning: passing arguments to 'sbrk' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        high = (char *) ((unsigned long) sbrk(0) & ~((1 << LOG2_PAGESIZE) - 1));
                                             ^
33 warnings and 3 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:61:25: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (ciprefix(wl->wl_word, p->ci_name))
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:73:28: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                cp_kwswitch(CT_DEVNAMES, p->ci_devices);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:74:42: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ft_curckt->ci_nodes = cp_kwswitch(CT_NODENAMES, p->ci_nodes);
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_scirc(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:396:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_scirc();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:84:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    dosim("pz", wl);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_pz(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:389:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_pz();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:92:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    dosim("op", wl);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_op(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:388:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_op();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:100:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    dosim("dc", wl);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_dc(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:387:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_dc();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:108:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    dosim("ac", wl);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_ac(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:386:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_ac();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:116:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    dosim("tf", wl);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_tf(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:395:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_tf();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:124:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    dosim("tran", wl);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_tran(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:394:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_tran();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:132:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    dosim("sens", wl);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_sens(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:390:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_sens();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:140:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    dosim("disto", wl);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_disto(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:397:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_disto();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:148:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    dosim("noise", wl);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_noise(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:398:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_noise();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:167:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ww = alloc(struct wordlist);
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:171:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ww->wl_word = copy(what);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:174:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (cp_getvar("filetype", VT_STRING, buf)) {
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:203:19: warning: passing arguments to 'com_resume' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        com_resume((wordlist *) NULL);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:238:23: warning: passing arguments to 'if_sens_run' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
       if (if_sens_run(ft_curckt->ci_ckt, ww, ft_curckt->ci_symtab) == 1) {
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:248:21: warning: passing arguments to 'if_run' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        err = if_run(ft_curckt->ci_ckt, what, ww, ft_curckt->ci_symtab);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dosim(what, wl)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:19:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int dosim();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_run(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:393:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_run();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_dorun(file)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:399:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int ft_dorun();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_getOutReq(fpp, plotp, binp, name, title)
^
51 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:22:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:22:
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:22:
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:22:
/Users/pbulk/build/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void free();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:55:42: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (void) sprintf(buf, ".%s", wl_flatten(args));
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:69:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            ft_sperror(err,"deleteTask");
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:76:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ft_sperror(err,"newTask");
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:89:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            ft_sperror(err,"createOptions");
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:109:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            ft_sperror(err,"createSense");
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:132:27: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ft_sperror(err,"createAC"); /* or similar error message */
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:176:27: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ft_sperror(err,"createOP"); /* or similar error message */
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:198:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            ft_sperror(err,"createOP"); /* or similar error message */
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:245:27: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ft_sperror(err,"createTRAN"); 
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:337:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ft_sperror(err, "doAnalyses");
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
if_sens_run(t,args,tab)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//shyu.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:426:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int if_sens_run();
           ^
22 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//signal.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//signal.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//signal.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//signal.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//signal.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//signal.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//signal.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:90:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern int kill();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/signal.h:80:5: note: conflicting prototype is here
int     kill(pid_t, int) __DARWIN_ALIAS(kill);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//signal.c:67:15: warning: parameter 'code' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
sigfloat(sig, code)
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//signal.c:67:10: warning: parameter 'sig' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
sigfloat(sig, code)
         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//signal.c:70:12: warning: passing arguments to 'fperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    fperror("Error", code);
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//signal.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
sigfloat(sig, code)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//signal.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:411:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern SIGNAL_TYPE sigfloat();
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//signal.c:84:12: warning: passing arguments to 'cp_ccon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_ccon(false);
           ^
13 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//spcmdtab.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spcmdtab.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spcmdtab.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spcmdtab.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spcmdtab.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spcmdtab.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
6 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:22:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:22:
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:22:
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:22:
/Users/pbulk/build/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void free();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:51:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ft_sperror(err, "CKTinit");
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:56:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ft_sperror(err,"newUid");
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:61:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ft_sperror(err,"newTask");
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:74:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            ft_sperror(err,"newUid");
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:81:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            ft_sperror(err,"createOptions");
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
if_inpdeck(deck, tab)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:424:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *if_inpdeck();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:122:46: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) sprintf(buf, ".%s", wl_flatten(args));
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:131:27: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ft_sperror(err,"deleteTask");
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:138:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            ft_sperror(err,"newUid");
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:144:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            ft_sperror(err,"newTask");
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:157:27: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ft_sperror(err,"newUid");
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:164:27: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ft_sperror(err,"createOptions");
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:191:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            ft_sperror(err, "doAnalyses");
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:200:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            ft_sperror(err, "doAnalyses");
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
if_run(t, what, args, tab)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:425:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int if_run();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:319:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                pval.sValue = copy(value);
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:344:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ft_sperror(err, "setAnalysisParm(options)");
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
if_option(ckt, name, type, value)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:432:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int if_option();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
if_dump(ckt, file)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:431:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void if_dump();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
if_cktfree(ckt, tab)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:430:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void if_cktfree();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
if_errstring(code)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:423:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *if_errstring();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:431:27: warning: passing arguments to 'finddev' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        typecode = finddev(ckt, *name,(GENERIC**) &dev,(GENERIC**) &mod);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:444:23: warning: passing arguments to 'doask' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            pv = doask(ckt, typecode, dev, mod, opt, ind);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:446:31: warning: passing arguments to 'parmtovar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tv = parmtovar(pv, opt);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:459:27: warning: passing arguments to 'finddev' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        typecode = finddev(ckt, *name, (GENERIC**)&dev, (GENERIC**)&mod);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:467:25: warning: passing arguments to 'parmlookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        opt = parmlookup(device, &dev, param, do_model, 0);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:473:19: warning: passing arguments to 'doask' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        pv = doask(ckt, typecode, dev, mod, opt, ind);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:475:27: warning: passing arguments to 'parmtovar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            vv = parmtovar(pv, opt);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:478:27: warning: passing arguments to 'if_getstat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        return (if_getstat(ckt, *name));
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spif_getparam(ckt, name, param, ind, do_model)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:429:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct variable *spif_getparam();
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:496:23: warning: passing arguments to 'finddev' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    typecode = finddev(ckt, *name, (GENERIC**)&dev, (GENERIC**)&mod);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:502:21: warning: passing arguments to 'parmlookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    opt = parmlookup(device, &dev, param, do_model, 1);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:510:10: warning: passing arguments to 'doset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    doset(ckt, typecode, dev, mod, opt, val);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
if_setparam(ckt, name, param, val, do_model)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:434:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void if_setparam();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:518:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    struct variable *vv = alloc(struct variable);
                          ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:543:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                nv = alloc(struct variable);
                     ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:558:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    vv->va_name = copy(opt->description);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
parmtovar(pv, opt)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:29:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static struct variable *parmtovar();
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
parmlookup(dev, inptr, param, do_model, inout)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:28:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static IFparm * parmlookup();
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:618:12: warning: parameter 'typecode' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
doask(ckt, typecode, dev, mod, opt, ind)
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:639:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ft_sperror(err, "if_getparam");
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
doask(ckt, typecode, dev, mod, opt, ind)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:25:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static IFvalue *doask();
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:652:12: warning: parameter 'typecode' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
doset(ckt, typecode, dev, mod, opt, val)
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:676:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                iptr = nval.v.vec.iVec = NEWN(int, n);
                                         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:60:36: note: expanded from macro 'NEWN'
#define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT)))
                                   ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
doset(ckt, typecode, dev, mod, opt, val)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:26:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int doset( );
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
finddev(ck, name, devptr, modptr)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:27:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int finddev();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:791:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int if_analQbyName(ckt,which,anal,name,parm)
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
if_tranparams(ci, start, stop, step)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:422:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern bool if_tranparams();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
if_getstat(ckt, name)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//spiceif.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:435:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct variable *if_getstat();
                        ^
74 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:62:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if(!cp_getvar("substart", VT_STRING, start))
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:64:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if(!cp_getvar("subend", VT_STRING, sbend))
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:66:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if(!cp_getvar("subinvoke", VT_STRING, invoke))
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:68:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if(!cp_getvar("modelcard", VT_STRING, model))
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:70:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if(!cp_getvar("modelline", VT_STRING, model))
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:72:21: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (void) cp_getvar("nobjthack", VT_BOOL, (char *) &nobjthack);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:78:19: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (prefix(start, c->li_line)) {
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:109:14: warning: passing arguments to 'doit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    ll = doit(deck);
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
inp_subcktexpand(deck)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:440:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct line *inp_subcktexpand();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:138:19: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (prefix(sbend, last->li_line)) {
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:142:26: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        } else if (prefix(start, last->li_line)) {
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:148:20: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl_free(submod);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:152:27: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (prefix(sbend, c->li_line)) {
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:160:34: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                } else if (prefix(start, c->li_line))
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:168:19: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            sss = alloc(struct subs);
                  ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:178:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            (void) gettok(&s);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:179:34: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            sss->su_name = gettok(&s);
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:180:32: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            sss->su_args = copy(s);
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:211:19: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (prefix(model, c->li_line)) {
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:213:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            (void) gettok(&s);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:214:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl = alloc(struct wordlist);
                 ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:219:33: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl->wl_word = gettok(&s);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:227:25: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (ciprefix(invoke, c->li_line)) {
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:229:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                t = s = copy(c->li_line);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:230:32: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                scname = gettok(&s);
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:257:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                subname = copy(sss->su_name);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:258:35: warning: passing arguments to 'inp_deckcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                lcc = inp_deckcopy(sss->su_def);
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:261:33: warning: passing arguments to 'modtranslate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (modtranslate(lcc, scname))
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:262:36: warning: passing arguments to 'devmodtranslate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    devmodtranslate(lcc, scname);
                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:265:30: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                (void) gettok(&t); /* Throw out the name. */
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:267:31: warning: passing arguments to 'translate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (!translate(lcc, s, t, scname, subname))
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:294:14: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (ciprefix(invoke, c->li_line)) {
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
doit(deck)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:17:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static struct line *doit();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:320:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            d->li_next = alloc(struct line);
                         ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:323:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            nd = d = alloc(struct line);
                     ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:325:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d->li_line = copy(deck->li_line);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:327:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            d->li_error = copy(deck->li_error);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
inp_deckcopy(deck)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:439:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct line *inp_deckcopy();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:350:17: warning: passing arguments to 'settrans' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    i = settrans(formal, actual, subname);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:374:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&s);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:378:3: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(name);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:382:29: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            buffer = tmalloc(10000);    /* XXXXX */
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:392:30: warning: passing arguments to 'numnodes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            nnodes = numnodes(c->li_line);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:394:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&s);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:400:25: warning: passing arguments to 'gettrans' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            t = gettrans(name);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:408:29: warning: passing arguments to 'numdevs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            nnodes = numdevs(c->li_line);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:410:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&s);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:430:23: warning: passing arguments to 'finishLine' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            finishLine(buffer + strlen(buffer), s, scname);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:434:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(c->li_line);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:435:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        c->li_line = copy(buffer);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:436:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(buffer);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
translate(deck, formal, actual, scname, subname)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:18:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int translate();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:485:25: warning: passing arguments to 'gettrans' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            s = gettrans(buf);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:521:15: warning: passing arguments to 'gettrans' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                s = gettrans(buf);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
finishLine(dst, src, scname)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:20:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void finishLine();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:552:32: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        table[i].t_old = gettok(&formal);
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:553:32: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        table[i].t_new = gettok(&actual);
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
settrans(formal, actual, subname)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:19:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int settrans();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gettrans(name)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static char *gettrans();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:616:21: warning: passing arguments to 'inp_numnodes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    n = inp_numnodes(c);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:620:22: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) gettok(&s);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:628:15: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    t = gettok(&s);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
numnodes(name)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:22:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int numnodes(), numdevs();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:636:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
numdevs(s)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:22:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int numnodes(), numdevs();
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:671:19: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (prefix(model, c->li_line)) {
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:674:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&t);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:675:29: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            buffer = tmalloc(strlen(name) + strlen(t) +
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:678:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&t);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:679:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wlsub = alloc(struct wordlist);
                    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:688:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(c->li_line);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:691:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            (void) gettok(&t);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:692:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl = alloc(struct wordlist);
                 ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:697:33: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            wl->wl_word = gettok(&t);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
modtranslate(deck, subname)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:23:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static bool modtranslate();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:719:25: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        buffer = tmalloc(strlen(t) + strlen(subname) + 4);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:725:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&t);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:727:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&t);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:729:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&t);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:733:30: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                name = gettok(&t);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:749:30: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                name = gettok(&t);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:764:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(s->li_line);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:769:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&t);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:771:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&t);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:773:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&t);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:775:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&t);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:790:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(s->li_line);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:798:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&t);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:800:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&t);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:802:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&t);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:804:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&t);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:806:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&t);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:821:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(s->li_line);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:828:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&t);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:830:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&t);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:832:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&t);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:834:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&t);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:836:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&t);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:838:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&t);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:853:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(s->li_line);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:858:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&t);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:860:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&t);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:862:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&t);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:864:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&t);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:866:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            name = gettok(&t);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:882:30: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                name = gettok(&t);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:897:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(s->li_line);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:902:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tfree(buffer);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
devmodtranslate(deck, subname)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void devmodtranslate();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
inp_numnodes(c)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//subckt.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:441:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int inp_numnodes();
           ^
127 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:105:20: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        name = copy(wl->wl_word);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:107:19: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        abb = copy(wl->wl_word);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:109:21: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (cieq(types[i].t_name, name)) {
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:125:20: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        name = copy(wl->wl_word);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:129:25: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (cieq(plotabs[i].p_pattern, wl->wl_word)) {
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:141:48: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            plotabs[noplotabs].p_pattern = copy(wl->wl_word);
                                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_dftype(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:445:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_dftype();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_typabbrev(typenum)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:447:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *ft_typabbrev();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_typenames(typenum)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:448:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *ft_typenames();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:189:17: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (cieq(name, types[i].t_name))
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_typnum(name)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:450:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int ft_typnum();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:210:22: warning: passing arguments to 'substring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (substring(plotabs[i].p_pattern, buf))
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_plotabbrev(string)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:449:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *ft_plotabbrev();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:236:20: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        v = vec_get(wl->wl_word);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_stype(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//types.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:446:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_stype();
            ^
27 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:12:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:12:
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:12:
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:12:
/Users/pbulk/build/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void free();
            ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:53:22: warning: passing arguments to 'raw_read' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        pl = raw_read(file);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:69:17: warning: passing arguments to 'plot_add' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        plot_add(pl);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_loadfile(file)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:467:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void ft_loadfile();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:90:40: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        plot_cur->pl_ccom = cp_kwswitch(CT_VECTOR, pl->pl_ccom);
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:93:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_addkword(CT_VECTOR, v->v_name);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:94:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_addkword(CT_VECTOR, "all");
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:96:28: warning: passing arguments to 'ft_plotabbrev' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!(s = ft_plotabbrev(pl->pl_name)))
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:101:21: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (cieq(tp->pl_typename, buf)) {
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:107:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pl->pl_typename = copy(buf);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:108:13: warning: passing arguments to 'plot_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    plot_new(pl);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:109:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_addkword(CT_PLOT, buf);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:110:30: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pl->pl_ccom = cp_kwswitch(CT_VECTOR, (char *) NULL);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:111:16: warning: passing arguments to 'plot_setcur' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    plot_setcur(pl->pl_typename);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
plot_add(pl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:464:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void plot_add();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:125:17: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (cieq(name, ov->v_name) && (ov->v_flags & VF_PERMANENT))
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:134:16: warning: passing arguments to 'cp_remkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_remkword(CT_VECTOR, name);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
vec_remove(name)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:470:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void vec_remove();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:150:16: warning: passing arguments to 'findvec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    d = findvec(word, plot);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:156:20: warning: passing arguments to 'findvec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = findvec(buf, plot);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:163:20: warning: passing arguments to 'findvec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = findvec(buf, plot);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:171:19: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (prefix("i(", /* ) */ word)) {
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:176:20: warning: passing arguments to 'findvec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = findvec(buf, plot);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
vec_fromplot(word, plot)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:456:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct dvec *vec_fromplot();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:207:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wd = word = copy(word);     /* Gets mangled below... */
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:214:17: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (cieq(buf, "all")) {
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:218:52: warning: passing arguments to 'plot_prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            for (pl = plot_list; pl && !plot_prefix(buf, 
                                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:237:21: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (cieq(pl->pl_typename, "const"))
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:276:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            vv = (*if_getparam)(ft_curckt->ci_ckt, &name, param, 0, 0);
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:285:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(wd);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:286:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = alloc(struct dvec);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:288:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d->v_name = copy(word);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:291:43: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d->v_realdata = (double *) tmalloc(sizeof (double));
                                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:294:16: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        vec_new(d);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:298:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(wd);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:299:21: warning: passing arguments to 'sortvecs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (sortvecs(d));
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
vec_get(word)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:458:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct dvec *vec_get();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:317:13: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (cieq(word, "all")) {
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:321:33: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    v = vec_copy(d);
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:322:28: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    vec_new(v);
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:336:17: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (cieq(word, d->v_name) && (d->v_flags & VF_PERMANENT))
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:341:21: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (cieq(buf, d->v_name) && (d->v_flags & VF_PERMANENT))
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:345:21: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = vec_copy(d);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:346:16: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        vec_new(d);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
findvec(word, pl)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:28:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static struct dvec *findvec();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:365:25: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) cp_evloop(wl->wl_word);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
plot_docoms(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:469:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void plot_docoms();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:385:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    nv = alloc(struct dvec);
         ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:386:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    nv->v_name = copy(v->v_name);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:391:44: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        nv->v_realdata = (double *) tmalloc(sizeof (double) *
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:398:45: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        nv->v_compdata = (complex *) tmalloc(sizeof (complex) *
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
vec_copy(v)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:457:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct dvec *vec_copy();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:433:23: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    struct plot *pl = alloc(struct plot), *tp;
                      ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:438:28: warning: passing arguments to 'ft_plotabbrev' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!(s = ft_plotabbrev(name)))
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:443:21: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (cieq(tp->pl_typename, buf)) {
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:448:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pl->pl_typename = copy(buf);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:449:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_addkword(CT_PLOT, buf);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:450:20: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    s = cp_kwswitch(CT_VECTOR, (char *) NULL);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:451:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    cp_addkword(CT_VECTOR, "all");
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:452:30: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pl->pl_ccom = cp_kwswitch(CT_VECTOR, s);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
plot_alloc(name)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:461:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct plot *plot_alloc();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
vec_new(d)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:468:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void vec_new();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:504:25: warning: passing arguments to 'vec_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                vec_free(d);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:555:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(v->v_name);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:557:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(v->v_realdata);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:559:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(v->v_compdata);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:561:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(v);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
vec_free(v)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:465:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void vec_free();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:578:22: warning: passing arguments to 'vec_basename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    s1 = vec_basename(v1);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:579:22: warning: passing arguments to 'vec_basename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    s2 = vec_basename(v2);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:581:13: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (cieq(s1, s2))
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
vec_eq(v1, v2)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:454:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern bool vec_eq();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:602:17: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (cieq(v->v_plot->pl_typename, buf))
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:619:17: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (copy(s));
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
vec_basename(v)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:474:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *vec_basename();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:637:37: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    array = (struct dvec **) tmalloc(i * sizeof (struct dvec *));
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:648:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(array);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
sortvecs(d)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:29:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static struct dvec *sortvecs();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:658:21: warning: passing arguments to 'namecmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if ((i = namecmp((*d1)->v_plot->pl_typename,
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:661:20: warning: passing arguments to 'namecmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (namecmp((*d1)->v_name, (*d2)->v_name));
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
veccmp(d1, d2)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:27:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int veccmp();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
namecmp(s, t)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:26:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int namecmp();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:706:13: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (cieq(name, "new")) {
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:708:28: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        pl->pl_title = copy("Anonymous");
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:709:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        pl->pl_name = copy("unknown");
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:710:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        pl->pl_date = copy(datestring( ));
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:711:17: warning: passing arguments to 'plot_new' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        plot_new(pl);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:716:24: warning: passing arguments to 'plot_prefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (plot_prefix(name, pl->pl_typename))
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:723:40: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        plot_cur->pl_ccom = cp_kwswitch(CT_VECTOR, pl->pl_ccom);
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
plot_setcur(name)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:472:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void plot_setcur();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:733:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
plot_new(pl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:473:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void plot_new();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:783:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        newreal = (double *) tmalloc(sizeof (double) * v->v_length);
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:797:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(oldreal);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:800:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        newcomp = (complex *) tmalloc(sizeof (complex) * v->v_length);
                                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:816:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(oldcomp);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
vec_transpose(v)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:476:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void vec_transpose();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:843:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            d = d->v_link2 = alloc(struct dvec);
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:846:24: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            d = vecs = alloc(struct dvec);
                       ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:854:14: warning: passing arguments to 'indexstring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                indexstring(count, v->v_numdims - 1));
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:855:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d->v_name = copy(buf);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:871:47: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            d->v_realdata = (double *) tmalloc(totalsize);
                                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:876:47: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            d->v_realdata = (double *) tmalloc(totalsize);
                                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:881:17: warning: passing arguments to 'incindex' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) incindex(count, v->v_numdims - 1, v->v_dims, v->v_numdims);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
vec_mkfamily(v)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:459:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct dvec *vec_mkfamily();
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
plot_prefix(pre, str)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//vectors.c:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:475:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern bool plot_prefix();
            ^
135 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//where.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//where.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//where.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//where.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//where.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//where.c:8:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
6 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:17:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: conflicting prototype is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc'
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: conflicting prototype is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc'
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: conflicting prototype is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc'
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here
extern char *realloc();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:19:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:19:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:19:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:19:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftegraph.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:24:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:90:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
X11_Init()
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:102:15: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (cp_getvar("display", VT_STRING, buf)) {
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:105:4: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
          internalerror("Can't open X display.");
          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:147:19: warning: incompatible function pointer types passing 'void (Display *, XErrorEvent *)' (aka 'void (struct _XDisplay *, XErrorEvent *)') to parameter of type 'XErrorHandler' (aka 'int (*)(struct _XDisplay *, XErrorEvent *)') [-Wincompatible-function-pointer-types]
        XSetErrorHandler(errorhandler);
                         ^~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/.buildlink/include/X11/Xlib.h:1850:1: note: passing argument to parameter here
);
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:159:2: warning: call to undeclared function 'externalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        externalerror(ErrorMessage);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:169:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
X11_NewViewport(graph)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:207:24: warning: passing arguments to 'calloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        graph->devdep = calloc(1, sizeof(X11devdep));
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:250:16: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!cp_getvar("font", VT_STRING, fontname)) {
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:267:8: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
              internalerror(ErrorMessage);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:301:12: warning: passing arguments to 'initcolors' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        initcolors(graph);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
X11_NewViewport(graph)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:360:20: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (!cp_getvar(buf, VT_STRING, colorstring))
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:367:3: warning: call to undeclared function 'externalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                externalerror(ErrorMessage);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
initcolors(graph)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:67:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void initcolors( );
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:394:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
X11_Close()
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:399:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
X11_DrawLine(x1, y1, x2, y2)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:418:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("x11lineararcs", VT_BOOL, (char *) &t1)) {
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:419:12: warning: passing arguments to 'linear_arc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        linear_arc(x0, y0, radius, theta1, theta2);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:446:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
X11_Text(text, x, y)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:466:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
X11_DefineColor(colorid, red, green, blue)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:470:2: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        internalerror("X11_DefineColor not implemented.");
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
X11_DefineColor(colorid, red, green, blue)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:476:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
X11_DefineLinestyle(linestyleid, mask)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:480:2: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        internalerror("X11_DefineLinestyle not implemented.");
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
X11_DefineLinestyle(linestyleid, mask)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:483:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
X11_SetLinestyle(linestyleid)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:518:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
X11_SetColor(colorid)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:528:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
X11_Update()
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:536:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
X11_Clear()
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:558:2: warning: call to undeclared function 'PushGraphContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        PushGraphContext(graph);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:560:2: warning: call to undeclared function 'SetColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        SetColor(1);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:561:2: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        Text(text, keyev->x, graph->absolute.height - keyev->y);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:563:2: warning: call to undeclared function 'SaveText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        SaveText(graph, text, keyev->x, graph->absolute.height - keyev->y);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:568:2: warning: call to undeclared function 'PopGraphContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        PopGraphContext();
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
handlekeypressed(w, clientdata, calldata)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:41:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void handlebuttonev(), handlekeypressed(), killwin(), hardcopy(),
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:600:6: warning: call to undeclared function 'zoomin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            zoomin((GRAPH *) clientdata);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
handlebuttonev(w, clientdata, calldata)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:41:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void handlebuttonev(), handlekeypressed(), killwin(), hardcopy(),
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:652:16: warning: passing arguments to 'X_ScreentoData' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        X_ScreentoData(graph, x0, y0, &fx0, &fy0);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:653:16: warning: passing arguments to 'X_ScreentoData' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        X_ScreentoData(graph, x1, y1, &fx1, &fy1);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:688:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
zoomin(graph)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:750:16: warning: passing arguments to 'X_ScreentoData' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        X_ScreentoData(graph, x0, y0, &fx0, &fy0);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:751:16: warning: passing arguments to 'X_ScreentoData' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        X_ScreentoData(graph, x1, y1, &fx1, &fy1);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:765:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (t = index(buf2, ':'))
            ~~^~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:765:8: note: place parentheses around the assignment to silence this warning
        if (t = index(buf2, ':'))
              ^
            (                   )
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:765:8: note: use '==' to turn this assignment into an equality comparison
        if (t = index(buf2, ':'))
              ^
              ==
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:770:26: warning: invalid conversion specifier '.' [-Wformat-invalid-specifier]
"setplot %s; %s xlimit %l.20e %l.20e ylimit %l.20e %l.20e; setplot $curplot\n",
                       ~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:770:33: warning: invalid conversion specifier '.' [-Wformat-invalid-specifier]
"setplot %s; %s xlimit %l.20e %l.20e ylimit %l.20e %l.20e; setplot $curplot\n",
                              ~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:770:47: warning: invalid conversion specifier '.' [-Wformat-invalid-specifier]
"setplot %s; %s xlimit %l.20e %l.20e ylimit %l.20e %l.20e; setplot $curplot\n",
                                            ~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:770:54: warning: invalid conversion specifier '.' [-Wformat-invalid-specifier]
"setplot %s; %s xlimit %l.20e %l.20e ylimit %l.20e %l.20e; setplot $curplot\n",
                                                   ~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:771:31: warning: data argument not used by format string [-Wformat-extra-args]
           buf2, graph->commandline, fx0, fx1, fy0, fy1);
                                     ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:781:15: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (cp_getvar("plothistory", VT_BOOL, (char *) &dummy)) {
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:782:17: warning: passing arguments to 'cp_parse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          wl = cp_parse(buf);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:783:24: warning: passing arguments to 'cp_addhistent' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          (void) cp_addhistent(cp_event++, wl);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:787:18: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) cp_evloop(buf);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
zoomin(graph)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:798:14: warning: passing arguments to 'com_hardcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        com_hardcopy(NULL);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hardcopy(w, client_data, call_data)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:41:62: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void handlebuttonev(), handlekeypressed(), killwin(), hardcopy(),
                                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:812:2: warning: call to undeclared function 'DestroyGraph'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        DestroyGraph(graph->graphid);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:803:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
killwin(w, client_data, call_data)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:41:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void handlebuttonev(), handlekeypressed(), killwin(), hardcopy(),
                                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:860:2: warning: call to undeclared function 'gr_redraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        gr_redraw(graph);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
redraw(w, client_data, call_data)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:42:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
            redraw(), resize();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:886:2: warning: call to undeclared function 'gr_resize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        gr_resize(graph);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
resize(w, client_data, call_data)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:42:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
            redraw(), resize();
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:961:34: warning: passing arguments to 'inchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    response->reply.ch = inchar(request->fp);
                                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:975:6: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            internalerror("button_option not implemented");
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:1003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
X_ScreentoData(graph, x, y, fx, fy)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:68:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void X_ScreentoData( );
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:1040:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
linear_arc(x0,y0,radius,theta1,theta2)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//x11.c:65:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void linear_arc( );
            ^
90 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:2:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: conflicting prototype is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc'
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: conflicting prototype is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc'
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: conflicting prototype is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc'
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here
extern char *realloc();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:3:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:3:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:7:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:7:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:8:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:15:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
wl_forall(wl, fn, data)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:21:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                (*fn)(wl, data);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
wl_forall(wl, fn, data)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:37:7: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        dg = NEW(dgen);
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:59:29: note: expanded from macro 'NEW'
#define NEW(TYPE)       ((TYPE *) MALLOC(sizeof(TYPE)))
                                  ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:78:11: warning: passing arguments to 'dgen_next' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        dgen_next(&dg);
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dgen_init(ckt, wl, nomix, flag, model)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:11:
/Users/pbulk/build/cad/spice/work/src/include/dgen.h:26:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern  dgen    *dgen_init( );
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:102:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                j = (*fn)(dgxp, data, subindex);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:105:12: warning: passing arguments to 'dgen_next' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                dgen_next(&dgxp);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dgen_for_n(dg, n, fn, data, subindex)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:111:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
dgen_nth_next(dg, n)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:120:12: warning: passing arguments to 'dgen_next' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                dgen_next(dg);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dgen_nth_next(dg, n)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:317:17: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                                || !ciprefix(subckt, dev_name + 1)))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dgen_next(dgx)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//gens.c:13:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void dgen_next( );
            ^
28 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:10:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: conflicting prototype is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc'
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: conflicting prototype is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc'
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: conflicting prototype is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc'
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here
extern char *realloc();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:49:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (p = index(w->wl_word, '['))
                ~~^~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:49:12: note: place parentheses around the assignment to silence this warning
            if (p = index(w->wl_word, '['))
                  ^
                (                         )
/Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:49:12: note: use '==' to turn this assignment into an equality comparison
            if (p = index(w->wl_word, '['))
                  ^
                  ==
/Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:152:24: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            vname = cp_unquote(wl->wl_word);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:153:18: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            dv = vec_get(vname);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:166:24: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            vname = cp_unquote(w2->wl_word);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:168:18: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            dv = vec_get(vname);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:208:10: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                tfree(vname);
                ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:210:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    } while (wl = wlast);
             ~~~^~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:210:17: note: place parentheses around the assignment to silence this warning
    } while (wl = wlast);
                ^
             (         )
/Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:210:17: note: use '==' to turn this assignment into an equality comparison
    } while (wl = wlast);
                ^
                ==
/Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_reshape(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//newcoms.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:517:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_reshape();
            ^
21 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:11:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: conflicting prototype is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc'
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: conflicting prototype is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc'
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: conflicting prototype is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc'
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here
extern char *realloc();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:24:32: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if ( (buf = (char *) malloc(BSIZE_SP*sizeof(char))) == NULL)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dimstring( data, length )
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:60:32: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if ( (buf = (char *) malloc(BSIZE_SP*sizeof(char))) == NULL)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
indexstring( data, length )
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
incindex(counts, numcounts, dims, numdims)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
emptydims( data, length )
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
atodims( p, data, outlength )
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//dimens.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
skipdims( p )
^
19 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:46:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("xbrushwidth", VT_NUM, &linewidth))
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:50:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!cp_getvar("pointstyle", VT_STRING, pointstyle)) {
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:53:10: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (cieq(pointstyle,"markers")) {
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:95:19: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        text = cp_unquote(title);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:97:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(text);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:100:19: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        text = cp_unquote(xlabel);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:102:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(text);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:105:19: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        text = cp_unquote(ylabel);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:107:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(text);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//xgraph.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_xgraph(xlims, ylims, filename, title, xlabel, ylabel,
^
16 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:43:16: warning: passing arguments to 'com_run' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        com_run((wordlist *) NULL);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:49:5: warning: call to undeclared function 'reset_trace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    reset_trace( );
    ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:54:17: warning: passing arguments to 'if_run' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    err = if_run(ft_curckt->ci_ckt, "resume", (wordlist *) NULL,
                ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_resume(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:392:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_resume();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:91:15: warning: passing arguments to 'if_cktfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if_cktfree(ft_curckt->ci_ckt, ft_curckt->ci_symtab);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:94:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(v);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:98:15: warning: passing arguments to 'inp_dodeck' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    inp_dodeck(ft_curckt->ci_deck, ft_curckt->ci_name, (wordlist *) NULL,
              ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_rset(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//runcoms2.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:391:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_rset();
            ^
16 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:34:13: warning: passing arguments to 'settrace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    settrace(wl, VF_ACCUM, NULL);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_save(wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:51:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void com_save();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:43:13: warning: passing arguments to 'settrace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    settrace(wl, VF_ACCUM, name);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
com_save2(wl, name)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:57:23: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        s = cp_unquote(wl->wl_word);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:58:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        d = alloc(struct dbcomm);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:71:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    d->db_nodename1 = copy(s);
                                          ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:88:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            d->db_nodename1 = copy(s);
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
settrace(wl, what, name)
^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:19:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
void settrace( );
     ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:118:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tmalloc(sizeof (struct save_info) * count);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:124:37: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                array[i].analysis = (IFuid *) copy(d->db_analysis);
                                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:127:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            array[i++].name = copy(d->db_nodename1);
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/fte//breakp2.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ft_getSaves(savesp)
^
21 warnings and 2 errors generated.
*** Error code 1 (continuing)
`recursive' not remade because of errors.
Making "install" in hlp
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:11:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:11:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:31:44: warning: passing arguments to 'findglobalsubject' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (!(place = findglobalsubject(wl->wl_word))) {
                                           ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:37:33: warning: passing arguments to 'hlp_read' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (!(top = hlp_read(place))) {
                                ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:42:24: warning: passing arguments to 'hlp_provide' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            hlp_provide(top);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:46:40: warning: passing arguments to 'findglobalsubject' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!(place = findglobalsubject("main"))) {
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:50:29: warning: passing arguments to 'hlp_read' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!(top = hlp_read(place))) {
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:54:20: warning: passing arguments to 'hlp_provide' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        hlp_provide(top);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hlp_main(path, wl)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:12:
/Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:122:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void hlp_main();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:75:20: warning: passing arguments to 'findsubject' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        fpos = findsubject(*dict, subject);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:77:32: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            place = (fplace *) tmalloc(sizeof(fplace));
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:79:28: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            place->filename = copy(*dict);
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:80:27: warning: passing arguments to 'hlp_fopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            place->fp = hlp_fopen(*dict);
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
findglobalsubject(subject)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:12:
/Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:125:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern fplace *findglobalsubject();
               ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:95:15: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      if (cieq(*s, filename)) return(true);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hlp_approvedfile(filename)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:12:
/Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:133:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern bool hlp_approvedfile();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:113:15: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      if (cieq(filename, hlp_ftable[i].filename)) {
              ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:123:16: warning: passing arguments to 'hlp_pathfix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    hlp_pathfix(buf);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:102:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
FILE *hlp_fopen(filename)
      ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:12:
/Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:124:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern FILE *hlp_fopen();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:150:22: warning: passing arguments to 'cp_tildexpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    s = cp_tildexpand(buf);
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:173:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(s);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hlp_pathfix(buf)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//help.c:12:
/Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:131:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void hlp_pathfix();
            ^
30 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:15:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:15:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:38:26: warning: passing arguments to 'hlp_xdisplay' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!hlp_xdisplay(top)) {
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:43:26: warning: passing arguments to 'hlp_tdisplay' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!hlp_tdisplay(top)) {
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:55:30: warning: passing arguments to 'hlp_xhandle' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            res = hlp_xhandle(&parent);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:57:30: warning: passing arguments to 'hlp_thandle' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            res = hlp_thandle(&parent);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:60:27: warning: passing arguments to 'hlp_killfamily' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            hlp_killfamily(top);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:68:26: warning: passing arguments to 'hlp_xwait' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                hlp_xwait(parent, true);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:69:36: warning: passing arguments to 'hlp_read' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (!(newtop = hlp_read(res->place))) {
                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:71:26: warning: passing arguments to 'hlp_xwait' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                hlp_xwait(parent, false);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:75:26: warning: passing arguments to 'hlp_xwait' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                hlp_xwait(parent, false);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:82:34: warning: passing arguments to 'hlp_xdisplay' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (!hlp_xdisplay(newtop)) {
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:87:34: warning: passing arguments to 'hlp_tdisplay' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (!hlp_tdisplay(newtop)) {
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:94:27: warning: passing arguments to 'hlp_killfamily' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            hlp_killfamily(parent);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:95:24: warning: passing arguments to 'hlp_fixchildren' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        hlp_fixchildren(parent);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hlp_provide(top)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:16:
/Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void hlp_provide();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hlp_fixchildren(parent)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:16:
/Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:146:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void hlp_fixchildren();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:140:21: warning: passing arguments to 'hlp_xkillwin' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        hlp_xkillwin(top);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:142:21: warning: passing arguments to 'hlp_tkillwin' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        hlp_tkillwin(top);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hlp_killfamily(top)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//provide.c:16:
/Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:145:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void hlp_killfamily();
            ^
26 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:13:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:13:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:56:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    topic *top = alloc(topic);
                 ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:67:29: warning: passing arguments to 'copy_fplace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    top->place = copy_fplace(place);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:70:42: warning: passing arguments to 'hlp_fopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!place->fp) place->fp = hlp_fopen(place->filename);
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:78:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    top->title = copy(&buf[7]);     /* don't copy "TITLE: " */
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:84:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (*buf = '\0' ||
          ~~~~~^~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:84:16: note: place parentheses around the assignment to silence this warning
      if (*buf = '\0' ||
               ^
          (
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:84:16: note: use '==' to turn this assignment into an equality comparison
      if (*buf = '\0' ||
               ^
               ==
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:99:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl = alloc(wordlist);
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:100:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl->wl_word = copy(&buf[6]);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:119:40: warning: passing arguments to 'getsubtoplink' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          if (topiclink = getsubtoplink(&s)) {
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:119:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
          if (topiclink = getsubtoplink(&s)) {
              ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:119:25: note: place parentheses around the assignment to silence this warning
          if (topiclink = getsubtoplink(&s)) {
                        ^
              (                            )
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:119:25: note: use '==' to turn this assignment into an equality comparison
          if (topiclink = getsubtoplink(&s)) {
                        ^
                        ==
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:136:40: warning: passing arguments to 'getsubtoplink' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          if (topiclink = getsubtoplink(&s)) {
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:136:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
          if (topiclink = getsubtoplink(&s)) {
              ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:136:25: note: place parentheses around the assignment to silence this warning
          if (topiclink = getsubtoplink(&s)) {
                        ^
              (                            )
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:136:25: note: use '==' to turn this assignment into an equality comparison
          if (topiclink = getsubtoplink(&s)) {
                        ^
                        ==
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:150:37: warning: passing arguments to 'getsubject' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tl->description = getsubject(tl->place);
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:152:37: warning: passing arguments to 'getsubject' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tl->description = getsubject(tl->place);
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:154:13: warning: passing arguments to 'sortlist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    sortlist(&top->seealso);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hlp_read(place)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:15:
/Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:129:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern topic *hlp_read();
              ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:176:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tl = alloc(toplink);
         ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:177:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (tmp = index(s, ':')) {
        ~~~~^~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:177:13: note: place parentheses around the assignment to silence this warning
    if (tmp = index(s, ':')) {
            ^
        (                  )
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:177:13: note: use '==' to turn this assignment into an equality comparison
    if (tmp = index(s, ':')) {
            ^
            ==
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:178:19: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      tl->place = alloc(fplace);
                  ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:183:17: warning: passing arguments to 'strtolower' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      strtolower(tl->place->filename);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:186:28: warning: passing arguments to 'hlp_approvedfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      if (!hlp_approvedfile(tl->place->filename)) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:187:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(tl->place);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:188:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(tl);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:196:32: warning: passing arguments to 'hlp_fopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      tl->place->fp = hlp_fopen(tl->place->filename);
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:201:36: warning: passing arguments to 'findsubject' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      tl->place->fpos = findsubject(tl->place->filename, subject);
                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:203:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(tl->place);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:204:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(tl);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:215:7: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      tfree(tl->place);
      ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:216:7: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      tfree(tl);
      ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:165:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static toplink *getsubtoplink(ss)
                ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:43:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static toplink *getsubtoplink();
                ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:240:16: warning: passing arguments to 'hlp_pathfix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    hlp_pathfix(buf);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
findsubject(filename, subject)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:15:
/Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:132:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern long findsubject();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:264:42: warning: passing arguments to 'hlp_fopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!place->fp) place->fp = hlp_fopen(place->filename);
                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:272:17: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (copy(&buf[9]));     /* don't copy "SUBJECT: " */
                ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
getsubject(place)
^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:42:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static char *getsubject();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:286:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    vec = (toplink **) tmalloc(sizeof (toplink *) * num);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:294:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tfree(vec);
    ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
sortlist(tlp)
^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:44:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void sortlist(), tlfree();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
sortcmp(tlp1, tlp2)
^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:45:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int sortcmp();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:312:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(top->title);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:313:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(top->place);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:314:16: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl_free(top->text);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:315:15: warning: passing arguments to 'tlfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tlfree(top->subtopics);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:316:15: warning: passing arguments to 'tlfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tlfree(top->seealso);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:317:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(top);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:330:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(tl->description);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:331:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(tl->place->filename);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:332:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(tl->place);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:335:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(tl);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tlfree(tl)
^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:44:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void sortlist(), tlfree();
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:348:30: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    newplace->filename = copy(place->filename);
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
copy_fplace(place)
^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//readhelp.c:49:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static fplace *copy_fplace();
               ^
64 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:37:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    out_printf("\n\t%s\n", top->title);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:39:16: warning: passing arguments to 'putline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        putline(wl->wl_word);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:41:19: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        out_printf("\tSub-Topics:\n\n");
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:42:21: warning: passing arguments to 'putstuff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        i = putstuff(top->subtopics, 0);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:45:19: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        out_printf("\n\tSee Also:\n\n");
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:46:24: warning: passing arguments to 'putstuff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (void) putstuff(top->seealso, i);
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:48:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    out_printf("\n");
              ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hlp_tdisplay(top)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:16:
/Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:164:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern bool hlp_tdisplay();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hlp_thandle(parent)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:16:
/Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:165:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern toplink *hlp_thandle();
                ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hlp_tkillwin(top)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:16:
/Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:166:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void hlp_tkillwin();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:158:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    out_printf("%s\n", buf);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
putline(s)
^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:22:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void putline();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:196:27: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                out_printf("%2d) %-*s ", base + j * nrows + i +
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:203:19: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        out_printf("\n");
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
putstuff(tl, base)
^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//textdisp.c:23:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int putstuff();
           ^
25 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:8:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:8:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:8:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:8:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:117:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    buf = tmalloc(80 * top->numlines + 100);
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:120:15: warning: passing arguments to 'sputline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      sputline(buf, wl->wl_word);
              ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hlp_xdisplay(top)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:9:
/Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:142:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern bool hlp_xdisplay();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:216:28: warning: passing arguments to 'hlp_read' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!(newtop = hlp_read(result->place))) {
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
newtopic(w, client_data, call_data)
^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:22:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
void newtopic(), delete(), quit();
     ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:239:19: warning: passing arguments to 'hlp_killfamily' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    hlp_killfamily(top);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:240:20: warning: passing arguments to 'hlp_fixchildren' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    hlp_fixchildren(top);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
delete(w, client_data, call_data)
^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:22:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
void newtopic(), delete(), quit();
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:252:19: warning: passing arguments to 'hlp_killfamily' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    hlp_killfamily(parent ? parent : top);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
quit(w, client_data, call_data)
^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:22:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
void newtopic(), delete(), quit();
                           ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hlp_xkillwin(top)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:9:
/Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:147:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void hlp_xkillwin();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
sputline(buf, s)
^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//x11disp.c:23:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void sputline();
            ^
23 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/Users/pbulk/build/cad/spice/work/src/include -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw -c /Users/pbulk/build/cad/spice/work/src/lib/hlp//xdisplay.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//xdisplay.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//xdisplay.c:7:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//xdisplay.c:7:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//xdisplay.c:7:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//xdisplay.c:587:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/* ARGSUSED */ void hlp_xwait(top, on) topic *top; bool on; { }
                    ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//xdisplay.c:8:
/Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:148:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void hlp_xwait();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/hlp//xdisplay.c:589:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
toplink * hlp_xhandle(pp) topic **pp; { *pp = NULL; return (NULL); }
          ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/hlp//xdisplay.c:8:
/Users/pbulk/build/cad/spice/work/src/include/hlpdefs.h:144:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern toplink *hlp_xhandle();
                ^
9 warnings and 2 errors generated.
*** Error code 1 (continuing)
`recursive' not remade because of errors.
Making "install" in inp
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c:9:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: conflicting prototype is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc'
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: conflicting prototype is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc'
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: conflicting prototype is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc'
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here
extern char *realloc();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c:13:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
IFnewUid(ckt,newuid,olduid,suffix,type,nodedata) 
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c:30:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                MALLOC(sizeof(char)*(strlen(suffix)+strlen((char*)olduid)+2));
                ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c:34:25: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        newname=(char *)MALLOC(sizeof(char)*
                        ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
IFdelUid(ckt,uid,type) 
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//ifnewuid.c:83:21: warning: call to undeclared function 'INPremTerm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            error = INPremTerm(uid, (INPtables *)ft_curckt->ci_symtab);
                    ^
17 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2b.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2b.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2b.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2b.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2b.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2b.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2b.c:11:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2b.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INP2B(ckt,tab,current)
^
7 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2c.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2c.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2c.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2c.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2c.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2c.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2c.c:11:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2c.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INP2C(ckt,tab,current)
^
7 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2d.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2d.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2d.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2d.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2d.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2d.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2d.c:11:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2d.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INP2D(ckt,tab,current)
^
7 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:11:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:12:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:12:
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:12:
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:12:
/Users/pbulk/build/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void free();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INP2dot(ckt,tab,current,task,gnode)
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:99:26: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast]
            if( *name == (char)NULL) break; /* end of line */
                         ^~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:384:25: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        MALLOC(sizeof(char)*(5+strlen(nname1)+strlen(nname2)));
                        ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:390:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ptemp.sValue = (char *)MALLOC(sizeof(char)*(4+strlen(nname1)));
                                       ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:504:25: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        MALLOC(sizeof(char)*(5+strlen(nname1)+strlen(nname2)));
                        ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2dot.c:510:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ptemp.sValue = (char *)MALLOC(sizeof(char)*(4+strlen(nname1)));
                                       ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
16 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2e.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2e.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2e.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2e.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2e.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2e.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2e.c:11:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2e.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INP2E(ckt,tab,current)
^
7 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2f.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2f.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2f.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2f.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2f.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2f.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2f.c:11:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2f.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INP2F(ckt,tab,current)
^
7 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2g.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2g.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2g.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2g.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2g.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2g.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2g.c:11:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2g.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INP2G(ckt,tab,current)
^
7 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2h.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2h.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2h.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2h.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2h.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2h.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2h.c:11:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2h.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INP2H(ckt,tab,current)
^
7 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2i.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2i.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2i.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2i.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2i.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2i.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2i.c:11:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2i.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INP2I(ckt,tab,current)
^
7 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2j.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2j.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2j.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2j.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2j.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2j.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2j.c:11:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2j.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INP2J(ckt,tab,current)
^
7 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2k.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2k.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2k.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2k.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2k.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2k.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2k.c:11:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2k.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INP2K(ckt,tab,current)
^
7 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2l.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2l.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2l.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2l.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2l.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2l.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2l.c:11:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2l.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INP2L(ckt,tab,current)
^
7 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2m.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2m.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2m.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2m.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2m.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2m.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2m.c:11:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2m.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INP2M(ckt,tab,current)
^
7 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2o.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2o.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2o.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2o.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2o.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2o.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2o.c:11:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2o.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INP2O(ckt,tab,current)
^
7 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2q.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2q.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2q.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2q.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2q.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2q.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2q.c:11:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2q.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INP2Q(ckt,tab,current,gnode)
^
7 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2r.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2r.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2r.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2r.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2r.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2r.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2r.c:11:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2r.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INP2R(ckt,tab,current)
^
7 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2s.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2s.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2s.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2s.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2s.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2s.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2s.c:11:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2s.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INP2S(ckt,tab,current)
^
7 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2t.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2t.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2t.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2t.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2t.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2t.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2t.c:11:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2t.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INP2T(ckt,tab,current)
^
7 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2u.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2u.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2u.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2u.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2u.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2u.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2u.c:11:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2u.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INP2U(ckt,tab,current)
^
7 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2v.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2v.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2v.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2v.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2v.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2v.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2v.c:11:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2v.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INP2V(ckt,tab,current)
^
7 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2w.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2w.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2w.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2w.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2w.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2w.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2w.c:11:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2w.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INP2W(ckt,tab,current)
^
7 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2z.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2z.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2z.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2z.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2z.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2z.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteext.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/fteparse.h:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedata.h:12:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inp2z.c:11:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inp2z.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INP2Z(ckt,tab,current)
^
7 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpaname.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpaname.c:16:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: conflicting prototype is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc'
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: conflicting prototype is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc'
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: conflicting prototype is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc'
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here
extern char *realloc();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpaname.c:17:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpaname.c:17:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpaname.c:17:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpaname.c:17:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpaname.c:17:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpaname.c:18:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpaname.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INPaName(parm,val,ckt,dev,devnam,fast,sim,dataType,selector)
^
13 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpapnam.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpapnam.c:9:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: conflicting prototype is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc'
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: conflicting prototype is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc'
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: conflicting prototype is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc'
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here
extern char *realloc();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpapnam.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpapnam.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpapnam.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpapnam.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpapnam.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpapnam.c:12:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpapnam.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INPapName(ckt,type,analPtr,parmname,value)
^
13 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdoopt.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdoopt.c:16:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: conflicting prototype is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc'
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: conflicting prototype is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc'
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: conflicting prototype is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc'
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here
extern char *realloc();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdoopt.c:17:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdoopt.c:17:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdoopt.c:17:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdoopt.c:17:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdoopt.c:17:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdoopt.c:18:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpdoopt.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INPdoOpts(ckt,anal,optCard,tab)
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpdoopt.c:59:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    errmsg = (char *)MALLOC((45+strlen(token)) * sizeof(char));
                                     ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpdoopt.c:73:41: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        errmsg =(char *)MALLOC((35+strlen(token))*sizeof(char));
                                        ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpdoopt.c:83:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            errmsg = (char *)MALLOC(100 * sizeof(char));
                             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
16 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdpar.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdpar.c:16:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: conflicting prototype is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc'
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: conflicting prototype is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc'
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: conflicting prototype is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc'
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here
extern char *realloc();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdpar.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdpar.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdpar.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdpar.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdpar.c:20:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpdpar.c:21:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpdpar.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INPdevParse(line,ckt,dev,fast,leading,waslead,tab)
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpdpar.c:68:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            errbuf = MALLOC(strlen(parm)+25);
                     ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
14 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpfindl.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpfindl.c:12:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpfindl.c:12:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpfindl.c:16:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpfindl.c:16:
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpfindl.c:16:
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpfindl.c:16:
/Users/pbulk/build/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void free();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpfindl.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INPfindLev(line,level)
^
9 warnings and 4 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgmod.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgmod.c:9:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: conflicting prototype is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc'
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: conflicting prototype is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc'
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: conflicting prototype is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc'
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here
extern char *realloc();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgmod.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgmod.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgmod.c:11:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgmod.c:11:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgmod.c:11:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgmod.c:12:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpgmod.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INPgetMod(ckt,name,model,tab)
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpgmod.c:41:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                err = (char *)MALLOC((35+strlen(name)) * sizeof(char));
                              ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpgmod.c:82:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        temp = (char *)MALLOC((40+strlen(parm)) * sizeof(char));
                                       ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpgmod.c:98:19: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    err = (char *)MALLOC((60+strlen(name)) * sizeof(char));
                  ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
16 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtitl.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtitl.c:13:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: conflicting prototype is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc'
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: conflicting prototype is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc'
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: conflicting prototype is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc'
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here
extern char *realloc();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtitl.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtitl.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtitl.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtitl.c:16:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtitl.c:16:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtitl.c:17:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtitl.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INPgetTitle(ckt,data)
^
13 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtok.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtok.c:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtok.c:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtok.c:18:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtok.c:18:
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtok.c:18:
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtok.c:18:
/Users/pbulk/build/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void free();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtok.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INPgetTok(line,token,gobble)
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtok.c:54:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    *token=(char *)MALLOC(1+point-*line);
                   ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtok.c:148:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    *token=(char *)MALLOC(1+point-*line);
                   ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpgtok.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INPgetUTok(line,token,gobble)
^
12 warnings and 4 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inppas2.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppas2.c:10:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppas2.c:10:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppas2.c:10:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppas2.c:10:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppas2.c:11:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppas2.c:14:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppas2.c:14:
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppas2.c:14:
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppas2.c:14:
/Users/pbulk/build/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void free();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inppas2.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INPpas2(ckt,data,tab,task) 
^
11 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inppname.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppname.c:14:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: conflicting prototype is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: error: conflicting types for 'malloc'
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: note: previous declaration is here
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: conflicting prototype is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: error: conflicting types for 'calloc'
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: note: previous declaration is here
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: conflicting prototype is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: error: conflicting types for 'realloc'
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: note: previous declaration is here
extern char *realloc();
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppname.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppname.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppname.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppname.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppname.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inppname.c:16:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inppname.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INPpName(parm,val,ckt,dev,fast)
^
13 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:7:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:7:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:15:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:15:
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:15:
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:15:
/Users/pbulk/build/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void free();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INPgetTree(line, pt, ckt, tab)
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:115:16: warning: passing arguments to 'PTparse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    p = PTparse(line);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:117:23: warning: passing arguments to 'PTcheck' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!p || !PTcheck(p)) {
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:122:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (*pt) = (INPparseTree *) MALLOC(sizeof (INPparseTree));
                             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:131:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            MALLOC(numvalues * sizeof (INPparseNode *));
            ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:134:43: warning: passing arguments to 'PTdifferentiate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        (*pt)->derivs[i] = PTdifferentiate(p, i);
                                          ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:159:21: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        newp = mkcon((double) 0);
                    ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:165:25: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            newp = mkcon((double) 1);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:167:25: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            newp = mkcon((double) 0);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:174:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            newp = mkb(p->type, arg1, arg2);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:182:32: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        newp = mkb(PT_PLUS, mkb(PT_TIMES, arg1, p->right),
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:183:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkb(PT_TIMES, p->left, arg2));
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:182:19: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        newp = mkb(PT_PLUS, mkb(PT_TIMES, arg1, p->right),
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:191:48: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        newp = mkb(PT_DIVIDE, mkb(PT_MINUS, mkb(PT_TIMES, arg1,
                                               ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:192:31: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                p->right), mkb(PT_TIMES, p->left, arg2)),
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:191:34: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        newp = mkb(PT_DIVIDE, mkb(PT_MINUS, mkb(PT_TIMES, arg1,
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:193:46: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                mkb(PT_POWER, p->right, mkcon((double) 2)));
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:193:20: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                mkb(PT_POWER, p->right, mkcon((double) 2)));
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:191:19: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        newp = mkb(PT_DIVIDE, mkb(PT_MINUS, mkb(PT_TIMES, arg1,
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:204:26: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkcon(p->right->constant),
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:206:26: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkcon(p->right->constant - 1))),
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:205:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkb(PT_POWER, p->left,
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:203:37: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            newp = mkb(PT_TIMES, mkb(PT_TIMES,
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:203:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            newp = mkb(PT_TIMES, mkb(PT_TIMES,
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:215:34: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    p->right, mkf(PTF_LN, p->left))),
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:214:50: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            newp = mkb(PT_TIMES, mkf(PTF_EXP, mkb(PT_TIMES,
                                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:214:37: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            newp = mkb(PT_TIMES, mkf(PTF_EXP, mkb(PT_TIMES,
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:217:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkb(PT_DIVIDE, arg1, p->left)),
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:216:37: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkb(PT_PLUS, mkb(PT_TIMES, p->right,
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:219:24: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkf(PTF_LN, arg1))));
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:218:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkb(PT_TIMES, arg2,
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:216:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkb(PT_PLUS, mkb(PT_TIMES, p->right,
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:214:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            newp = mkb(PT_TIMES, mkf(PTF_EXP, mkb(PT_TIMES,
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:230:23: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkf(PTF_SGN, p->left, 0);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:234:25: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkcon((double) 0.0);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:238:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) -1), mkf(PTF_SQRT,
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:239:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkb(PT_MINUS, mkcon((double) 1),
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:240:49: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkb(PT_POWER, p->left, mkcon((double)
                                                ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:240:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkb(PT_POWER, p->left, mkcon((double)
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:239:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkb(PT_MINUS, mkcon((double) 1),
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:238:58: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) -1), mkf(PTF_SQRT,
                                                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:238:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) -1), mkf(PTF_SQRT,
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:245:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT,
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:247:26: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkcon((double) 2)),
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:246:38: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkb(PT_MINUS, mkb(PT_POWER, p->left,
                                     ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:248:26: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkcon((double) 1))));
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:246:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkb(PT_MINUS, mkb(PT_POWER, p->left,
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:245:57: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT,
                                                        ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:245:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT,
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:253:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT,
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:254:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkb(PT_MINUS, mkcon((double) 1),
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:255:49: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkb(PT_POWER, p->left, mkcon((double)
                                                ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:255:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkb(PT_POWER, p->left, mkcon((double)
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:254:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkb(PT_MINUS, mkcon((double) 1),
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:253:57: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT,
                                                        ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:253:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT,
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:260:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT,
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:262:26: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkcon((double) 2)),
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:261:37: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkb(PT_PLUS, mkb(PT_POWER, p->left,
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:263:26: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkcon((double) 1))));
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:261:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkb(PT_PLUS, mkb(PT_POWER, p->left,
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:260:57: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT,
                                                        ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:260:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT,
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:267:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_PLUS,
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:268:49: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkb(PT_POWER, p->left, mkcon((double)
                                                ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:268:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkb(PT_POWER, p->left, mkcon((double)
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:269:31: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    2)), mkcon((double) 1)));
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:267:57: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_PLUS,
                                                        ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:267:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_PLUS,
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:273:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_MINUS,
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:274:26: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkcon((double) 1), mkb(PT_POWER,
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:275:35: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    p->left, mkcon((double) 2))));
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:274:43: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkcon((double) 1), mkb(PT_POWER,
                                          ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:273:57: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_MINUS,
                                                        ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:273:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_MINUS,
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:279:39: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkf(PTF_UMINUS, mkf(PTF_SIN, p->left));
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:279:23: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkf(PTF_UMINUS, mkf(PTF_SIN, p->left));
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:283:23: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkf(PTF_SINH, p->left);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:287:23: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkf(PTF_EXP, p->left, 0);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:291:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) 1), p->left);
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:291:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) 1), p->left);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:295:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) M_LOG10E), p->left);
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:295:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) M_LOG10E), p->left);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:299:23: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkf(PTF_COS, p->left);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:303:23: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkf(PTF_COSH, p->left);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:307:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_TIMES,
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:308:26: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkcon((double) 2), mkf(PTF_SQRT,
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:308:43: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkcon((double) 2), mkf(PTF_SQRT,
                                          ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:307:57: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_TIMES,
                                                        ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:307:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_TIMES,
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:313:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_POWER,
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:314:24: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkf(PTF_COS, p->left), mkcon((double)
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:314:49: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkf(PTF_COS, p->left), mkcon((double)
                                                ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:313:57: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_POWER,
                                                        ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:313:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_POWER,
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:319:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_POWER,
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:320:24: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkf(PTF_COSH, p->left), mkcon((double)
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:320:50: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    mkf(PTF_COSH, p->left), mkcon((double)
                                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:319:57: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_POWER,
                                                        ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:319:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_POWER,
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:325:25: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkcon((double) 0.0);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:329:16: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkf(PTF_USTEP, p->left);
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:333:25: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            arg1 = mkcon((double) - 1.0);
                        ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:345:19: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        newp = mkb(PT_TIMES, arg1, arg2);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
PTdifferentiate(p, varnum)
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:24:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static INPparseNode *PTdifferentiate();
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:363:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    INPparseNode *p = (INPparseNode *) MALLOC(sizeof (INPparseNode));
                                       ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkcon(value)
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:25:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static INPparseNode *mkcon(), *mkb(), *mkf();
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:376:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    INPparseNode *p = (INPparseNode *) MALLOC(sizeof (INPparseNode));
                                       ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:427:24: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            return (mkf(PTF_UMINUS, right));
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkb(type, left, right)
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:25:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static INPparseNode *mkcon(), *mkb(), *mkf();
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:462:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    INPparseNode *p = (INPparseNode *) MALLOC(sizeof (INPparseNode));
                                       ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:475:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        constval = ((*funcs[i].funcptr) (arg->constant));
                                        ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkf(type, arg)
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:25:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static INPparseNode *mkcon(), *mkb(), *mkf();
                                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
PTcheck(p)
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:30:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static int PTcheck();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:554:19: warning: passing arguments to 'PTlexer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    next = PTlexer(line);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:574:27: warning: passing arguments to 'PTlexer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            next = PTlexer(line);
                          ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:612:31: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                pn = makepnode(&stack[st]);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:617:32: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                lpn = makepnode(&stack[st]);
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:620:29: warning: passing arguments to 'mkfnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                pn = mkfnode("-", lpn);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:623:31: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                pn = makepnode(&stack[sp + 1]);
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:628:32: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                lpn = makepnode(&stack[sp + 2]);
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:631:35: warning: passing arguments to 'mkfnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (!(pn = mkfnode(stack[sp].value.string, lpn)))
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:634:32: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                lpn = makepnode(&stack[sp]);
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:635:32: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                rpn = makepnode(&stack[st]);
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:638:29: warning: passing arguments to 'mkbnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                pn = mkbnode(stack[sp + 1].token, lpn, rpn);
                            ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:646:19: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pn = makepnode(&stack[1]);
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
PTparse(line)
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:26:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static INPparseNode *PTparse();
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:668:24: warning: passing arguments to 'mksnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        return (mksnode(elem->value.string));
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:671:24: warning: passing arguments to 'mknnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        return (mknnode(elem->value.real));
                       ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
makepnode(elem)
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:27:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static INPparseNode *makepnode(), *mkbnode(), *mkfnode();
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:701:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    p = (INPparseNode *) MALLOC(sizeof (INPparseNode));
                         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:685:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkbnode(opnum, arg1, arg2)
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:27:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static INPparseNode *makepnode(), *mkbnode(), *mkfnode();
                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:728:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    p = (INPparseNode *) MALLOC(sizeof (INPparseNode));
                         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:731:16: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        name = MALLOC(128);
               ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:755:6: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            REALLOC((char *) values, (numvalues + 1) * sizeof (IFvalue));
            ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC'
#define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y))
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:757:6: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            REALLOC((char *) types, (numvalues + 1) * sizeof (int));
            ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC'
#define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y))
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:759:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    values = (IFvalue *) MALLOC(sizeof (IFvalue));
                                         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:760:23: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    types = (int *) MALLOC(sizeof (int));
                                    ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:770:16: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        name = MALLOC(128);
               ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:788:9: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        REALLOC((char *) values, (numvalues + 1) * sizeof (IFvalue));
        ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC'
#define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y))
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:790:9: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        REALLOC((char *) types, (numvalues + 1) * sizeof (int));
        ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC'
#define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y))
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:792:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                values = (IFvalue *) MALLOC(sizeof (IFvalue));
                                     ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:793:33: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                types = (int *) MALLOC(sizeof (int));
                                ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mkfnode(fname, arg)
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:27:48: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static INPparseNode *makepnode(), *mkbnode(), *mkfnode();
                                               ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:829:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    p = (INPparseNode *) MALLOC(sizeof (INPparseNode));
                         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mknnode(number)
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:28:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static INPparseNode *mknnode(), *mksnode();
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:853:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    p = (INPparseNode *) MALLOC(sizeof (INPparseNode));
                         ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:867:9: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        REALLOC((char *) values, (numvalues + 1) * sizeof (IFvalue));
        ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC'
#define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y))
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:869:9: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        REALLOC((char *) types, (numvalues + 1) * sizeof (int));
        ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:12:30: note: expanded from macro 'REALLOC'
#define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y))
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:871:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                values = (IFvalue *) MALLOC(sizeof (IFvalue));
                                     ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:872:33: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                types = (int *) MALLOC(sizeof (int));
                                ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:874:32: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            values[i].sValue = MALLOC(strlen(buf) + 1);
                               ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
mksnode(string)
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:28:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static INPparseNode *mknnode(), *mksnode();
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:991:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            el.value.string = MALLOC(s - sbuf + 1);
                              ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
PTlexer(line)
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpptree.c:29:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static PTelement *PTlexer();
                  ^
175 warnings and 4 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:16:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:16:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:17:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:18:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:18:
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:18:
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:18:
/Users/pbulk/build/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void free();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INPtabInit(numlines)
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:36:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tab = (INPtables *)tmalloc(sizeof(INPtables));
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:37:48: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tab->INPsymtab = (struct INPtab **) tmalloc((numlines / 4 + 1) * 
                                               ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:40:53: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    tab->INPtermsymtab = (struct INPnTab **) tmalloc(numlines * 
                                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INPtermInsert(ckt,token,tab,node)
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:71:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        t = (struct INPnTab *) tmalloc(sizeof (struct INPnTab));
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INPmkTerm(ckt,token,tab,node)
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:107:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        t = (struct INPnTab *) tmalloc(sizeof (struct INPnTab));
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INPgndInsert(ckt,token,tab,node)
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:139:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        t = (struct INPnTab *) tmalloc(sizeof (struct INPnTab));
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INPinsert(token,tab)
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:169:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        t = (struct INPtab *) tmalloc(sizeof (struct INPtab));
                                     ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INPremove(token,tab)
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:195:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(t->t_ent);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:196:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(t);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:218:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(t->t_ent);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:219:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tfree(t);
        ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:39:25: note: expanded from macro 'tfree'
#define tfree(x)        (txfree(x), x = 0)
                               ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INPremTerm(token,tab)
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INPtabEnd(tab)
^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpsymt.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hash(name, tsize)
^
30 warnings and 5 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inptyplk.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inptyplk.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inptyplk.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inptyplk.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inptyplk.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inptyplk.c:14:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/lib/inp//inptyplk.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INPtypelook(type)
^
7 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgstr.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgstr.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgstr.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgstr.c:13:
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *malloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:21:14: error: conflicting types for 'malloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:40:7: note: previous declaration is here
void    *malloc(size_t __size) __result_use_check __alloc_size(1);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgstr.c:13:
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *calloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:22:14: error: conflicting types for 'calloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:41:7: note: previous declaration is here
void    *calloc(size_t __count, size_t __size) __result_use_check __alloc_size(1,2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgstr.c:13:
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *realloc();
             ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:23:14: error: conflicting types for 'realloc'
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/malloc/_malloc.h:43:7: note: previous declaration is here
void    *realloc(void *__ptr, size_t __size) __result_use_check __alloc_size(2);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/inp//inpgstr.c:13:
/Users/pbulk/build/cad/spice/work/src/include/util.h:24:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void free();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpgstr.c:58:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  *token = (char *) MALLOC(1 + point - *line);
                    ^
/Users/pbulk/build/cad/spice/work/src/include/util.h:10:26: note: expanded from macro 'MALLOC'
#define MALLOC(x) tmalloc((unsigned)(x))
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/inp//inpgstr.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
INPgetStr(line, token, gobble)
^
10 warnings and 4 errors generated.
*** Error code 1 (continuing)
`recursive' not remade because of errors.
Making "install" in mfb
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:23:
/Users/pbulk/build/cad/spice/work/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations]
extern struct err {
^
/Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:28:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void ftime();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/timeb.h:91:9: note: conflicting prototype is here
int     ftime(struct timeb *);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:28:13: error: conflicting types for 'ftime'
extern void ftime();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/timeb.h:91:9: note: previous declaration is here
int     ftime(struct timeb *);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:129:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (c = *cp++) {
           ~~^~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:129:14: note: place parentheses around the assignment to silence this warning
    while (c = *cp++) {
             ^
           (        )
/Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:129:14: note: use '==' to turn this assignment into an equality comparison
    while (c = *cp++) {
             ^
             ==
/Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:140:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            (*MFBCurrent->outstr)(result,i);
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:226:31: warning: passing arguments to 'hexadec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
               *dp++ = hexadec(which>>(i*4));
                              ^
/Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:235:26: warning: passing arguments to 'octal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            *dp++ = octal(which>>(i*3));
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:411:17: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        which = abs(which);
                ^
/Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:411:17: note: include the header <stdlib.h> or explicitly provide a declaration for 'abs'
/Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:442:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (*MFBCurrent->outstr)(result,i);
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:448:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
char hexadec(num)
     ^
/Users/pbulk/build/cad/spice/work/src/lib/mfb//mfbgnc.c:463:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
char octal(num)
     ^
10 warnings and 1 error generated.
*** Error code 1 (continuing)
`recursive' not remade because of errors.
Making "install" in misc
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/misc//alloc.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//alloc.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//alloc.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//alloc.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Users/pbulk/build/cad/spice/work/src/lib/misc//alloc.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tmalloc(num)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//alloc.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:35:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *tmalloc();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/misc//alloc.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
trealloc(str, num)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//alloc.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:36:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *trealloc();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/misc//alloc.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
txfree(ptr)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//alloc.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:37:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void txfree();
            ^
10 warnings and 1 error generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/misc//dos_dirs.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//dos_dirs.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//dos_dirs.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//dos_dirs.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
4 warnings and 1 error generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/misc//math.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//math.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//math.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//math.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
4 warnings and 1 error generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/misc//mktemp.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//mktemp.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//mktemp.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//mktemp.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Users/pbulk/build/cad/spice/work/src/lib/misc//mktemp.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
smktemp(id)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//mktemp.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:58:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *smktemp();
             ^
6 warnings and 1 error generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
prefix(p, s)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:47:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int prefix();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:34:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (p = tmalloc(strlen(str) + 1))
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:34:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (p = tmalloc(strlen(str) + 1))
        ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:34:11: note: place parentheses around the assignment to silence this warning
    if (p = tmalloc(strlen(str) + 1))
          ^
        (                           )
/Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:34:11: note: use '==' to turn this assignment into an equality comparison
    if (p = tmalloc(strlen(str) + 1))
          ^
          ==
/Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
copy(str)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:43:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *copy();
             ^
/Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
substring(sub, str)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:51:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int substring();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
appendc(s, c)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:45:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void appendc();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
scannum(str)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:46:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int scannum();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cieq(p, s)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:49:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int cieq();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ciprefix(p, s)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:48:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int ciprefix();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
strtolower(str)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:50:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void strtolower();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gettok(s)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//string.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:44:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *gettok();
             ^
24 warnings and 1 error generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/misc//tilde.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//tilde.c:7:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//tilde.c:7:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
/Users/pbulk/build/cad/spice/work/src/lib/misc//tilde.c:34:20: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        return copy(string);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/misc//tilde.c:39:23: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        pw = getpwuid(getuid());
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/misc//tilde.c:56:16: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return copy(buf);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/misc//tilde.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
tilde_expand(string)
^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//tilde.c:7:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:52:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *tilde_expand( );
             ^
9 warnings and 1 error generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/misc//time.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//time.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//time.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/misc//time.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
4 warnings and 1 error generated.
*** Error code 1 (continuing)
`recursive' not remade because of errors.
Making "install" in ni
	 Done with work/src/lib/ni
Making "install" in sparse
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:73:
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:73:
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:73:
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spCreate( Size, Complex, pError )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:171:19: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if ((Matrix = ALLOC(struct MatrixFrame, 1)) == NULL)
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC'
#define ALLOC(type,number)  ((type *)tmalloc((unsigned)(sizeof(type)*(number))))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:232:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    CALLOC( Matrix->Diag, ElementPtr, SizePlusOne);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:431:18: note: expanded from macro 'CALLOC'
{   int i; ptr = ALLOC(type, number);                   \
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC'
#define ALLOC(type,number)  ((type *)tmalloc((unsigned)(sizeof(type)*(number))))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:237:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    CALLOC( Matrix->FirstInCol, ElementPtr, SizePlusOne);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:431:18: note: expanded from macro 'CALLOC'
{   int i; ptr = ALLOC(type, number);                   \
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC'
#define ALLOC(type,number)  ((type *)tmalloc((unsigned)(sizeof(type)*(number))))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:242:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    CALLOC( Matrix->FirstInRow, ElementPtr, SizePlusOne);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:431:18: note: expanded from macro 'CALLOC'
{   int i; ptr = ALLOC(type, number);                   \
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC'
#define ALLOC(type,number)  ((type *)tmalloc((unsigned)(sizeof(type)*(number))))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:247:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (( Matrix->IntToExtColMap = ALLOC(int, SizePlusOne)) == NULL)
                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC'
#define ALLOC(type,number)  ((type *)tmalloc((unsigned)(sizeof(type)*(number))))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:251:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (( Matrix->IntToExtRowMap = ALLOC(int, SizePlusOne)) == NULL)
                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC'
#define ALLOC(type,number)  ((type *)tmalloc((unsigned)(sizeof(type)*(number))))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:262:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (( Matrix->ExtToIntColMap = ALLOC(int, SizePlusOne)) == NULL)
                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC'
#define ALLOC(type,number)  ((type *)tmalloc((unsigned)(sizeof(type)*(number))))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:266:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (( Matrix->ExtToIntRowMap = ALLOC(int, SizePlusOne)) == NULL)
                                   ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC'
#define ALLOC(type,number)  ((type *)tmalloc((unsigned)(sizeof(type)*(number))))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spcGetElement( Matrix )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:337:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    {   pElement = ALLOC(struct MatrixElement, ELEMENTS_PER_ALLOCATION);
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC'
#define ALLOC(type,number)  ((type *)tmalloc((unsigned)(sizeof(type)*(number))))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
InitializeElementBlocks( Matrix, InitialNumberOfElements,
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:399:16: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pElement = ALLOC(struct MatrixElement, InitialNumberOfElements);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC'
#define ALLOC(type,number)  ((type *)tmalloc((unsigned)(sizeof(type)*(number))))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:406:16: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pElement = ALLOC(struct MatrixElement, NumberOfFillinsExpected);
               ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC'
#define ALLOC(type,number)  ((type *)tmalloc((unsigned)(sizeof(type)*(number))))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:413:35: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    Matrix->FirstFillinListNode = ALLOC(struct FillinListNodeStruct,1);
                                  ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC'
#define ALLOC(type,number)  ((type *)tmalloc((unsigned)(sizeof(type)*(number))))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spcGetFillin( Matrix )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
RecordAllocation( Matrix, AllocatedPtr )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:550:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        {   FREE(AllocatedPtr);
            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
AllocateBlockOfAllocationList( Matrix )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:597:15: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    ListPtr = ALLOC(struct AllocationRecord, (ELEMENTS_PER_ALLOCATION+1));
              ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC'
#define ALLOC(type,number)  ((type *)tmalloc((unsigned)(sizeof(type)*(number))))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spDestroy( eMatrix )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:661:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    FREE( Matrix->IntToExtColMap );
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:662:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    FREE( Matrix->IntToExtRowMap );
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:663:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    FREE( Matrix->ExtToIntColMap );
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:664:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    FREE( Matrix->ExtToIntRowMap );
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:665:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    FREE( Matrix->Diag );
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:666:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    FREE( Matrix->FirstInRow );
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:667:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    FREE( Matrix->FirstInCol );
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:668:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    FREE( Matrix->MarkowitzRow );
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:669:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    FREE( Matrix->MarkowitzCol );
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:670:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    FREE( Matrix->MarkowitzProd );
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:671:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    FREE( Matrix->DoCmplxDirect );
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:672:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    FREE( Matrix->DoRealDirect );
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:673:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    FREE( Matrix->Intermediate );
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:682:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            FREE( ListPtr );
            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:686:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            FREE( ListPtr->AllocatedPtr );
            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spError( eMatrix )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spWhereSingular( eMatrix, pRow, pCol )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spGetSize( eMatrix, External )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spSetReal( eMatrix )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spSetComplex( eMatrix )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:873:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spFillinCount( eMatrix )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spalloc.c:885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spElementCount( eMatrix )
^
47 warnings and 1 error generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:72:
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:72:
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:72:
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spClear( eMatrix )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spGetElement( eMatrix, Row, Col )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:213:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
ElementPtr spcFindElementInCol();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:872:19: note: conflicting prototype is here
extern ElementPtr spcFindElementInCol( MatrixPtr, ElementPtr*, int, int, int );
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:214:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
void  Translate();
      ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:83:13: note: conflicting prototype is here
static void Translate( MatrixPtr, int*, int* );
            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spcFindElementInCol( Matrix, LastAddr, Row, Col, CreateIfMissing )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:321:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
ElementPtr  spcCreateElement();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:873:19: note: conflicting prototype is here
extern ElementPtr spcCreateElement( MatrixPtr, int, int, ElementPtr*, int );
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Translate( Matrix, Row, Col )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spcCreateElement( Matrix, Row, Col, LastAddr, Fillin )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:744:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
ElementPtr  pCreatedElement, spcGetElement(), spcGetFillin();
                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:870:19: note: conflicting prototype is here
extern ElementPtr spcGetElement( MatrixPtr );
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:744:47: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
ElementPtr  pCreatedElement, spcGetElement(), spcGetFillin();
                                              ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:871:19: note: conflicting prototype is here
extern ElementPtr spcGetFillin( MatrixPtr );
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:882:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spcLinkRows( Matrix )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
EnlargeMatrix( Matrix, NewSize )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:950:11: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (( REALLOC(Matrix->IntToExtColMap, int, NewSize+1)) == NULL)
          ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC'
           ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number)))
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:954:11: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (( REALLOC(Matrix->IntToExtRowMap, int, NewSize+1)) == NULL)
          ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC'
           ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number)))
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:958:11: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (( REALLOC(Matrix->Diag, ElementPtr, NewSize+1)) == NULL)
          ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC'
           ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number)))
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:962:11: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (( REALLOC(Matrix->FirstInCol, ElementPtr, NewSize+1)) == NULL)
          ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC'
           ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number)))
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:966:11: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (( REALLOC(Matrix->FirstInRow, ElementPtr, NewSize+1)) == NULL)
          ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC'
           ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number)))
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:975:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    FREE( Matrix->MarkowitzRow );
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:976:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    FREE( Matrix->MarkowitzCol );
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:977:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    FREE( Matrix->MarkowitzProd );
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:978:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    FREE( Matrix->DoRealDirect );
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:979:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    FREE( Matrix->DoCmplxDirect );
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:980:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    FREE( Matrix->Intermediate );
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:1022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ExpandTranslationArrays( Matrix, NewSize )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:1039:11: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (( REALLOC(Matrix->ExtToIntRowMap, int, NewSize+1)) == NULL)
          ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC'
           ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number)))
                                 ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spbuild.c:1043:11: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (( REALLOC(Matrix->ExtToIntColMap, int, NewSize+1)) == NULL)
          ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC'
           ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number)))
                                 ^
30 warnings and 1 error generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:71:
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:71:
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:71:
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spOrderAndFactor( eMatrix, RHS, RelThreshold, AbsThreshold, DiagPivoting )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:235:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
ElementPtr SearchForPivot();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:85:19: note: conflicting prototype is here
static ElementPtr SearchForPivot( MatrixPtr, int, int );
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:236:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
RealNumber LargestInCol, FindLargestInCol();
                         ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:90:19: note: conflicting prototype is here
static RealNumber FindLargestInCol( ElementPtr );
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spFactor( eMatrix )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
FactorComplexMatrix( Matrix )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spPartition( eMatrix, Mode )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spcCreateInternalVectors( Matrix )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:787:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    {   if (( Matrix->MarkowitzRow = ALLOC(int, Size+1)) == NULL)
                                     ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC'
#define ALLOC(type,number)  ((type *)tmalloc((unsigned)(sizeof(type)*(number))))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:791:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    {   if (( Matrix->MarkowitzCol = ALLOC(int, Size+1)) == NULL)
                                     ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC'
#define ALLOC(type,number)  ((type *)tmalloc((unsigned)(sizeof(type)*(number))))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:795:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    {   if (( Matrix->MarkowitzProd = ALLOC(long, Size+2)) == NULL)
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC'
#define ALLOC(type,number)  ((type *)tmalloc((unsigned)(sizeof(type)*(number))))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:802:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    {   if (( Matrix->DoRealDirect = ALLOC(BOOLEAN, Size+1)) == NULL)
                                     ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC'
#define ALLOC(type,number)  ((type *)tmalloc((unsigned)(sizeof(type)*(number))))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:808:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    {   if (( Matrix->DoCmplxDirect = ALLOC(BOOLEAN, Size+1)) == NULL)
                                      ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC'
#define ALLOC(type,number)  ((type *)tmalloc((unsigned)(sizeof(type)*(number))))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:816:37: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    {   if ((Matrix->Intermediate = ALLOC(RealNumber,2*(Size+1))) == NULL)
                                    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC'
#define ALLOC(type,number)  ((type *)tmalloc((unsigned)(sizeof(type)*(number))))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
CountMarkowitz( Matrix, RHS, Step )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:975:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
MarkowitzProducts( Matrix, Step )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1062:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SearchForPivot( Matrix, Step, DiagPivoting )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1068:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
ElementPtr  SearchForSingleton();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:86:19: note: conflicting prototype is here
static ElementPtr SearchForSingleton( MatrixPtr, int );
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1069:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
ElementPtr  QuicklySearchDiagonal();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:87:19: note: conflicting prototype is here
static ElementPtr QuicklySearchDiagonal( MatrixPtr, int );
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1070:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
ElementPtr  SearchDiagonal();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:88:19: note: conflicting prototype is here
static ElementPtr SearchDiagonal( MatrixPtr, int );
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1071:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
ElementPtr  SearchEntireMatrix();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:89:19: note: conflicting prototype is here
static ElementPtr SearchEntireMatrix( MatrixPtr, int );
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SearchForSingleton( Matrix, Step )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1172:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
RealNumber  PivotMag, FindBiggestInColExclude();
                      ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:91:19: note: conflicting prototype is here
static RealNumber FindBiggestInColExclude( MatrixPtr, ElementPtr, int );
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
QuicklySearchDiagonal( Matrix, Step )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1594:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
RealNumber  FindBiggestInColExclude();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:91:19: note: conflicting prototype is here
static RealNumber FindBiggestInColExclude( MatrixPtr, ElementPtr, int );
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SearchDiagonal( Matrix, Step )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1761:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
RealNumber  FindBiggestInColExclude();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:91:19: note: conflicting prototype is here
static RealNumber FindBiggestInColExclude( MatrixPtr, ElementPtr, int );
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1878:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SearchEntireMatrix( Matrix, Step )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:1889:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
RealNumber  FindLargestInCol();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:90:19: note: conflicting prototype is here
static RealNumber FindLargestInCol( ElementPtr );
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2001:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
FindLargestInCol( pElement )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2067:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
FindBiggestInColExclude( Matrix, pElement, Step )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ExchangeRowsAndCols( Matrix, pPivot, Step )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2152:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
ElementPtr spcFindElementInCol();
           ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:872:19: note: conflicting prototype is here
extern ElementPtr spcFindElementInCol( MatrixPtr, ElementPtr*, int, int, int );
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spcRowExchange( Matrix, Row1, Row2 )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spcColExchange( Matrix, Col1, Col2 )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ExchangeColElements( Matrix, Row1, Element1, Row2, Element2, Column )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ExchangeRowElements( Matrix, Col1, Element1, Col2, Element2, Row )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2760:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
RealRowColElimination( Matrix, pPivot )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2769:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern ElementPtr  CreateFillin();
                   ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:100:19: note: conflicting prototype is here
static ElementPtr CreateFillin( MatrixPtr, int, int );
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ComplexRowColElimination( Matrix, pPivot )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2858:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
ElementPtr  CreateFillin();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:100:19: note: conflicting prototype is here
static ElementPtr CreateFillin( MatrixPtr, int, int );
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:2933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
UpdateMarkowitzNumbers( Matrix, pPivot )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:3021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
CreateFillin( Matrix, Row, Col )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:3028:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
ElementPtr  spcCreateElement();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:873:19: note: conflicting prototype is here
extern ElementPtr spcCreateElement( MatrixPtr, int, int, ElementPtr*, int );
                  ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:3083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
MatrixIsSingular( Matrix, Step )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spfactor.c:3097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ZeroPivot( Matrix, Step )
^
49 warnings and 1 error generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:60:
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:60:
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:60:
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spPrint( eMatrix, PrintReordered, Data, Header )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:157:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    CALLOC(pImagElements, ElementPtr, Printer_Width / 10 + 1);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:431:18: note: expanded from macro 'CALLOC'
{   int i; ptr = ALLOC(type, number);                   \
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC'
#define ALLOC(type,number)  ((type *)tmalloc((unsigned)(sizeof(type)*(number))))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:160:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        FREE(pImagElements);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:170:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    CALLOC( PrintOrdToIntRowMap, int, Top + 1 );
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:431:18: note: expanded from macro 'CALLOC'
{   int i; ptr = ALLOC(type, number);                   \
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC'
#define ALLOC(type,number)  ((type *)tmalloc((unsigned)(sizeof(type)*(number))))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:173:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        FREE(pImagElements);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:176:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    CALLOC( PrintOrdToIntColMap, int, Top + 1 );
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:431:18: note: expanded from macro 'CALLOC'
{   int i; ptr = ALLOC(type, number);                   \
                 ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC'
#define ALLOC(type,number)  ((type *)tmalloc((unsigned)(sizeof(type)*(number))))
                                            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:179:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        FREE(pImagElements);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:180:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        FREE(PrintOrdToIntRowMap);
        ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:363:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    FREE(PrintOrdToIntColMap);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:364:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    FREE(PrintOrdToIntRowMap);
    ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE'
#define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; }
                                             ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spFileMatrix( eMatrix, File, Label, Reordered, Data, Header )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:430:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
FILE  *pMatrixFile, *fopen();
                     ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spFileVector( eMatrix, File, RHS IMAG_RHS )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:584:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
FILE  *fopen();
       ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spFileStats( eMatrix, File, Label )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spoutput.c:706:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
FILE  *pStatsFile, *fopen();
                    ^
20 warnings and 1 error generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:115:
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:115:
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:115:
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SMPaddElt( Matrix, Row, Col, Value )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SMPmakeElt( Matrix, Row, Col )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SMPcClear( Matrix )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SMPclear( Matrix )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SMPcLUfac( Matrix, PivTol )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SMPluFac( Matrix, PivTol, Gmin )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SMPcReorder( Matrix, PivTol, PivRel, NumSwaps )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SMPreorder( Matrix, PivTol, PivRel, Gmin )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SMPcaSolve( Matrix, RHS, iRHS, Spare, iSpare)
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SMPcSolve( Matrix, RHS, iRHS, Spare, iSpare)
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SMPsolve( Matrix, RHS, Spare )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SMPmatSize( Matrix )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SMPnewMatrix( pMatrix )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SMPdestroy( Matrix )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SMPpreOrder( Matrix )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SMPprint( Matrix, File )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SMPgetError( Matrix, Col, Row)
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SMPcProdDiag( Matrix, pMantissa, pExponent)
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SMPcDProd( Matrix, pMantissa, pExponent)
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
LoadGmin( eMatrix, Gmin )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:459:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if (diag = Diag[I])
                ~~~~~^~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:459:15: note: place parentheses around the assignment to silence this warning
            if (diag = Diag[I])
                     ^
                (             )
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:459:15: note: use '==' to turn this assignment into an equality comparison
            if (diag = Diag[I])
                     ^
                     ==
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SMPfindElt( eMatrix, Row, Col, CreateIfMissing )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SMPcZeroCol( Matrix, Col )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SMPcAddCol( Matrix, Accum_Col, Addend_Col )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsmp.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SMPzeroRow( Matrix, Row )
^
29 warnings and 1 error generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsolve.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsolve.c:61:
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsolve.c:61:
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spsolve.c:61:
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsolve.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spSolve( eMatrix, RHS, Solution IMAG_VECTORS )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsolve.c:165:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
void SolveComplexMatrix();
     ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsolve.c:72:13: note: conflicting prototype is here
static void SolveComplexMatrix( MatrixPtr,
            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsolve.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SolveComplexMatrix( Matrix, RHS, Solution IMAG_VECTORS )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsolve.c:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spSolveTransposed( eMatrix, RHS, Solution IMAG_VECTORS )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsolve.c:483:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
void SolveComplexTransposedMatrix();
     ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsolve.c:74:13: note: conflicting prototype is here
static void SolveComplexTransposedMatrix( MatrixPtr,
            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spsolve.c:621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SolveComplexTransposedMatrix(Matrix, RHS, Solution IMAG_VECTORS )
^
10 warnings and 1 error generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:74:
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:74:
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:74:
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spMNA_Preorder( eMatrix )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
CountTwins( Matrix, Col, ppTwin1, ppTwin2 )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SwapCols( Matrix, pTwin1, pTwin2 )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spMultiply( eMatrix, RHS, Solution IMAG_VECTORS )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:636:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void ComplexMatrixMultiply();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:89:13: note: conflicting prototype is here
static void ComplexMatrixMultiply( MatrixPtr, RealVector, RealVector,
            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ComplexMatrixMultiply( Matrix, RHS, Solution IMAG_VECTORS )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spMultTransposed( eMatrix, RHS, Solution IMAG_VECTORS )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:831:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void ComplexTransposedMatrixMultiply();
            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:91:13: note: conflicting prototype is here
static void ComplexTransposedMatrixMultiply( MatrixPtr, RealVector, RealVector,
            ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
ComplexTransposedMatrixMultiply( Matrix, RHS, Solution IMAG_VECTORS )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:1024:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spDeterminant( eMatrix, pExponent, pDeterminant, piDeterminant )
^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//sputils.c:2201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
spErrorMessage( eMatrix, Stream, Originator )
^
15 warnings and 1 error generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -c /Users/pbulk/build/cad/spice/work/src/lib/sparse//spextra.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spextra.c:28:
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spextra.c:28:
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse//spextra.c:28:
In file included from /Users/pbulk/build/cad/spice/work/src/lib/sparse/spdefs.h:40:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spextra.c:45:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
spConstMult(matrix, constant)
^
int
/Users/pbulk/build/cad/spice/work/src/lib/sparse//spextra.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
6 warnings and 1 error generated.
*** Error code 1 (continuing)
`recursive' not remade because of errors.
	 Done with work/src/lib
Making "install" in bin
gcc -c -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -DSIMULATOR /Users/pbulk/build/cad/spice/work/src/bin//main.c < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:90:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern int kill();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/signal.h:80:5: note: conflicting prototype is here
int     kill(pid_t, int) __DARWIN_ALIAS(kill);
        ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:126:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
static started = false;
~~~~~~ ^
int
/Users/pbulk/build/cad/spice/work/src/bin//main.c:287:6: warning: parameter 'ac' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
main(ac, av)
     ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:286:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void
^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:286:1: note: change return type to 'int'
void
^~~~
int
/Users/pbulk/build/cad/spice/work/src/bin//main.c:334:5: warning: call to undeclared function 'ivars'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    ivars( );
    ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:352:20: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    istty = (bool) isatty(fileno(stdin));
                   ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:357:5: warning: call to undeclared function 'init_time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    init_time( );
    ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:359:11: warning: call to undeclared function 'SIMinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    err = SIMinit(&nutmeginfo,&ft_sim);
          ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:361:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ft_sperror(err,"SIMinit");
                  ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:430:28: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    cp_vset("rawfile", VT_STRING, *tv);
                           ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:535:13: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        if (access(".spiceinit", 0) == 0)
            ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:536:23: warning: passing arguments to 'inp_source' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            inp_source(".spiceinit");
                      ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:538:27: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            pw = getpwuid(getuid());
                          ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:542:27: warning: passing arguments to 'inp_source' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                inp_source(buf);
                          ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:560:9: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_vset("term", VT_STRING, cmd_line_term);
               ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:564:9: warning: call to undeclared function 'DevInit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        DevInit( );
        ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:565:13: warning: passing arguments to 'com_version' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        com_version(NULL);
                   ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:567:30: warning: passing arguments to 'cp_tildexpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            fp = fopen(cp_tildexpand(News_File), "r");
                                    ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:612:31: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            tempfile = smktemp("sp");
                              ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:631:25: warning: passing arguments to 'inp_spsource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            inp_spsource(file, false, tempfile ? (char *) NULL : *tv);
                        ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:636:13: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            (void) unlink(tempfile);
                   ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:648:28: warning: passing arguments to 'ft_loadfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ft_loadfile(*av);
                           ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:652:24: warning: passing arguments to 'ft_loadfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            ft_loadfile(ft_rawfile);
                       ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:658:21: warning: passing arguments to 'inp_spsource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        inp_spsource(stdin, false, (char *) NULL);
                    ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:678:25: warning: passing arguments to 'ft_dorun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (ft_dorun(""))
                        ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:689:30: warning: passing arguments to 'ft_dorun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            error2 = ft_dorun(ft_rawfile);
                             ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:690:27: warning: passing arguments to 'ft_cktcoms' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            if (ft_cktcoms(true) || error2)
                          ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:694:20: warning: passing arguments to 'ft_dorun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                error2 = ft_dorun(NULL);
                                 ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:695:17: warning: passing arguments to 'ft_cktcoms' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                if (ft_cktcoms(false) || error2)
                              ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:709:18: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        while (cp_evloop((char *) NULL) == 1) ;
                        ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
main(ac, av)
^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void main();
            ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SPIinit(frtEnd,description)
^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:785:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int SIMinit(frontEnd,simulator)
    ^
40 warnings and 2 errors generated.
*** Error code 1 (continuing)
bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/fte.a (continuing)
bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/ckt.a (continuing)
bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/cp.a (continuing)
bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/hlp.a (continuing)
bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/inp.a (continuing)
bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/mfb.a (continuing)
bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/sparse.a (continuing)
bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/misc.a (continuing)
Creating conf.c:
/Users/pbulk/build/cad/spice/work/util/mkvers.sh "asrc bjt bsim1 bsim2 cap cccs ccvs csw dio ind isrc  jfet ltra mes mos1 mos2 mos3 mos6 res sw tra urc  vccs vcvs vsrc" "op dc tf ac tran pz disto noise sense"		       "3f5.1" ""  > conf.c
cat /Users/pbulk/build/cad/spice/work/src/bin//config.c >> conf.c
chmod -w "conf.c"
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c conf.c < /dev/null
Creating tune.c
chmod -w "tune.c"
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c tune.c < /dev/null
gcc -c -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ /Users/pbulk/build/cad/spice/work/src/bin//main.c < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:15:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:11:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:90:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern int kill();
           ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/signal.h:80:5: note: conflicting prototype is here
int     kill(pid_t, int) __DARWIN_ALIAS(kill);
        ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:126:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
static started = false;
~~~~~~ ^
int
/Users/pbulk/build/cad/spice/work/src/bin//main.c:178:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/* ARGSUSED */ int if_run(t, w, s, b) char *t, *w, *b; wordlist *s;
                   ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:425:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int if_run();
           ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:180:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/* ARGSUSED */ int if_sens_run(t, w, s, b) char *t, *w, *b; wordlist *s;
                   ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:426:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int if_sens_run();
           ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:182:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/* ARGSUSED */ void if_dump(ckt, fp) char *ckt; FILE *fp; { }
                    ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:431:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void if_dump();
            ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:183:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/* ARGSUSED */ char * if_inpdeck(deck, tab) struct line *deck; char **tab;
                      ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:424:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *if_inpdeck();
             ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:185:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/* ARGSUSED */ int if_option(ckt, name, type, value) char *name, *ckt, *value;
                   ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:432:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int if_option();
           ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:187:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/* ARGSUSED */ void if_cktfree(ckt, tab) char *ckt, *tab; { }
                    ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:430:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void if_cktfree();
            ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:188:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/* ARGSUSED */ void if_setndnames(line) char *line; { }
                    ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:433:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void if_setndnames();
            ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:189:36: warning: parameter 'code' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
/* ARGSUSED */ char * if_errstring(code) { return ("spice error"); }
                                   ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:189:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/* ARGSUSED */ char * if_errstring(code) { return ("spice error"); }
                      ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:423:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *if_errstring();
             ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:190:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/* ARGSUSED */ void if_setparam(ckt, name, param, val) 
                    ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:434:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void if_setparam();
            ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
if_tranparams(ckt, start, stop, step) struct circ *ckt;
^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:422:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern bool if_tranparams();
            ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:197:33: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/* ARGSUSED */ struct variable *if_getstat(n, c) char *n, *c; { return (NULL);}
                                ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:435:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct variable *if_getstat();
                        ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:287:6: warning: parameter 'ac' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
main(ac, av)
     ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:286:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void
^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:286:1: note: change return type to 'int'
void
^~~~
int
/Users/pbulk/build/cad/spice/work/src/bin//main.c:334:5: warning: call to undeclared function 'ivars'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    ivars( );
    ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:352:20: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    istty = (bool) isatty(fileno(stdin));
                   ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:357:5: warning: call to undeclared function 'init_time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    init_time( );
    ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:359:11: warning: call to undeclared function 'SIMinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    err = SIMinit(&nutmeginfo,&ft_sim);
          ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:361:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ft_sperror(err,"SIMinit");
                  ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:430:28: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    cp_vset("rawfile", VT_STRING, *tv);
                           ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:535:13: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        if (access(".spiceinit", 0) == 0)
            ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:536:23: warning: passing arguments to 'inp_source' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            inp_source(".spiceinit");
                      ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:538:27: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            pw = getpwuid(getuid());
                          ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:542:27: warning: passing arguments to 'inp_source' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                inp_source(buf);
                          ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:560:9: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cp_vset("term", VT_STRING, cmd_line_term);
               ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:564:9: warning: call to undeclared function 'DevInit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        DevInit( );
        ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:565:13: warning: passing arguments to 'com_version' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        com_version(NULL);
                   ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:567:30: warning: passing arguments to 'cp_tildexpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            fp = fopen(cp_tildexpand(News_File), "r");
                                    ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:648:28: warning: passing arguments to 'ft_loadfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ft_loadfile(*av);
                           ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:652:24: warning: passing arguments to 'ft_loadfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            ft_loadfile(ft_rawfile);
                       ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:752:21: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    while (cp_evloop((char *) NULL) == 1) ;
                    ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
main(ac, av)
^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//main.c:16:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void main();
            ^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
SPIinit(frtEnd,description)
^
/Users/pbulk/build/cad/spice/work/src/bin//main.c:785:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int SIMinit(frontEnd,simulator)
    ^
54 warnings and 2 errors generated.
Creating nconf.c:
*** Error code 1 (continuing)
/Users/pbulk/build/cad/spice/work/util/mkvers.sh "" "" "3f5.1" ""   > nconf.c
cat /Users/pbulk/build/cad/spice/work/src/bin//nconfig.c >> nconf.c
chmod -w "nconf.c"
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c nconf.c < /dev/null
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: warning: return type of 'main' is not 'int' [-Wmain-return-type]
extern void main();
       ^
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:8: note: change return type to 'int'
extern void main();
       ^~~~
       int
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:40:6: warning: parameter 'ac' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
main(ac, av)
     ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:39:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void
^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:39:1: note: change return type to 'int'
void
^~~~
int
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:70:34: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            sf = infile = smktemp("scin");
                                 ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:71:35: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            af = outfile = smktemp("scout");
                                  ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:76:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            while (i = fread(buf, 1, sizeof(buf), stdin))
                   ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:76:22: note: place parentheses around the assignment to silence this warning
            while (i = fread(buf, 1, sizeof(buf), stdin))
                     ^
                   (                                    )
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:76:22: note: use '==' to turn this assignment into an equality comparison
            while (i = fread(buf, 1, sizeof(buf), stdin))
                     ^
                     ==
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:84:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            sf = copy(buf);
                     ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:92:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            af = copy(buf);
                     ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:110:21: warning: passing arguments to 'oldread' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        pl = oldread(sf);
                    ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:115:22: warning: passing arguments to 'raw_read' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        pl = raw_read(sf);
                     ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:127:17: warning: passing arguments to 'oldwrite' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        oldwrite(af, false, pl);
                ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:131:18: warning: passing arguments to 'raw_write' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        raw_write(af, pl, false, true);
                 ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:135:18: warning: passing arguments to 'raw_write' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        raw_write(af, pl, false, false);
                 ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:148:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        while (i = fread(buf, 1, sizeof(buf), fp))
               ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:148:18: note: place parentheses around the assignment to silence this warning
        while (i = fread(buf, 1, sizeof(buf), fp))
                 ^
               (                                 )
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:148:18: note: use '==' to turn this assignment into an equality comparison
        while (i = fread(buf, 1, sizeof(buf), fp))
                 ^
                 ==
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:151:16: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        (void) unlink(infile);
               ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
main(ac, av)
^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:418:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void main();
            ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:185:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pl = alloc(struct plot);
         ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:191:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pl->pl_title = copy(buf);
                       ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:195:31: warning: passing arguments to 'fixdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pl->pl_date = copy(fixdate(buf));
                              ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:195:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pl->pl_date = copy(fixdate(buf));
                      ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:204:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        v = alloc(struct dvec);
            ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:41:38: note: expanded from macro 'alloc'
#define alloc(TYPE)     ((TYPE *) tmalloc(sizeof(TYPE)))
                                         ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:212:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        v->v_name = copy(buf);
                        ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:235:20: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
                a, i);
                   ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:239:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pl->pl_name = copy(buf);
                      ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:264:47: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            v->v_realdata = (double *) tmalloc(sizeof (double)
                                              ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:267:48: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            v->v_compdata = (complex *) tmalloc(sizeof (complex)
                                               ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
oldread(name)
^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:36:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static struct plot *oldread();
                    ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
oldwrite(name, app, pl)
^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:35:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void oldwrite();
            ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:419:17: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return (copy(buf));
                ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fixdate(date)
^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:37:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static char *fixdate();
             ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:426:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/* ARGSUSED */ void cp_usrvars(v1, v2) struct variable **v1, **v2; { return; }
                    ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:182:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void cp_usrvars();
            ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:427:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/* ARGSUSED */ int cp_evloop(s) char *s; { return (0); }
                   ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:68:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int cp_evloop();
           ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:428:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/* ARGSUSED */ void cp_ccon(o) bool o; { }
                    ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:36:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void cp_ccon();
            ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:429:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/* ARGSUSED */ char *if_errstring(c) int c; { return ("error"); }
                     ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:423:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *if_errstring();
             ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:431:46: warning: parameter 'args' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
/* VARARGS1 ARGSUSED */ void out_printf(fmt, args) char *fmt; { }
                                             ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:431:30: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/* VARARGS1 ARGSUSED */ void out_printf(fmt, args) char *fmt; { }
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:126:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void out_printf();
            ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:433:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/* ARGSUSED */ void out_send(string) char *string; {}
                    ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:128:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void out_send();
            ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:434:34: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/* ARGSUSED */ struct variable * cp_enqvar(word) char *word; { return (NULL); }
                                 ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:327:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct variable *cp_enqvar();
                        ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:435:29: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/* ARGSUSED */ struct dvec *vec_get(word) char *word; { return (NULL); }
                            ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:13:
In file included from /Users/pbulk/build/cad/spice/work/src/include/ftedefs.h:56:
/Users/pbulk/build/cad/spice/work/src/include/fteext.h:458:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern struct dvec *vec_get();
                    ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:436:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/* ARGSUSED */ void cp_ccom(w, b, e) wordlist *w; char *b; bool e; { return; }
                    ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:35:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void cp_ccom();
            ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:437:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
/* ARGSUSED */ int cp_usrset(v, i) struct variable *v; bool i;{return(US_OK); }
                   ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:12:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:183:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int cp_usrset();
           ^
/Users/pbulk/build/cad/spice/work/src/bin//sconvert.c:440:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void XtDispatchEvent(pev) char *pev; {}
     ^
61 warnings and 2 errors generated.
*** Error code 1 (continuing)
bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/fte/rawfile.o (continuing)
bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/fte/types.o (continuing)
bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/fte/error.o (continuing)
bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/cp/numparse.o (continuing)
bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/cp/quote.o (continuing)
bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/cp/std.o (continuing)
bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/cp/wlist.o (continuing)
bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/cp/input.o (continuing)
bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/cp/lexical.o (continuing)
bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/cp/variable.o (continuing)
bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/cp/var2.o (continuing)
bmake[3]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj/lib/fte/dimens.o (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -DWANT_X11 -I/opt/pkg/include -I/opt/pkg/include/X11		       -I/opt/pkg/include/X11/Xmu				       -I/opt/pkg/include/X11/Xaw  -c -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ /Users/pbulk/build/cad/spice/work/src/bin//help.c < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/bin//help.c:29:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//help.c:29:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpstd.h:16:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//help.c:29:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//help.c:29:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
/Users/pbulk/build/cad/spice/work/src/bin//help.c:49:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void
^
/Users/pbulk/build/cad/spice/work/src/bin//help.c:49:1: note: change return type to 'int'
void
^~~~
int
/Users/pbulk/build/cad/spice/work/src/bin//help.c:64:5: warning: call to undeclared function 'ivars'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    ivars( );
    ^
/Users/pbulk/build/cad/spice/work/src/bin//help.c:72:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (cp_getvar("display", VT_STRING, buf)) {
                 ^
/Users/pbulk/build/cad/spice/work/src/bin//help.c:88:22: warning: passing arguments to 'wl_build' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        wl = wl_build(av + 1);
                     ^
/Users/pbulk/build/cad/spice/work/src/bin//help.c:89:13: warning: passing arguments to 'hlp_main' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    hlp_main(Help_Path, wl);
            ^
/Users/pbulk/build/cad/spice/work/src/bin//help.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
main(ac, av)
^
/Users/pbulk/build/cad/spice/work/src/bin//help.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
fatal(s)
^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//help.c:29:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:184:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void fatal();
            ^
/Users/pbulk/build/cad/spice/work/src/bin//help.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_printword(s)
^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//help.c:29:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:56:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void cp_printword();
            ^
/Users/pbulk/build/cad/spice/work/src/bin//help.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_getvar(n, t, r)
^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//help.c:29:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:151:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern bool cp_getvar();
            ^
/Users/pbulk/build/cad/spice/work/src/bin//help.c:130:21: warning: passing arguments to 'tilde_expand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        return tilde_expand(s);
                           ^
/Users/pbulk/build/cad/spice/work/src/bin//help.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
cp_tildexpand(s)
^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//help.c:29:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:118:
/Users/pbulk/build/cad/spice/work/src/include/cpextern.h:78:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *cp_tildexpand();
             ^
20 warnings and 2 errors generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/bin//proc2mod.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/bin//proc2mod.c:9:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//proc2mod.c:9:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//proc2mod.c:9:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Users/pbulk/build/cad/spice/work/src/bin//proc2mod.c:15:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
void exit();
     ^
/Users/pbulk/build/cad/spice/work/src/bin//proc2mod.c:54:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void
^
/Users/pbulk/build/cad/spice/work/src/bin//proc2mod.c:54:1: note: change return type to 'int'
void
^~~~
int
/Users/pbulk/build/cad/spice/work/src/bin//proc2mod.c:115:29: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast]
            *(typeline+3) = (char)NULL;
                            ^~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/bin//proc2mod.c:124:29: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast]
            *(typeline+3) = (char)NULL;
                            ^~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/bin//proc2mod.c:133:29: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast]
            *(typeline+3) = (char)NULL;
                            ^~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/bin//proc2mod.c:142:29: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast]
            *(typeline+3) = (char)NULL;
                            ^~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/bin//proc2mod.c:151:29: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast]
            *(typeline+3) = (char)NULL;
                            ^~~~~~~~~~
/Users/pbulk/build/cad/spice/work/src/bin//proc2mod.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
getdata(vals,count,width) 
^
12 warnings and 1 error generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -c -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ /Users/pbulk/build/cad/spice/work/src/bin//multidec.c < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/bin//multidec.c:10:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]'
extern char *sys_errlist[];
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//multidec.c:10:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//multidec.c:10:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Users/pbulk/build/cad/spice/work/src/bin//multidec.c:24:2: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
 main (argc, argv)
 ^
 int
/Users/pbulk/build/cad/spice/work/src/bin//multidec.c:50:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  while (ch = *s++) {
         ~~~^~~~~~
/Users/pbulk/build/cad/spice/work/src/bin//multidec.c:50:13: note: place parentheses around the assignment to silence this warning
  while (ch = *s++) {
            ^
         (        )
/Users/pbulk/build/cad/spice/work/src/bin//multidec.c:50:13: note: use '==' to turn this assignment into an equality comparison
  while (ch = *s++) {
            ^
            ==
/Users/pbulk/build/cad/spice/work/src/bin//multidec.c:107:8: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
         usage(pname);
              ^
/Users/pbulk/build/cad/spice/work/src/bin//multidec.c:111:8: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
         usage(pname);
              ^
/Users/pbulk/build/cad/spice/work/src/bin//multidec.c:127:6: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
usage(argv);
     ^
/Users/pbulk/build/cad/spice/work/src/bin//multidec.c:158:9: warning: passing arguments to 'comments' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
comments(r,l,g,c,ctot,cm,lm,k,name,num,len);
        ^
/Users/pbulk/build/cad/spice/work/src/bin//multidec.c:175:21: warning: passing arguments to 'phi' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                matrix[i][j] = phi(i-1,tpeigenvalues[j]);
                                  ^
/Users/pbulk/build/cad/spice/work/src/bin//multidec.c:229:1: warning: call to undeclared function 'spErrorMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
spErrorMessage(othermatrix,stderr,NULL);
^
/Users/pbulk/build/cad/spice/work/src/bin//multidec.c:24:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
 main (argc, argv)
 ^
/Users/pbulk/build/cad/spice/work/src/bin//multidec.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
usage(argv)
^
/Users/pbulk/build/cad/spice/work/src/bin//multidec.c:20:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void usage();
            ^
/Users/pbulk/build/cad/spice/work/src/bin//multidec.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
comments(r,l,g,c,ctot,cm,lm,k,name,num,len)
^
/Users/pbulk/build/cad/spice/work/src/bin//multidec.c:21:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void comments();
            ^
/Users/pbulk/build/cad/spice/work/src/bin//multidec.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
phi(i,arg)
^
/Users/pbulk/build/cad/spice/work/src/bin//multidec.c:22:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern double phi();
              ^
19 warnings and 1 error generated.
*** Error code 1 (continuing)
gcc -O2 -pipe -I/Users/pbulk/build/cad/spice/work/src/include  -pipe -Os -Dbsd -I/opt/pkg/include/ncurses -I/opt/pkg/include  -I/Users/pbulk/build/cad/spice/work/src/include -I/Users/pbulk/build/cad/spice/work/src//lib/dev/ -c /Users/pbulk/build/cad/spice/work/src/bin//makeidx.c  < /dev/null
In file included from /Users/pbulk/build/cad/spice/work/src/bin//makeidx.c:8:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:114:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *rindex();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern char *index();
             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void clearerr();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:142:7: note: conflicting prototype is here
void     clearerr(FILE *);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//makeidx.c:8:
/Users/pbulk/build/cad/spice/work/src/include/misc.h:137:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
extern void perror();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:169:7: note: conflicting prototype is here
void     perror(const char *) __cold;
         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: error: redeclaration of 'sys_errlist' with a different type: 'const char *const[]' vs 'char *[]'
extern __const char *__const sys_errlist[];
                             ^
/Users/pbulk/build/cad/spice/work/src/include/misc.h:87:14: note: previous declaration is here
extern char *sys_errlist[];
             ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//makeidx.c:10:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: conflicting prototype is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
In file included from /Users/pbulk/build/cad/spice/work/src/bin//makeidx.c:10:
In file included from /Users/pbulk/build/cad/spice/work/src/include/cpdefs.h:14:
/Users/pbulk/build/cad/spice/work/src/include/cpstd.h:54:13: error: conflicting types for 'setenv'
extern void setenv();
            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:230:6: note: previous declaration is here
int      setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
         ^
/Users/pbulk/build/cad/spice/work/src/bin//makeidx.c:18:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
main(argc, argv)
^
int
/Users/pbulk/build/cad/spice/work/src/bin//makeidx.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
7 warnings and 2 errors generated.
*** Error code 1 (continuing)
`recursive' not remade because of errors.
	 Done with work/src
Making "install" in lib
rm -f /Users/pbulk/build/cad/spice/work/.destdir/opt/pkg/share/spice3/mfbcap
cp /Users/pbulk/build/cad/spice/work/lib/mfbcap /Users/pbulk/build/cad/spice/work/.destdir/opt/pkg/share/spice3/mfbcap
rm -f /Users/pbulk/build/cad/spice/work/.destdir/opt/pkg/share/spice3/news
cp /Users/pbulk/build/cad/spice/work/lib/news /Users/pbulk/build/cad/spice/work/.destdir/opt/pkg/share/spice3/news
rm -f /Users/pbulk/build/cad/spice/work/.destdir/opt/pkg/share/spice3/scripts/setplot
cp /Users/pbulk/build/cad/spice/work/lib/scripts/setplot /Users/pbulk/build/cad/spice/work/.destdir/opt/pkg/share/spice3/scripts/setplot
rm -f /Users/pbulk/build/cad/spice/work/.destdir/opt/pkg/share/spice3/scripts/spinit
cp /Users/pbulk/build/cad/spice/work/lib/scripts/spinit /Users/pbulk/build/cad/spice/work/.destdir/opt/pkg/share/spice3/scripts/spinit
rm -f /Users/pbulk/build/cad/spice/work/.destdir/opt/pkg/share/spice3/helpdir/spice.txt
cp /Users/pbulk/build/cad/spice/work/lib/helpdir/spice.txt /Users/pbulk/build/cad/spice/work/.destdir/opt/pkg/share/spice3/helpdir/spice.txt
bmake[2]: don't know how to make /Users/pbulk/build/cad/spice/work/NetBSD/obj//bin/makeidx (continuing)
	 Done with work/lib
`recursive' not remade because of errors.
	 Done with work
Done with build at Tue May 14 00:30:25 UTC 2024
/bin/chmod a+rx /Users/pbulk/build/cad/spice/work/.destdir/opt/pkg/bin/spice3	 /Users/pbulk/build/cad/spice/work/.destdir/opt/pkg/bin/nutmeg		 /Users/pbulk/build/cad/spice/work/.destdir/opt/pkg/bin/sconvert	 /Users/pbulk/build/cad/spice/work/.destdir/opt/pkg/bin/help		 /Users/pbulk/build/cad/spice/work/.destdir/opt/pkg/bin/proc2mod	 /Users/pbulk/build/cad/spice/work/.destdir/opt/pkg/bin/multidec
chmod: /Users/pbulk/build/cad/spice/work/.destdir/opt/pkg/bin/spice3: No such file or directory
chmod: /Users/pbulk/build/cad/spice/work/.destdir/opt/pkg/bin/nutmeg: No such file or directory
chmod: /Users/pbulk/build/cad/spice/work/.destdir/opt/pkg/bin/sconvert: No such file or directory
chmod: /Users/pbulk/build/cad/spice/work/.destdir/opt/pkg/bin/help: No such file or directory
chmod: /Users/pbulk/build/cad/spice/work/.destdir/opt/pkg/bin/proc2mod: No such file or directory
chmod: /Users/pbulk/build/cad/spice/work/.destdir/opt/pkg/bin/multidec: No such file or directory
*** Error code 1

Stop.
bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/cad/spice
*** Error code 1

Stop.
bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/cad/spice