>>> Building on exopi-5 under misc/screen-shm BDEPENDS = [devel/metaauto;textproc/groff;devel/autoconf/2.57] DIST = [misc/screen-shm,shm:screen-4.0.3.tar.gz] FULLPKGNAME = screen-4.0.3p9-shm Woken up www/p5-Catalyst-Plugin-Singleton (Junk lock failure for exopi-5 at 1734970065.49969) Received IO (Junk lock obtained for exopi-5 at 1734970070.99) Received IO Woken up misc/screen-shm Woken up misc/screen-shm Woken up misc/screen-shm Short-cut: depends already handled by www/p5-Catalyst-Plugin-Singleton >>> Running show-prepare-results in misc/screen-shm at 1734970072.56 ===> misc/screen-shm ===> Building from scratch screen-4.0.3p9-shm ===> screen-4.0.3p9-shm depends on: metaauto-* -> metaauto-1.0p4 ===> screen-4.0.3p9-shm depends on: autoconf-2.57 -> autoconf-2.57p5 ===> screen-4.0.3p9-shm depends on: groff->=1.21 -> groff-1.22.4p4 ===> Verifying specs: c curses util ===> found c.100.3 curses.15.0 util.20.0 autoconf-2.57p5 groff-1.22.4p4 metaauto-1.0p4 (Junk lock released for exopi-5 at 1734970073.59) distfiles size=840602 >>> Running build in misc/screen-shm at 1734970073.62 ===> misc/screen-shm ===> Checking files for screen-4.0.3p9-shm `/exopi-cvs/ports/distfiles/screen-4.0.3.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for screen-4.0.3p9-shm ===> Patching for screen-4.0.3p9-shm ===> Applying OpenBSD patch patch-Makefile_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: Makefile.in |--- Makefile.in.orig |+++ Makefile.in -------------------------- Patching file Makefile.in using Plan A... Hunk #1 succeeded at 46. done ===> Applying OpenBSD patch patch-ansi_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: ansi.c |--- ansi.c.orig |+++ ansi.c -------------------------- Patching file ansi.c using Plan A... Hunk #1 succeeded at 2425. Hunk #2 succeeded at 2482. done ===> Applying OpenBSD patch patch-configure_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: configure.in |--- configure.in.orig |+++ configure.in -------------------------- Patching file configure.in using Plan A... Hunk #1 succeeded at 359. Hunk #2 succeeded at 409. Hunk #3 succeeded at 471. Hunk #4 succeeded at 503. Hunk #5 succeeded at 636. Hunk #6 succeeded at 1204. done ===> Applying OpenBSD patch patch-doc_screen_1 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: doc/screen.1 |--- doc/screen.1.orig |+++ doc/screen.1 -------------------------- Patching file doc/screen.1 using Plan A... Hunk #1 succeeded at 99. Hunk #2 succeeded at 228. Hunk #3 succeeded at 594. Hunk #4 succeeded at 1669. Hunk #5 succeeded at 4416. Hunk #6 succeeded at 4442. Hunk #7 succeeded at 4555. done ===> Applying OpenBSD patch patch-extern_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: extern.h |--- extern.h.orig |+++ extern.h -------------------------- Patching file extern.h using Plan A... Hunk #1 succeeded at 139. Hunk #2 succeeded at 151. done ===> Applying OpenBSD patch patch-fileio_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: fileio.c |--- fileio.c.orig |+++ fileio.c -------------------------- Patching file fileio.c using Plan A... Hunk #1 succeeded at 779. done ===> Applying OpenBSD patch patch-os_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: os.h |--- os.h.orig |+++ os.h -------------------------- Patching file os.h using Plan A... Hunk #1 succeeded at 70. done ===> Applying OpenBSD patch patch-pty_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: pty.c |--- pty.c.orig |+++ pty.c -------------------------- Patching file pty.c using Plan A... Hunk #1 succeeded at 25. done ===> Applying OpenBSD patch patch-sched_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: sched.c |--- sched.c.orig |+++ sched.c -------------------------- Patching file sched.c using Plan A... Hunk #1 succeeded at 110. Hunk #2 succeeded at 125. done ===> Applying OpenBSD patch patch-screen_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: screen.c |--- screen.c.orig |+++ screen.c -------------------------- Patching file screen.c using Plan A... Hunk #1 succeeded at 71. Hunk #2 succeeded at 86. Hunk #3 succeeded at 247. Hunk #4 succeeded at 478. done ===> Applying OpenBSD patch patch-screen_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: screen.h |--- screen.h.orig |+++ screen.h -------------------------- Patching file screen.h using Plan A... Hunk #1 succeeded at 288. done ===> Applying OpenBSD patch patch-window_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: window.c |--- window.c.orig |+++ window.c -------------------------- Patching file window.c using Plan A... Hunk #1 succeeded at 1387. Hunk #2 succeeded at 1433. Hunk #3 succeeded at 1994. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for screen-4.0.3p9-shm Running autoconf-2.57 in /exopi-obj/pobj/screen-4.0.3-shm/screen-4.0.3 ===> Configuring for screen-4.0.3p9-shm Using /exopi-obj/pobj/screen-4.0.3-shm/config.site (generated) configure: loading site script /exopi-obj/pobj/screen-4.0.3-shm/config.site this is screen version 4.0.3 checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ANSI C... none needed checking how to run the C preprocessor... cc -E checking for egrep... (cached) grep -E checking whether cc needs -traditional... no checking for library containing strerror... none required checking for gawk... (cached) awk checking for a BSD-compatible install... /exopi-obj/pobj/screen-4.0.3-shm/bin/install -c configure: checking for buggy tools... checking if a system-wide socket dir should be used... yes checking for the socket dir... (eff_uid ? "/tmp/uscreens" : "/tmp/screens") configure: checking for MIPS... configure: checking for Ultrix... configure: checking for butterfly... configure: checking for POSIX.1... - you have a POSIX system configure: checking for System V... configure: checking for sequent/ptx... configure: checking SVR4... checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes configure: checking for Solaris 2.x... configure: checking BSD job jontrol... - you have jobcontrol configure: checking setreuid... configure: checking seteuid... configure: checking select... configure: checking fifos... - your fifos are usable configure: checking for broken fifo implementation... - your implementation is ok configure: checking sockets... - your sockets are usable configure: checking socket implementation... - you are normal - both sockets and fifos usable. let's take fifos. configure: checking select return value... - select is ok configure: checking for tgetent... configure: checking libcurses... - you use the terminfo database configure: checking ospeed... configure: checking for /dev/ptc... configure: checking for SVR4 ptys... checking for getpt... (cached) no checking for openpty... no checking for openpty in -lutil... (cached) yes configure: checking for ptyranges... configure: checking default tty permissions/group... checking for write... /usr/bin/write checking for xterm... /usr/X11R6/bin/xterm - pty mode: 0620, group: 4 configure: checking getutent... configure: checking getutent with -lgen... configure: checking ut_host... checking utempter.h usability... no checking utempter.h presence... no checking for utempter.h... no configure: checking for libutil(s)... configure: checking getloadavg... assuming posix signal definition configure: checking for crypt and sec libraries... configure: checking crypt... configure: checking IRIX sun library... configure: checking syslog... configure: checking wait union... configure: checking for termio or termios... configure: checking getspnam... configure: checking getttyent... configure: checking fdwalk... configure: checking whether memcpy/memmove/bcopy handles overlapping arguments... checking long file names... yes checking for vsprintf... yes checking for dirent.h that defines DIR... (cached) yes checking for library containing opendir... none required checking for setenv... yes checking for nl_langinfo(CODESET)... yes checking for library containing gethostname... none required checking for rename... (cached) yes checking for fchmod... (cached) yes checking for fchown... (cached) yes checking for strerror... (cached) yes checking for lstat... (cached) yes checking for _exit... yes checking for utimes... (cached) yes checking for vsnprintf... (cached) yes checking for getcwd... (cached) yes checking for setlocale... (cached) yes checking for strftime... (cached) yes checking for the global screenrc file... "/etc/screenrc" checking for the utf8-encodings location... "/usr/local/share/screen/utf8encodings" configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: executing default commands Now please check the pathnames in the Makefile and in the user configuration section in config.h. Then type 'make' to make screen. Good luck. ===> Building for screen-4.0.3p9-shm /usr/bin/perl /exopi-cvs/ports/infrastructure/bin/pkg_subst -DARCH=amd64 -DBASE_PKGPATH=misc/screen-shm,shm -DFLAVOR_EXT=-shm -DFULLPKGNAME=screen-4.0.3p9-shm -DHOMEPAGE=https://www.gnu.org/software/screen/ -DLOCALBASE=/usr/local -DLOCALSTATEDIR=/var -DMACHINE_ARCH=amd64 -DMAINTAINER=The\ OpenBSD\ ports\ mailing-list\ \ -DPREFIX=/usr/local -DRCDIR=/etc/rc.d -DSYSCONFDIR=/etc -DTRUEPREFIX=/usr/local -DX11BASE=/usr/X11R6 -DPKGSTEM=screen -i -B /exopi-obj/pobj/screen-4.0.3-shm /exopi-obj/pobj/screen-4.0.3-shm/screen-4.0.3/doc/screen.1 CPP="cc -E " srcdir=. sh ./osdef.sh AWK=awk CC="cc -O2 -pipe" srcdir=. sh ./comm.sh AWK=awk srcdir=. sh ./term.sh cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe screen.c screen.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] lf_secreopen(name, wantfd, l) ^ screen.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getpwbyname(name, ppp) ^ screen.c:353: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) ^ screen.c:1418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WindowDied(p) ^ screen.c:1487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SigChld SIGDEFARG ^ screen.c:1495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SigHup SIGDEFARG ^ screen.c:1509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SigInt SIGDEFARG ^ screen.c:1534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CoreDump SIGDEFARG ^ screen.c:1658:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FinitHandler SIGDEFARG ^ screen.c:1670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Finit(i) ^ screen.c:1719:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eexit(e) ^ screen.c:1764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Detach(mode) ^ screen.c:1891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IsSymbol(e, s) ^ screen.c:1912:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Panic(0, strnomem); ^~~~~~~~ screen.c:1912:14: note: treat the string as an argument to avoid this Panic(0, strnomem); ^ "%s", screen.c:2085:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pad_expand(buf, p, numpad, padlen) ^ screen.c:2136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] backtick_filter(bt) ^ screen.c:2153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] backtick_fn(ev, data) ^ screen.c:2203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setbacktick(num, lifespan, tick, cmdv) ^ screen.c:2240:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Msg(0, strnomem); ^~~~~~~~ screen.c:2240:11: note: treat the string as an argument to avoid this Msg(0, strnomem); ^ "%s", screen.c:2262:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Msg(0, strnomem); ^~~~~~~~ screen.c:2262:11: note: treat the string as an argument to avoid this Msg(0, strnomem); ^ "%s", screen.c:2276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] runbacktick(bt, tickp, now) ^ screen.c:2327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeWinMsgEv(str, win, esc, padlen, ev, rec) ^ screen.c:2830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeWinMsg(s, win, esc) ^ screen.c:2839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PutWinMsg(s, start, max) ^ screen.c:2935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] serv_read_fn(ev, data) ^ screen.c:2944:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] serv_select_fn(ev, data) ^ screen.c:3140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] logflush_fn(ev, data) ^ screen.c:3182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseChar(p, cp) ^ screen.c:3210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseEscape(p) ^ 29 warnings generated. cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe ansi.c ansi.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResetAnsiState(p) ^ ansi.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResetWindow(p) ^ ansi.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] GetAnsiStatus(w, buf) ^ ansi.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResetCharsets(p) ^ ansi.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetCharsets(p, s) ^ ansi.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] WriteString(wp, buf, len) ^ ansi.c:895:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WLogString(p, buf, len) ^ ansi.c:919:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Special(c) ^ ansi.c:954:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoESC(c, intermediate) ^ ansi.c:1096:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoCSI(c, intermediate) ^ ansi.c:1431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringStart(type) ^ ansi.c:1440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringChar(c) ^ ansi.c:1607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintChar(c) ^ ansi.c:1650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WNewAutoFlow(win, on) ^ ansi.c:1666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DesignateCharset(c, n) ^ ansi.c:1691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MapCharset(n) ^ ansi.c:1705:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MapCharsetR(n) ^ ansi.c:1780:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LineFeed(out_mode) ^ ansi.c:1814:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertChar(n) ^ ansi.c:1830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteChar(n) ^ ansi.c:1844:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteLine(n) ^ ansi.c:1857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertLine(n) ^ ansi.c:1870:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrollRegion(n) ^ ansi.c:1948:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClearLineRegion(from, to) ^ ansi.c:1958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CursorRight(n) ^ ansi.c:1974:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CursorUp(n) ^ ansi.c:1989:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CursorDown(n) ^ ansi.c:2004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CursorLeft(n) ^ ansi.c:2013:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ASetMode(on) ^ ansi.c:2175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeAKA(p, s, l) ^ ansi.c:2261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Report(fmt, n1, n2) ^ ansi.c:2292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFixLine(p, y, mc) ^ ansi.c:2371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MScrollH(p, n, y, xs, xe, bce) ^ ansi.c:2416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MScrollV(p, n, ys, ye, bce) ^ ansi.c:2530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Scroll(cp, cnt1, cnt2, tmp) ^ ansi.c:2551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MClearArea(p, xs, ys, xe, ye, bce) ^ ansi.c:2584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MInsChar(p, c, x, y) ^ ansi.c:2626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MPutChar(p, c, x, y) ^ ansi.c:2658:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MWrapChar(p, c, y, top, bot, ins) ^ ansi.c:2686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MPutStr(p, s, n, r, x, y) ^ ansi.c:2726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MBceLine(p, y, xs, xe, bce) ^ ansi.c:2757:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WAddLineToHist(wp, ml) ^ ansi.c:2796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MFindUsedLine(p, ye, ys) ^ ansi.c:2834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WBell(p, visual) ^ ansi.c:2861:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WReverseVideo(p, on) ^ ansi.c:2883:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WMsg(p, err, str) ^ ansi.c:2891:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] LMsg(err, str); ^~~ ansi.c:2891:13: note: treat the string as an argument to avoid this LMsg(err, str); ^ "%s", ansi.c:2896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WChangeSize(p, w, h) ^ ansi.c:2944:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WindowChangedCheck(s, what, hp) ^ ansi.c:2976:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WindowChanged(p, what) ^ 50 warnings generated. cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe fileio.c fileio.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CatExtra(str1, str2) ^ fileio.c:72:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Panic(0, strnomem); ^~~~~~~~ fileio.c:72:11: note: treat the string as an argument to avoid this Panic(0, strnomem); ^ "%s", fileio.c:80:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Panic(0, strnomem); ^~~~~~~~ fileio.c:80:11: note: treat the string as an argument to avoid this Panic(0, strnomem); ^ "%s", fileio.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] findrcfile(rcfile) ^ fileio.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] StartRc(rcfilename) ^ fileio.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] FinishRc(rcfilename) ^ fileio.c:291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_source(rcfilename) ^ fileio.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] RcLine(ubuf, ubufl) ^ fileio.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] WriteFile(user, fn, dump) ^ fileio.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadFile(fn, lenp) ^ fileio.c:580:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Msg(0, strnomem); ^~~~~~~~ fileio.c:580:14: note: treat the string as an argument to avoid this Msg(0, strnomem); ^ "%s", fileio.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] secfopen(name, mode) ^ fileio.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] secopen(name, flags, mode) ^ fileio.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printpipe(p, cmd) ^ fileio.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] readpipe(cmdv) ^ fileio.c:830:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Panic(errno, *cmdv); ^~~~~ fileio.c:830:20: note: treat the string as an argument to avoid this Panic(errno, *cmdv); ^ "%s", 16 warnings generated. cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe mark.c mark.c:90: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 is_letter(c) ^ mark.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] linestart(y) ^ mark.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lineend(y) ^ mark.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] nextword(xp, yp, flags, num) ^ mark.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] rem(x1, y1, x2, y2, redisplay, pt, yend) ^ mark.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] eq(a, b) ^ mark.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] MarkProcess(inbufp,inlenp) ^ mark.c:954: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 revto(tx, ty) ^ mark.c:961: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 revto_line(tx, ty, line) ^ mark.c:1139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MarkRedisplayLine(y, xs, xe, isblank) ^ mark.c:1230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MarkRewrite(ry, xs, xe, rend, doit) ^ mark.c:1304: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 MarkScrollUpDisplay(n) ^ mark.c:1323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MarkScrollDownDisplay(n) ^ mark.c:1350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakePaster(pa, buf, len, bufiscopy) ^ mark.c:1366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreePaster(pa) ^ 15 warnings generated. cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe misc.c misc.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] SaveStr(str) ^ misc.c:55:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Panic(0, strnomem); ^~~~~~~~ misc.c:55:14: note: treat the string as an argument to avoid this Panic(0, strnomem); ^ "%s", misc.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SaveStrn(str, n) ^ misc.c:69:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Panic(0, strnomem); ^~~~~~~~ misc.c:69:14: note: treat the string as an argument to avoid this Panic(0, strnomem); ^ "%s", misc.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] InStr(str, pat) ^ misc.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] centerline(str, y) ^ misc.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] leftline(str, y) ^ misc.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] Filename(s) ^ misc.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] stripdev(nam) ^ misc.c:191:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sigret_t (*xsignal(sig, func)) ^ misc.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xseteuid(euid) ^ misc.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] xsetegid(egid) ^ misc.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] bclear(p, n) ^ misc.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Kill(pid, sig) ^ misc.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] closeallfiles(except) ^ misc.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UserReturn(val) ^ misc.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddXChar(buf, ch) ^ misc.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddXChars(buf, len, str) ^ misc.c:565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sleep1000(msec) ^ misc.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] xsetenv(var, value) ^ misc.c:630:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _delay(delay, outc) ^ 21 warnings generated. cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe resize.c resize.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] CheckScreenSize(change_flag) ^ resize.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] ChangeScreenSize(wi, he, change_fore) ^ resize.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MayResizeLayer(l) ^ resize.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] ResizeLayer(l, wi, he, norefdisp) ^ resize.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] FreeMline(ml) ^ resize.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] AllocMline(ml, w) ^ resize.c:481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BcopyMline(mlf, xf, mlt, xt, l, w) ^ resize.c:533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CheckMaxSize(wi) ^ resize.c:560:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Panic(0, strnomem); ^~~~~~~~ resize.c:560:14: note: treat the string as an argument to avoid this Panic(0, strnomem); ^ "%s", resize.c:630:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xrealloc(mem, len) ^ resize.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] MakeBlankLine(p, n) ^ resize.c:673:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeWindowSize(p, wi, he, hi) ^ resize.c:722:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Msg(0, strnomem); ^~~~~~~~ resize.c:722:15: note: treat the string as an argument to avoid this Msg(0, strnomem); ^ "%s", resize.c:955:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Msg(0, strnomem); ^~~~~~~~ resize.c:955:15: note: treat the string as an argument to avoid this Msg(0, strnomem); ^ "%s", resize.c:1041:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeAltScreen(p) ^ resize.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] SwapAltScreen(p) ^ resize.c:1084:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EnterAltScreen(p) ^ resize.c:1096:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LeaveAltScreen(p) ^ cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe socket.c 18 warnings generated. socket.c:71:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *getenv(); ^ /usr/include/stdlib.h:110:7: note: conflicting prototype is here char *getenv(const char *); ^ socket.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] FindSocket(fdp, nfoundp, notherp, match) ^ socket.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeClientSocket(err) ^ socket.c:604:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SendCreateMsg(sty, nwin) ^ socket.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] SendErrorMsg(tty, buf) ^ socket.c:686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExecCreate(mp) ^ socket.c:739:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CheckPid(pid) ^ socket.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FinishAttach(m) ^ socket.c:1256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AskPassword(m) ^ socket.c:1263:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Panic(0, strnomem); ^~~~~~~~ socket.c:1263:14: note: treat the string as an argument to avoid this Panic(0, strnomem); ^ "%s", socket.c:1272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PasswordProcessInput(ibuf, ilen) ^ socket.c:1337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoCommandMsg(mp) ^ 12 warnings generated. cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe search.c search.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] Search(dir) ^ search.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] searchend(buf, len, data) ^ search.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] backsearchend(buf, len, data) ^ search.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] matchword(pattern, y, sx, ex) ^ search.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] is_bm(str, l, p, end, dir) ^ search.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] is_process(p, n, data) /* i-search */ ^ search.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] is_redo(markdata) ^ search.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ISearch(dir) ^ 8 warnings generated. sh ./tty.sh tty.c cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe tty.c tty.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] SigAlrmDummy SIGDEFARG ^ tty.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] OpenTTY(line, opt) ^ tty.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InitTTY(m, ttyflag) ^ tty.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] SetTTY(fd, mp) ^ tty.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] GetTTY(fd, mp) ^ tty.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] SetMode(op, np, flow, interrupt) ^ tty.c:817:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetFlow(on) ^ tty.c:881:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SttyMode(m, opt) ^ tty.c:992:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] brktty(fd) ^ tty.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] fgtty(fd) ^ tty.c:1091:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoSendBreak(fd, n, type) ^ tty.c:1196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SendBreak(wp, n, closeopen) ^ tty.c:1287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TtyGrabConsole(fd, on, rc_name) ^ tty.c:1446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TtyGetModemStatus(fd, buf) ^ tty.c:1766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lookup_baud(baud) ^ tty.c:1784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetBaud(m, ibaud, obaud) ^ 16 warnings generated. cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe term.c cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe window.c window.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] nwin_compose(def, new, res) ^ window.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] DoAutolf(buf, lenp, fr) ^ window.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] WinProcess(bufpp, lenp) ^ window.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ZombieProcess(bufpp, lenp) ^ window.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WinRedisplayLine(y, from, to, isblank) ^ window.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WinRewrite(y, x1, x2, rend, doit) ^ window.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] WinClearLine(y, xs, xe, bce) ^ window.c:456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WinResize(wi, he) ^ window.c:496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoStartLog(w, buf, bufsize) ^ window.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeWindow(newwin) ^ window.c:591:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Msg(0, strnomem); ^~~~~~~~ window.c:591:14: note: treat the string as an argument to avoid this Msg(0, strnomem); ^ "%s", window.c:623:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Msg(0, strnomem); ^~~~~~~~ window.c:623:14: note: treat the string as an argument to avoid this Msg(0, strnomem); ^ "%s", window.c:830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemakeWindow(p) ^ window.c:891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CloseDevice(wp) ^ window.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] FreeWindow(wp) ^ window.c:998:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OpenDevice(args, lflag, typep, namep) ^ window.c:1114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ForkWindow(win, args, ttyn) ^ window.c:1441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] winexec(av) ^ window.c:1467:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Msg(0, strnomem); ^~~~~~~~ window.c:1467:14: note: treat the string as an argument to avoid this Msg(0, strnomem); ^ "%s", window.c:1591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreePseudowin(w) ^ window.c:1629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReleaseAutoWritelock(dis, w) ^ window.c:1659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ObtainAutoWritelock(d, w) ^ window.c:1683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] paste_slowev_fn(ev, data) ^ window.c:1709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] muchpending(p, ev) ^ window.c:1753:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] win_readev_fn(ev, data) ^ window.c:1861:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] win_writeev_fn(ev, data) ^ window.c:1892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pseu_readev_fn(ev, data) ^ window.c:1955:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pseu_writeev_fn(ev, data) ^ window.c:1976:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] win_silenceev_fn(ev, data) ^ window.c:2002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CopyWinImage( p, dest ) ^ window.c:2054:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zmodem_parse(p, bp, len) ^ window.c:2124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zmodem_fin(buf, len, data) ^ window.c:2143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zmodem_found(p, send, bp, len) ^ window.c:2204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] zmodem_abort(p, d) ^ 34 warnings generated. cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe utmp.c utmp.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] SlotToggle(how) ^ utmp.c:266:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Msg(errno, UtmpName); ^~~~~~~~ utmp.c:266:13: note: treat the string as an argument to avoid this Msg(errno, UtmpName); ^ "%s", utmp.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] SetUtmp(wi) ^ utmp.c:496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemoveUtmp(wi) ^ utmp.c:677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getutslot(slot) ^ utmp.c:689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pututslot(slot, u, host, wi) ^ utmp.c:709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] makedead(u) ^ utmp.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] makeuser(u, line, user, pid) ^ utmp.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] TtyNameSlot(nam) ^ 9 warnings generated. cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe loadav.c loadav.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddLoadav(p) ^ loadav.c:346:27: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] sprintf(p, " %2.2f" + !i, FIX_TO_DBL(loadav[i])); ~~~~~~~~~^~~~ loadav.c:346:27: note: use array indexing to silence this warning sprintf(p, " %2.2f" + !i, FIX_TO_DBL(loadav[i])); ^ & [ ] 2 warnings generated. cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe putenv.c cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe help.c help.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] exit_with_usage(myname, message, arg) ^ help.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] display_help(class, ktabp) ^ help.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] HelpProcess(ppbuf, plen) ^ help.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddAction(act, x, y) ^ help.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] add_key_to_buf(buf, key) ^ help.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] HelpRedisplayLine(y, xs, xe, isblank) ^ help.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CopyrightProcess(ppbuf, plen) ^ help.c:640:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CopyrightRedisplayLine(y, xs, xe, isblank) ^ help.c:692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplaysProcess(ppbuf, plen) ^ help.c:820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplaysRedisplayLine(y, xs, xe, isblank) ^ help.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] WListResize(wi, he) ^ help.c:899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WListProcess(ppbuf, plen) ^ help.c:999:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WListLine(y, i, pos, isblank) ^ help.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] WListNext(wlistdata, old, delta) ^ help.c:1083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WListLines(up, oldpos) ^ help.c:1141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WListMove(num, ypos) ^ help.c:1173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WListRedisplayLine(y, xs, xe, isblank) ^ help.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] display_wlist(onblank, order) ^ help.c:1275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WListUpdate(p) ^ help.c:1304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WListUpdatecv(cv, p) ^ help.c:1386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] display_bindkey(title, tab) ^ help.c:1506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BindkeyProcess(ppbuf, plen) ^ help.c:1542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BindkeyRedisplayLine(y, xs, xe, isblank) ^ help.c:1583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ZmodemResize(wi, he) ^ help.c:1593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ZmodemRedisplayLine(y, xs, xe, isblank) ^ help.c:1616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PadStr(str, n, x, y) ^ cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe termcap.c 26 warnings generated. termcap.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] gettermcapstring(s) ^ termcap.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] InitTermcap(wi, he) ^ termcap.c:136:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Msg(0, strnomem); ^~~~~~~~ termcap.c:136:14: note: treat the string as an argument to avoid this Msg(0, strnomem); ^ "%s", termcap.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] remap(n, map) ^ termcap.c:610:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] findseq_ge(seq, k, sp) ^ termcap.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] setseqoff(p, i, o) ^ termcap.c:672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addmapseq(seq, k, nr) ^ termcap.c:746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] remmapseq(seq, k) ^ termcap.c:818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddCap(s) ^ termcap.c:844:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeTermcap(aflag) ^ termcap.c:1126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeString(cap, buf, buflen, s) ^ termcap.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] CreateTransTable(s) ^ termcap.c:1195:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Msg(0, strnomem); ^~~~~~~~ termcap.c:1195:14: note: treat the string as an argument to avoid this Msg(0, strnomem); ^ "%s", termcap.c:1214:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Msg(0, strnomem); ^~~~~~~~ termcap.c:1214:15: note: treat the string as an argument to avoid this Msg(0, strnomem); ^ "%s", termcap.c:1249:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Msg(0, strnomem); ^~~~~~~~ termcap.c:1249:15: note: treat the string as an argument to avoid this Msg(0, strnomem); ^ "%s", termcap.c:1299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copyarg(pp, s) ^ termcap.c:1327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] e_tgetent(bp, name) ^ termcap.c:1352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] findcap(cap, tepp, n) ^ termcap.c:1464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] e_tgetstr(cap, tepp) ^ termcap.c:1475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] e_tgetflag(cap) ^ termcap.c:1487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] e_tgetnum(cap) ^ 21 warnings generated. cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe input.c input.c:77: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_setprompt(p, s) ^ input.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] Input(istr, len, mode, finfunc, data) ^ input.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] InpProcess(ppbuf, plen) ^ input.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] InpRedisplayLine(y, xs, xe, isblank) ^ 4 warnings generated. cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe attacher.c attacher.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] AttachSigCont SIGDEFARG ^ attacher.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] WriteMessage(s, m) ^ attacher.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] Attach(how) ^ attacher.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AttacherSigAlarm SIGDEFARG ^ attacher.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] AttacherSigInt SIGDEFARG ^ attacher.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] AttacherFinit SIGDEFARG ^ attacher.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AttacherFinitBye SIGDEFARG ^ attacher.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] SigStop SIGDEFARG ^ attacher.c:505:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoLock SIGDEFARG ^ attacher.c:520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AttacherWinch SIGDEFARG ^ attacher.c:638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LockHup SIGDEFARG ^ attacher.c:718:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printf(LockEnd); ^~~~~~~ attacher.c:718:13: note: treat the string as an argument to avoid this printf(LockEnd); ^ "%s", attacher.c:900:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SendCmdMessage(sty, match, av) ^ 13 warnings generated. cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe pty.c pty.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] initmaster(f) ^ pty.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] InitPTY(f) ^ pty.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] OpenPTY(ttyn) ^ 3 warnings generated. cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe process.c process.c:573:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindKtab(class, create) ^ process.c:597:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Msg(0, strnomem); ^~~~~~~~ process.c:597:11: note: treat the string as an argument to avoid this Msg(0, strnomem); ^ "%s", process.c:613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClearAction(act) ^ process.c:643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ProcessInput(ibuf, ilen) ^ process.c:784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ProcessInput2(ibuf, ilen) ^ process.c:839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoProcess(p, bufp, lenp, pa) ^ process.c:900:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindCommnr(str) ^ process.c:919:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CheckArgNum(nr, args) ^ process.c:1023:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoAction(act, key) ^ process.c:2192:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Msg(0, strnomem); ^~~~~~~~ process.c:2192:13: note: treat the string as an argument to avoid this Msg(0, strnomem); ^ "%s", process.c:2279:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Msg(0, strnomem); ^~~~~~~~ process.c:2279:16: note: treat the string as an argument to avoid this Msg(0, strnomem); ^ "%s", process.c:3840: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(argv, argl) ^ process.c:3857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SaveAction(act, nr, args, argl) ^ process.c:3878:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Panic(0, strnomem); ^~~~~~~~ process.c:3878:14: note: treat the string as an argument to avoid this Panic(0, strnomem); ^ "%s", process.c:3880:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Panic(0, strnomem); ^~~~~~~~ process.c:3880:14: note: treat the string as an argument to avoid this Panic(0, strnomem); ^ "%s", process.c:3893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SaveArgs(args) ^ process.c:3902:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Panic(0, strnomem); ^~~~~~~~ process.c:3902:14: note: treat the string as an argument to avoid this Panic(0, strnomem); ^ "%s", process.c:3920:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Parse(buf, bufl, args, argl) ^ process.c:4087:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetEscape(u, e, me) ^ process.c:4124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseSwitch(act, var) ^ process.c:4137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseOnOff(act, var) ^ process.c:4161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseSaveStr(act, var) ^ process.c:4178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseNum(act, var) ^ process.c:4211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseNum1000(act, var) ^ process.c:4261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WindowByName(s) ^ process.c:4276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WindowByNumber(str) ^ process.c:4297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WindowByNoN(str) ^ process.c:4313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseWinNum(act, var) ^ process.c:4339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseBase(act, p, var, base, bname) ^ process.c:4374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IsNum(s, base) ^ process.c:4385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IsNumColon(s, base, p, psize) ^ process.c:4402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SwitchWindow(n) ^ process.c:4441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetCanvasWindow(cv, wi) ^ process.c:4538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetForeWindow(wi) ^ process.c:4565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Activate(norefresh) ^ process.c:4650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] KillWindow(wi) ^ process.c:4707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LogToggle(on) ^ process.c:4739:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddWindows(buf, len, flags, where) ^ process.c:4792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddWindowFlags(buf, len, p) ^ process.c:4831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddOtherUsers(buf, len, p) ^ process.c:4874:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ShowWindows(where) ^ process.c:5050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AKAfin(buf, len, data) ^ process.c:5080:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Colonfin(buf, len, data) ^ process.c:5100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectFin(buf, len, data) ^ process.c:5130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetenvFin1(buf, len, data) ^ process.c:5141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetenvFin2(buf, len, data) ^ process.c:5154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InputSetenv(arg) ^ process.c:5177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoScreen(fn, av) ^ process.c:5307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CompileKeys(s, sl, array) ^ process.c:5352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pow_detach_fn(buf, len, data) ^ process.c:5376: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_reg_fn(buf, len, data) ^ process.c:5396:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Msg(0, strnomem); ^~~~~~~~ process.c:5396:11: note: treat the string as an argument to avoid this Msg(0, strnomem); ^ "%s", process.c:5409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ins_reg_fn(buf, len, data) ^ process.c:5436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] process_fn(buf, len, data) ^ process.c:5457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] confirm_fn(buf, len, data) ^ process.c:5469:12: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] act.nr = (int)data; ^~~~~~~~~ process.c:5485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] su_fin(buf, len, data) ^ process.c:5501:35: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] strncpy(p, buf, 1 + (l < len) ? l : len); ~~~~~~~~~~~~~ ^ process.c:5501:35: note: place parentheses around the '+' expression to silence this warning strncpy(p, buf, 1 + (l < len) ? l : len); ^ ( ) process.c:5501:35: note: place parentheses around the '?:' expression to evaluate it first strncpy(p, buf, 1 + (l < len) ? l : len); ^ ( ) process.c:5517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InputSu(w, up, name) ^ process.c:5539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pass1(buf, len, data) ^ process.c:5557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pass2(buf, len, data) ^ process.c:5603:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Msg(0, strnomem); ^~~~~~~~ process.c:5603:11: note: treat the string as an argument to avoid this Msg(0, strnomem); ^ "%s", process.c:5616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] digraph_fn(buf, len, data) ^ process.c:5710:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StuffKey(i) ^ process.c:5746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IsOnDisplay(wi) ^ process.c:5758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindNiceWindow(wi, presel) ^ process.c:5877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResizeRegions(arg) ^ process.c:5983:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResizeFin(buf, len, data) ^ process.c:6005:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseAttrColor(s1, s2, msgok) ^ process.c:6187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ApplyAttrColor(i, mc) ^ 70 warnings generated. cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe display.c display.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] DefProcess(bufp, lenp) ^ display.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] DefRedisplayLine(y, xs, xe, isblank) ^ display.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] DefClearLine(y, xs, xe, bce) ^ display.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] DefRewrite(y, xs, xe, rend, doit) ^ display.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] DefResize(wi, he) ^ display.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] BlankResize(wi, he) ^ display.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] MakeDisplay(uname, utty, term, fd, pid, Mode) ^ display.c:456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeCanvas(cv) ^ display.c:702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RethinkViewportOffsets(cv) ^ display.c:719:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InitTerm(adapt) ^ display.c:798:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] INSERTCHAR(c) ^ display.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] PUTCHAR(c) ^ display.c:834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PUTCHARLP(c) ^ display.c:874: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_PUTCHAR(c) ^ display.c:967:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoAddChar(c) ^ display.c:976:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddCStr(s) ^ display.c:987:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddCStr2(s, c) ^ display.c:1002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertMode(on) ^ display.c:1018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] KeypadMode(on) ^ display.c:1037:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CursorkeysMode(on) ^ display.c:1056:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReverseVideo(on) ^ display.c:1070:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CursorVisibility(v) ^ display.c:1089:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MouseMode(mode) ^ display.c:1115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CountChars(c) ^ display.c:1123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CalcCost(s) ^ display.c:1139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CallRewrite(y, xs, xe, doit) ^ display.c:1200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GotoPos(x2, y2) ^ display.c:1406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClearArea(x1, y1, xs, xe, x2, y2, bce, uselayfn) ^ display.c:1524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Redisplay(cur_only) ^ display.c:1552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RedisplayDisplays(cur_only) ^ display.c:1564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrollH(y, xs, xe, n, bce, oml) ^ display.c:1661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrollV(xs, ys, xe, ye, n, bce) ^ display.c:1800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetAttr(new) ^ display.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] SetFont(new) ^ display.c:1925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] color256to16(jj) ^ display.c:1975: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(f, b) ^ display.c:2090:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetBackColor(new) ^ display.c:2100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetRendition(mc) ^ display.c:2155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetRenditionMline(ml, x) ^ display.c:2202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MakeStatus(msg) ^ display.c:2383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ShowHStatus(str) ^ display.c:2474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RefreshAll(isblank) ^ display.c:2490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RefreshArea(xs, ys, xe, ye, isblank) ^ display.c:2507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RefreshLine(y, from, to, isblank) ^ display.c:2649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WriteLP(x2, y2) ^ display.c:2680:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClearLine(oml, y, from, to, bce) ^ display.c:2727:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayLine(oml, ml, y, from, to) ^ display.c:2827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PutChar(c, x, y) ^ display.c:2847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsChar(c, x, xe, y, oml) ^ display.c:2912:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WrapChar(c, x, y, xs, ys, xe, ye, ins) ^ display.c:2996:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResizeDisplay(wi, he) ^ display.c:3024:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeScrollRegion(newtop, newbot) ^ display.c:3094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddStr(str) ^ display.c:3114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddStrn(str, n) ^ display.c:3249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplaySleep1000(n, eat) ^ display.c:3381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disp_writeev_fn(ev, data) ^ display.c:3453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disp_readev_fn(ev, data) ^ display.c:3621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disp_status_fn(ev, data) ^ display.c:3632:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disp_hstatus_fn(ev, data) ^ display.c:3647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disp_blocked_fn(ev, data) ^ display.c:3670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cv_winid_fn(ev, data) ^ display.c:3694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disp_map_fn(ev, data) ^ display.c:3729:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disp_idle_fn(ev, data) ^ display.c:3768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] disp_blanker_fn(ev, data) ^ display.c:3830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RunBlanker(cmdv) ^ display.c:3912:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Panic(errno, *cmdv); ^~~~~ display.c:3912:20: note: treat the string as an argument to avoid this Panic(errno, *cmdv); ^ "%s", 66 warnings generated. cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe comm.c cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe kmapdef.c cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe acls.c acls.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] GrowBitfield(bfp, len, delta, defaultbit) ^ acls.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindUserPtr(name) ^ acls.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UserAdd(name, pass, up) ^ acls.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UserDel(name, up) ^ acls.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] UserFreeCopyBuffer(u) ^ acls.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] FindGroupPtr(gp, u, recursive) ^ acls.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] AclLinkUser(from, to) ^ acls.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoSu(up, name, pw1, pw2) ^ acls.c:600:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewWindowAcl(w, u) ^ acls.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeWindowAcl(w) ^ acls.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AclSetPermCmd(u, mode, cmd) ^ acls.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] AclSetPermWin(uu, u, mode, win) ^ acls.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AclSetPerm(uu, u, mode, s) ^ acls.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] UserAcl(uu, u, argc, argv) ^ acls.c:892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UserAclCopy(to_up, from_up) ^ acls.c:947:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UsersAcl(uu, argc, argv) ^ acls.c:1008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AclUmask(u, str, errp) ^ acls.c:1052:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AclWinSwap(a, b) ^ acls.c:1061:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AclCheckPermWin(u, mode, w) ^ acls.c:1099:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AclCheckPermCmd(u, mode, c) ^ cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe braille.c 20 warnings generated. cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe braille_tsi.c cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe logfile.c logfile.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] changed_logfile(l) ^ logfile.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lf_move_fd(fd, need_fd) ^ logfile.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] logfile_reopen(name, wantfd, l) ^ logfile.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] logreopen_register(fn) ^ logfile.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] stolen_logfile(l) ^ logfile.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lookup_logfile(name) ^ logfile.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] logfopen(name, fp) ^ logfile.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] islogfile(name) ^ logfile.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] logfclose(l) ^ logfile.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] logfwrite(l, buf, n) ^ logfile.c:260:40: 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] if (stolen_logfile(l) && lf_reopen_fn(l->name, fileno(l->fp), l)) ^ logfile.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] logfflush(l) ^ logfile.c:278:39: 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] if (stolen_logfile(l) && lf_reopen_fn(l->name, fileno(l->fp), l)) ^ logfile.c:286:44: 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] if (stolen_logfile(l) && lf_reopen_fn(l->name, fileno(l->fp), l)) ^ 14 warnings generated. cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe layer.c layer.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mloff(ml, off) ^ layer.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LGotoPos(l, x, y) ^ layer.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] LScrollH(l, n, y, xs, xe, bce, ol) ^ layer.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] LScrollV(l, n, ys, ye, bce) ^ layer.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LInsChar(l, c, x, y, ol) ^ layer.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] LPutChar(l, c, x, y) ^ layer.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] LPutStr(l, s, n, r, x, y) ^ layer.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LPutWinMsg(l, s, n, r, x, y) ^ layer.c:461:15: warning: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] LClearLine(l, y, xs, xe, bce, ol) ^ layer.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LClearLine(l, y, xs, xe, bce, ol) ^ layer.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LClearArea(l, xs, ys, xe, ye, bce, uself) ^ layer.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] LCDisplayLine(l, ml, y, xs, xe, isblank) ^ layer.c:611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LCDisplayLineWrap(l, ml, y, from, to, isblank) ^ layer.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LSetRendition(l, r) ^ layer.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] LWrapChar(l, c, y, top, bot, ins) ^ layer.c:770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LCursorVisibility(l, vis) ^ layer.c:787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LSetFlow(l, flow) ^ layer.c:802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LKeypadMode(l, on) ^ layer.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] LCursorkeysMode(l, on) ^ layer.c:836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LMouseMode(l, on) ^ layer.c:856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LClearAll(l, uself) ^ layer.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] LRefreshAll(l, isblank) ^ layer.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] KillLayerChain(lay) ^ layer.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] InitOverlayPage(datasize, lf, block) ^ 24 warnings generated. cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe sched.c sched.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] evenq(ev) ^ sched.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] evdeq(ev) ^ sched.c:130:21: warning: incompatible pointer types passing 'struct window *' to parameter of type 'struct win *' [-Wincompatible-pointer-types] CopyWinImage( windows, shm ); ^~~~~~~ ./extern.h:144:44: note: passing argument to parameter here extern void CopyWinImage __P((struct win *, char *)); ^ sched.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] SetTimeout(ev, timo) ^ 4 warnings generated. cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe teln.c cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe nethack.c nethack.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] DoNLS(from) ^ 1 warning generated. cc -c -I. -I. -DIPC_EXPORT_IMAGE -O2 -pipe encoding.c encoding.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] recode_char(c, to_utf, font) ^ encoding.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] recode_char_dw(c, c2p, to_utf, font) ^ encoding.c:456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] recode_char_to_encoding(c, encoding) ^ encoding.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] recode_char_dw_to_encoding(c, c2p, encoding) ^ encoding.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] recode_mchar(mc, from, to) ^ encoding.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] recode_mline(ml, w, from, to) ^ encoding.c:639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddUtf8(c) ^ encoding.c:662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ToUtf8_comb(p, c) ^ encoding.c:677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ToUtf8(p, c) ^ encoding.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FromUtf8(c, utf8charp) ^ encoding.c:766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WinSwitchEncoding(p, encoding) ^ encoding.c:849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] utf8_isdouble(c) ^ encoding.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] utf8_iscomb(c) ^ encoding.c:931:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] comb_tofront(root, i) ^ encoding.c:951:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] utf8_handle_comb(c, mc) ^ encoding.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] encmatch(s1, s2) ^ encoding.c:1073:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindEncoding(name) ^ encoding.c:1101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EncodingName(encoding) ^ encoding.c:1110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EncodingDefFont(encoding) ^ encoding.c:1117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResetEncoding(p) ^ encoding.c:1141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DecodeChar(c, encoding, statep) ^ encoding.c:1237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EncodeChar(bp, c, encoding, fontp) ^ encoding.c:1413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CanEncodeFont(encoding, f) ^ encoding.c:1442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrepareEncodedChar(c) ^ encoding.c:1495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RecodeBuf(fbuf, flen, fenc, tenc, tbuf) ^ encoding.c:1520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ContainsSpecialDeffont(ml, xs, xe, encoding) ^ encoding.c:1551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadFontTranslation(font, file) ^ encoding.c:1642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LoadFontTranslationsForEncoding(encoding) ^ 28 warnings generated. cc -o screen screen.o ansi.o fileio.o mark.o misc.o resize.o socket.o search.o tty.o term.o window.o utmp.o loadav.o putenv.o help.o termcap.o input.o attacher.o pty.o process.o display.o comm.o kmapdef.o acls.o braille.o braille_tsi.o logfile.o layer.o sched.o teln.o nethack.o encoding.o -lcurses -lutil -lutil ld: warning: misc.c(misc.o:(SaveStr)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: ansi.c(ansi.o:(GetAnsiStatus)): warning: sprintf() is often misused, please use snprintf() ld: warning: screen.c(screen.o:(MakeWinMsgEv)): warning: strcat() is almost always misused, please use strlcat() cd doc; /usr/bin/make screen.info `screen.info' is up to date. >>> Running package in misc/screen-shm at 1734970102.50 ===> misc/screen-shm ===> Faking installation for screen-4.0.3p9-shm ./etc/mkinstalldirs /exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm/usr/local/bin /exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm`sed < config.h -n -e '/define SCREENENCODINGS/s/^.*"\([^"]*\)"/\1/p'` mkdir /exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm/usr/local/share/screen mkdir /exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm/usr/local/share/screen/utf8encodings cd doc ; /usr/bin/make installdirs ./../etc/mkinstalldirs /exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm/usr/local/man/man1 /exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm/usr/local/info if [ -f /exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm/usr/local/bin/screen-4.0.3 ] && [ ! -f /exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm/usr/local/bin/screen-4.0.3.old ]; then mv /exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm/usr/local/bin/screen-4.0.3 /exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm/usr/local/bin/screen-4.0.3.old; fi /exopi-obj/pobj/screen-4.0.3-shm/bin/install -c -s -m 755 screen /exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm/usr/local/bin/screen-4.0.3 chown root /exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm/usr/local/bin/screen-4.0.3 && chmod 4755 /exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm/usr/local/bin/screen-4.0.3 if [ -f /exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm/usr/local/bin/screen ] && [ ! -f /exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm/usr/local/bin/screen.old ]; then mv /exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm/usr/local/bin/screen /exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm/usr/local/bin/screen.old; fi rm -f /exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm/usr/local/bin/screen (cd /exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm/usr/local/bin && ln -sf screen-4.0.3 screen) cp ./utf8encodings/?? /exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm`sed < config.h -n -e '/define SCREENENCODINGS/s/^.*"\([^"]*\)"/\1/p'` cd doc ; /usr/bin/make install ./../etc/mkinstalldirs /exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm/usr/local/man/man1 /exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm/usr/local/info /exopi-obj/pobj/screen-4.0.3-shm/bin/install -c -m 644 ./screen.1 /exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm/usr/local/man/man1/screen.1 /usr/bin/make screen.info `screen.info' is up to date. if test -f screen.info; then d=.; else d=.; fi; if test -f $d/screen.info; then for f in $d/screen.info*; do /exopi-obj/pobj/screen-4.0.3-shm/bin/install -c -m 644 $f /exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm/usr/local/info;done; if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then install-info --info-dir=/exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm/usr/local/info $d/screen.info; else true; fi; fi if [ -d /usr/lib/terminfo ]; then PATH="$PATH:/usr/5bin" tic ./terminfo/screeninfo.src; chmod 644 /usr/lib/terminfo/s/screen*; fi termcap entry (./terminfo/screencap) should be installed manually. You may also want to install ./etc/etcscreenrc in /etc/screenrc /exopi-obj/pobj/screen-4.0.3-shm/bin/install -d -m 755 /exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm/usr/local/share/examples/screen /exopi-obj/pobj/screen-4.0.3-shm/bin/install -c -m 644 /exopi-obj/pobj/screen-4.0.3-shm/screen-4.0.3/etc/etcscreenrc /exopi-obj/pobj/screen-4.0.3-shm/fake-amd64-shm/usr/local/share/examples/screen/screenrc ===> Building package for screen-4.0.3p9-shm Create /exopi-cvs/ports/packages/amd64/all/screen-4.0.3p9-shm.tgz Creating package screen-4.0.3p9-shm reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|** | 3% checksumming|*** | 6% checksumming|***** | 8% checksumming|******* | 11% checksumming|******** | 14% checksumming|********** | 17% checksumming|************ | 19% checksumming|************** | 22% checksumming|*************** | 25% checksumming|***************** | 28% checksumming|******************* | 31% checksumming|******************** | 33% checksumming|********************** | 36% checksumming|************************ | 39% checksumming|************************* | 42% checksumming|*************************** | 44% checksumming|***************************** | 47% checksumming|******************************* | 50% checksumming|******************************** | 53% checksumming|********************************** | 56% checksumming|************************************ | 58% checksumming|************************************* | 61% checksumming|*************************************** | 64% checksumming|***************************************** | 67% checksumming|****************************************** | 69% checksumming|******************************************** | 72% checksumming|********************************************** | 75% checksumming|*********************************************** | 78% checksumming|************************************************* | 81% checksumming|*************************************************** | 83% checksumming|***************************************************** | 86% checksumming|****************************************************** | 89% checksumming|******************************************************** | 92% checksumming|********************************************************** | 94% checksumming|*********************************************************** | 97% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|************************ | 38% archiving|*************************** | 42% archiving|****************************** | 47% archiving|********************************* | 51% archiving|************************************ | 56% archiving|************************************* | 59% archiving|************************************************ | 75% archiving|************************************************** | 78% archiving|*************************************************** | 80% archiving|***************************************************** | 83% archiving|******************************************************* | 86% archiving|********************************************************** | 91% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/screen-4.0.3p9-shm.tgz >>> Running clean in misc/screen-shm at 1734970104.58 ===> misc/screen-shm ===> Cleaning for screen-4.0.3p9-shm >>> Ended at 1734970105.10 max_stuck=3.71/waiting-for-lock #58=7.04/show-prepare-results=1.09/build=28.87/package=2.08/clean=0.55