=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/xscript", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xscript-19930228nb2 --- scope.o --- --- common.o --- --- scope.o --- clang -pipe -Os -I/opt/pkg/include -Wno-error=return-type -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c scope.c --- common.o --- rm -f common.o clang -c -pipe -Os -I/opt/pkg/include -Wno-error=return-type -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED common.c common.c:20:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 20 | enterprocedure(s) | ^ | int common.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] common.c:24:1: warning: non-void function does not return a value [-Wreturn-type] 24 | } | ^ common.c:26:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 26 | warn(s) | ^ | int common.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] common.c:30:1: warning: non-void function does not return a value [-Wreturn-type] 30 | } | ^ common.c:32:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 32 | panic(s) | ^ | int common.c:36:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | exit(1); | ^ common.c:36:3: note: include the header or explicitly provide a declaration for 'exit' common.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | panic(s) | ^ common.c:45:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 45 | extern char *malloc(); | ^ common.c:45:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' common.c:51:21: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | p = (char *)malloc((unsigned int)n); | ^ common.c:52:42: warning: format specifies type 'unsigned int' but the argument has type 'char *' [-Wformat] 52 | debug(64,(stderr, "%x = malloc(%d)\n", p, n)); | ~~ ^ | %s ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ common.c:52:45: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 52 | debug(64,(stderr, "%x = malloc(%d)\n", p, n)); | ~~ ^ | %ld ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ common.c:47:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | char *Malloc (n) | ^ In file included from common.c:11: ./scope.h:37:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | extern char *Malloc (); | ^ common.c:58:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 58 | Free(p) | ^ | int common.c:61:36: warning: format specifies type 'unsigned int' but the argument has type 'char *' [-Wformat] 61 | debug(64,(stderr, "%x = free\n", p)); | ~~ ^ | %s ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ common.c:62:3: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | free(p); | ^ common.c:62:3: note: include the header or explicitly provide a declaration for 'free' common.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | Free(p) | ^ common.c:63:1: warning: non-void function does not return a value [-Wreturn-type] 63 | } | ^ common.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | SignalURG(n) | ^ common.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | SignalPIPE(n) | ^ common.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | SignalINT(n) | ^ common.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | SignalQUIT(n) | ^ common.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | SignalTERM(n) | ^ common.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | SignalTSTP(n) | ^ common.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | SignalCONT(n) | ^ common.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | SignalUSR1(n) | ^ common.c:151:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 151 | SetSignalHandling() | ^ | int common.c:165:1: warning: non-void function does not return a value [-Wreturn-type] 165 | } | ^ --- scope.o --- scope.c:107:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | enterprocedure("GetServerport"); | ^ --- common.o --- common.c:191:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 191 | SetUpConnectionSocket(iport) | ^ | int --- scope.o --- scope.c:118:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | enterprocedure("GetScopePort"); | ^ --- common.o --- common.c:284:3: warning: call to undeclared function 'UsingFD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 284 | UsingFD(ConnectionSocket, NewConnection); | ^ common.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- scope.o --- scope.c:129:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 129 | Usage(xscript) | ^ | int --- common.o --- 191 | SetUpConnectionSocket(iport) | ^ common.c:285:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 285 | } | ^ --- scope.o --- scope.c:158:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 158 | exit(1); | ^ scope.c:158:3: note: include the header or explicitly provide a declaration for 'exit' scope.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | Usage(xscript) | ^ scope.c:166:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 166 | ScanArgs(argc, argv) | ^ | int scope.c:191:19: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 191 | debuglevel = atoi(++*argv); | ^ scope.c:223:47: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 223 | debug(1,(stderr, "ServerOutPort = %d\n", ServerOutPort)); | ~~ ^~~~~~~~~~~~~ | %ld ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ scope.c:230:45: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 230 | debug(1,(stderr, "ServerDisplay=%d\n", ServerDisplay)); | ~~ ^~~~~~~~~~~~~ | %ld ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ scope.c:237:46: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 237 | debug(1,(stderr, "ServerInPort = %d\n", ServerInPort)); | ~~ ^~~~~~~~~~~~ | %ld ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ scope.c:242:49: warning: passing arguments to 'OfficialName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | (void)strcpy(ServerHostName, OfficialName(*argv)); | ^ scope.c:294:38: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 294 | debug(1,(stderr, "Wait = %d\n", Wait)); | ~~ ^~~~ | %ld ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ scope.c:300:46: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 300 | debug(1,(stderr, "TimeDilation = %d\n", TimeDilation)); | ~~ ^~~~~~~~~~~~ | %ld ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ scope.c:306:49: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 306 | debug(1,(stderr, "DoubleClickTime = %d\n", DoubleClickTime)); | ~~ ^~~~~~~~~~~~~~~ | %ld ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ scope.c:327:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 326 | fprintf(stderr, "Can't have xscope on same port as server (%d)\n", | ~~ | %ld 327 | ServerInPort); | ^~~~~~~~~~~~ scope.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | ScanArgs(argc, argv) | ^ scope.c:331:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 331 | } | ^ scope.c:338:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 338 | main(argc, argv) | ^ | int scope.c:346:3: warning: call to undeclared function 'InitializeFD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 346 | InitializeFD(); | ^ scope.c:349:3: warning: call to undeclared function 'InitializeX11'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 349 | InitializeX11(); | ^ scope.c:357:3: warning: call to undeclared function 'SetUpStdin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 357 | SetUpStdin(); | ^ scope.c:359:3: warning: call to undeclared function 'SetUpConnectionSocket'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 359 | SetUpConnectionSocket(GetScopePort()); | ^ scope.c:360:3: warning: call to undeclared function 'SetSignalHandling'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 360 | SetSignalHandling(); | ^ scope.c:362:3: warning: call to undeclared function 'MainLoop'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 362 | MainLoop(); | ^ scope.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | main(argc, argv) | ^ scope.c:381:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 381 | ReadStdin(fd) | ^ | int scope.c:387:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 387 | enterprocedure("ReadStdin"); | ^ scope.c:389:50: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 389 | debug(4,(stderr, "read %d bytes from stdin\n", n)); | ~~ ^ | %ld ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ scope.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | ReadStdin(fd) | ^ scope.c:390:1: warning: non-void function does not return a value [-Wreturn-type] 390 | } | ^ scope.c:392:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 392 | SetUpStdin() | ^ | int scope.c:394:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 394 | enterprocedure("SetUpStdin"); | ^ scope.c:395:3: warning: call to undeclared function 'UsingFD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 395 | UsingFD(fileno(stdin), ReadStdin); | ^ scope.c:396:1: warning: non-void function does not return a value [-Wreturn-type] 396 | } | ^ scope.c:403:67: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 403 | fprintf (stderr, " %d errors encountered during playback\n", Errorcount ); | ~~ ^~~~~~~~~~ | %lu scope.c:433:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 433 | SetUpPair(client, server) | ^ | int scope.c:442:2: warning: call to undeclared function 'warn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 442 | warn ("recording more than one client does not work very well."); | ^ scope.c:457:2: warning: call to undeclared function 'NotUsingFD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 457 | NotUsingFD(server); | ^ scope.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | SetUpPair(client, server) | ^ scope.c:459:1: warning: non-void function does not return a value [-Wreturn-type] 459 | } | ^ scope.c:462:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 462 | CloseConnection(fd) | ^ | int scope.c:465:45: warning: call to undeclared function 'FDPair'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 465 | debug(4,(stderr, "close %d and %d\n", fd, FDPair(fd))); | ^ scope.c:466:3: warning: call to undeclared function 'StopClientConnection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 466 | StopClientConnection(ServerHalf(fd)); | ^ scope.c:466:24: warning: call to undeclared function 'ServerHalf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 466 | StopClientConnection(ServerHalf(fd)); | ^ scope.c:467:3: warning: call to undeclared function 'StopServerConnection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 467 | StopServerConnection(ClientHalf(fd)); | ^ scope.c:467:24: warning: call to undeclared function 'ClientHalf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 467 | StopServerConnection(ClientHalf(fd)); | ^ scope.c:470:3: warning: call to undeclared function 'NotUsingFD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 470 | NotUsingFD(fd); | ^ scope.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | CloseConnection(fd) | ^ scope.c:474:1: warning: non-void function does not return a value [-Wreturn-type] 474 | } | ^ scope.c:478:4: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | FD FDPair(fd) | ^ scope.c:484:4: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | FD ClientHalf(fd) | ^ scope.c:492:4: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | FD ServerHalf(fd) | ^ scope.c:507:30: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 507 | (void)sprintf(name, " %d", FDinfo[fd].ClientNumber); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~ | %ld /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ scope.c:500:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | char *ClientName (fd) | ^ In file included from scope.c:13: ./scope.h:38:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | char *ClientName (); | ^ scope.c:530:55: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 530 | debug(128,(stderr, "select %d, wfds = 0%o\n", fd+1, wfds)); | ~~ ^~~~ | %lo ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ scope.c:531:24: warning: incompatible pointer types passing 'long *' to parameter of type 'fd_set *' (aka 'struct fd_set *') [-Wincompatible-pointer-types] 531 | nfds = select (fd+1, &rfds, &wfds, &xfds, | ^~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_select.h:43:41: note: passing argument to parameter here 43 | int select(int, fd_set * __restrict, fd_set * __restrict, | ^ scope.c:531:31: warning: incompatible pointer types passing 'long *' to parameter of type 'fd_set *' (aka 'struct fd_set *') [-Wincompatible-pointer-types] 531 | nfds = select (fd+1, &rfds, &wfds, &xfds, | ^~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_select.h:43:62: note: passing argument to parameter here 43 | int select(int, fd_set * __restrict, fd_set * __restrict, | ^ scope.c:531:38: warning: incompatible pointer types passing 'long *' to parameter of type 'fd_set *' (aka 'struct fd_set *') [-Wincompatible-pointer-types] 531 | nfds = select (fd+1, &rfds, &wfds, &xfds, | ^~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_select.h:44:24: note: passing argument to parameter here 44 | fd_set * __restrict, struct timeval * __restrict) | ^ scope.c:533:61: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 533 | debug(128,(stderr, "select nfds = 0%o, wfds 0%o\n", nfds, wfds)); | ~~ ^~~~ | %lo ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ scope.c:521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | WaitUntilWriteable (fd) | ^ scope.c:544:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 544 | DataFromClient(fd) | ^ | int scope.c:551:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 551 | enterprocedure("DataFromClient"); | ^ scope.c:553:53: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 553 | debug(4,(stderr, "read %d bytes from Client%s\n", n, ClientName(fd))); | ~~ ^ | %ld ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ scope.c:557:7: warning: call to undeclared function 'PrintTime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 557 | PrintTime(); | ^ scope.c:560:7: warning: non-void function 'DataFromClient' should return a value [-Wreturn-mismatch] 560 | return; | ^ scope.c:564:7: warning: call to undeclared function 'PrintTime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 564 | PrintTime(); | ^ scope.c:577:5: warning: non-void function 'DataFromClient' should return a value [-Wreturn-mismatch] 577 | return; | ^ scope.c:583:18: warning: call to undeclared function 'ConnectToServer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 583 | ServerFD = ConnectToServer(false); | ^ scope.c:618:3: warning: call to undeclared function 'ReportFromClient'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 618 | ReportFromClient(fd, buf, n); | ^ scope.c:544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | DataFromClient(fd) | ^ scope.c:619:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 619 | } | ^ scope.c:626:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 626 | WriteToClient (fd, buf, n) | ^ | int scope.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] scope.c:660:1: warning: non-void function does not return a value [-Wreturn-type] 660 | } | ^ scope.c:669:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 669 | DataFromServer(fd) | ^ | int scope.c:676:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 676 | enterprocedure("DataFromServer"); | ^ scope.c:678:53: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 678 | debug(4,(stderr, "read %d bytes from Server%s\n", n, ClientName(fd))); | ~~ ^ | %ld ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ scope.c:681:7: warning: call to undeclared function 'PrintTime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 681 | PrintTime(); | ^ scope.c:684:7: warning: non-void function 'DataFromServer' should return a value [-Wreturn-mismatch] 684 | return; | ^ scope.c:689:2: warning: call to undeclared function 'PrintTime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 689 | PrintTime(); | ^ scope.c:703:7: warning: non-void function 'DataFromServer' should return a value [-Wreturn-mismatch] 703 | return; | ^ scope.c:710:7: warning: non-void function 'DataFromServer' should return a value [-Wreturn-mismatch] 710 | return; | ^ scope.c:726:3: warning: call to undeclared function 'ReportFromServer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 726 | ReportFromServer(fd, buf, n); | ^ scope.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | DataFromServer(fd) | ^ scope.c:728:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 728 | } | ^ scope.c:740:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 740 | NewConnection(fd) | ^ | int scope.c:746:14: warning: call to undeclared function 'ConnectToClient'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 746 | ClientFD = ConnectToClient(fd); | ^ scope.c:747:14: warning: call to undeclared function 'ConnectToServer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 747 | ServerFD = ConnectToServer(true); | ^ scope.c:740:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | NewConnection(fd) | ^ scope.c:749:1: warning: non-void function does not return a value [-Wreturn-type] 749 | } | ^ scope.c:761:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 761 | enterprocedure("ConnectToClient"); | ^ scope.c:763:65: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 763 | ClientFD = accept(ConnectionSocket, (struct sockaddr *)&from, &len); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:708:73: note: passing argument to parameter here 708 | int accept(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ scope.c:768:7: warning: call to undeclared function 'panic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 768 | panic("Can't connect to Client"); | ^ scope.c:773:7: warning: call to undeclared function 'panic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 773 | panic("Can't connect to Client"); | ^ scope.c:776:3: warning: call to undeclared function 'UsingFD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 776 | UsingFD(ClientFD, DataFromClient); | ^ scope.c:792:3: warning: call to undeclared function 'StartClientConnection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 792 | StartClientConnection(ClientFD); | ^ scope.c:754:4: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | FD ConnectToClient(ConnectionSocket) | ^ scope.c:816:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 816 | enterprocedure("ConnectToServer"); | ^ scope.c:825:7: warning: call to undeclared function 'panic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 825 | panic("Can't open connection to Server"); | ^ scope.c:847:7: warning: call to undeclared function 'panic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 847 | panic("Can't open connection to Server"); | ^ scope.c:860:7: warning: call to undeclared function 'panic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 860 | panic(error_message); | ^ scope.c:882:6: warning: call to undeclared function 'warn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 882 | warn("Can't open connection to Server"); | ^ scope.c:887:4: warning: call to undeclared function 'panic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 887 | panic("Can't open connection to Server"); | ^ scope.c:894:7: warning: call to undeclared function 'UsingFD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 894 | UsingFD(ServerFD, DataFromServer); | ^ scope.c:895:7: warning: call to undeclared function 'StartServerConnection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 895 | StartServerConnection(ServerFD); | ^ scope.c:805:4: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | FD ConnectToServer(report) | ^ scope.c:905:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | char *OfficialName(name) | ^ scope.c:162:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 162 | char *OfficialName(); /* forward type declaration */ | ^ scope.c:933:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 933 | enterprocedure("DataOnXDisplay"); | ^ scope.c:936:5: warning: call to undeclared function 'panic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 936 | panic ("impossible...fd mismatch in DataOnXDisplay"); | ^ scope.c:946:33: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XMappingEvent *' [-Wincompatible-pointer-types] 946 | XRefreshKeyboardMapping ( &ev ); | ^~~ /var/tmp/work/x11/xscript/work/.buildlink/include/X11/Xlib.h:3079:1: note: passing argument to parameter here 3079 | ); | ^ scope.c:927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | DataOnXDisplay (fd) | ^ scope.c:77:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | void DataOnXDisplay (); | ^ scope.c:965:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 965 | enterprocedure("SetUpXDisplay"); | ^ scope.c:982:5: warning: call to undeclared function 'panic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- common.o --- 34 warnings generated. --- scope.o --- 982 | panic(error_message); | ^ scope.c:990:5: warning: call to undeclared function 'panic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 990 | panic(error_message); | ^ scope.c:994:3: warning: call to undeclared function 'UsingFD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 994 | UsingFD (displayFD, DataOnXDisplay); | ^ --- fd.o --- clang -pipe -Os -I/opt/pkg/include -Wno-error=return-type -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c fd.c --- scope.o --- 118 warnings generated. --- server.o --- clang -pipe -Os -I/opt/pkg/include -Wno-error=return-type -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c server.c --- fd.o --- fd.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | add_millisecs (delta, time) | ^ fd.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | time_compare (t1, t2) | ^ fd.c:89:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 89 | register i = time_compare (t1, t2); | ~~~~~~~~ ^ | int fd.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | time_subtract (out, t1, t2) | ^ fd.c:130:41: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | register Timer * t = (Timer *) Malloc (sizeof(Timer)); | ^ fd.c:139:7: warning: format specifies type 'int' but the argument has type 'TimerID' (aka 'unsigned long') [-Wformat] 138 | "insert %d %d %d %d\n", | ~~ | %lu 139 | result, | ^~~~~~ ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ fd.c:140:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 138 | "insert %d %d %d %d\n", | ~~ | %lu 139 | result, 140 | delay, | ^~~~~ ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ fd.c:141:7: warning: format specifies type 'int' but the argument has type '__darwin_time_t' (aka 'long') [-Wformat] 138 | "insert %d %d %d %d\n", | ~~ | %ld 139 | result, 140 | delay, 141 | t->time.tv_sec, | ^~~~~~~~~~~~~~ ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ fd.c:148:7: warning: format specifies type 'int' but the argument has type '__darwin_time_t' (aka 'long') [-Wformat] 147 | "insert time to fire %d %d\n", | ~~ | %ld 148 | t->time.tv_sec, | ^~~~~~~~~~~~~~ ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ fd.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | CreateTimer (delay, handler, user_data) | ^ In file included from fd.c:11: In file included from ./scope.h:49: ./fd.h:35:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | extern TimerID CreateTimer(); | ^ fd.c:205:7: warning: call to undeclared function 'Free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 205 | Free (n); | ^ fd.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | DeleteTimer (timer) | ^ In file included from fd.c:11: In file included from ./scope.h:49: ./fd.h:36:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | extern void DeleteTimer(); | ^ fd.c:232:7: warning: format specifies type 'int' but the argument has type '__darwin_time_t' (aka 'long') [-Wformat] 231 | "main loop time now %d %d\n", | ~~ | %ld 232 | now.tv_sec, | ^~~~~~~~~~ ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ fd.c:242:9: warning: format specifies type 'int' but the argument has type 'TimerID' (aka 'unsigned long') [-Wformat] 241 | "deliver %d %d %d\n", | ~~ | %lu 242 | t->timer, | ^~~~~~~~ ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ fd.c:243:9: warning: format specifies type 'int' but the argument has type '__darwin_time_t' (aka 'long') [-Wformat] 241 | "deliver %d %d %d\n", | ~~ | %ld 242 | t->timer, 243 | t->time.tv_sec, | ^~~~~~~~~~~~~~ ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ fd.c:246:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | (t->handler) (t->timer, t->user_data); | ^ fd.c:247:5: warning: call to undeclared function 'Free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 247 | Free (t); | ^ fd.c:258:17: warning: call to undeclared function 'panic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 258 | if (i <= 0) panic ("cant happen in HandleTimers"); | ^ fd.c:261:9: warning: format specifies type 'int' but the argument has type '__darwin_time_t' (aka 'long') [-Wformat] 260 | "waitfor %d %d\n", | ~~ | %ld 261 | diff.tv_sec, | ^~~~~~~~~~~ ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ fd.c:276:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 276 | InitializeFD() | ^ | int fd.c:280:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 280 | enterprocedure("InitializeFD"); | ^ fd.c:295:12: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | Malloc ((long)(MaxFD * sizeof (struct FDDescriptor))); | ^ fd.c:314:3: warning: call to undeclared function 'UsingFD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 314 | UsingFD(fileno(stdin), (int (*)())NULL); | ^ fd.c:317:1: warning: non-void function does not return a value [-Wreturn-type] 317 | } | ^ fd.c:321:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 321 | UsingFD(fd, Handler) | ^ | int fd.c:326:5: warning: call to undeclared function 'NotUsingFD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 326 | NotUsingFD(fd); | ^ fd.c:340:5: warning: call to undeclared function 'panic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 340 | panic("no more FDs"); | ^ fd.c:321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | UsingFD(fd, Handler) | ^ fd.c:343:1: warning: non-void function does not return a value [-Wreturn-type] 343 | } | ^ fd.c:347:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 347 | NotUsingFD(fd) | ^ | int fd.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] fd.c:362:1: warning: non-void function does not return a value [-Wreturn-type] 362 | } | ^ fd.c:366:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 366 | EOFonFD(fd) | ^ | int fd.c:369:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 369 | enterprocedure("EOFonFD"); | ^ fd.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | EOFonFD(fd) | ^ fd.c:373:1: warning: non-void function does not return a value [-Wreturn-type] 373 | } | ^ fd.c:385:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 385 | MainLoop() | ^ | int fd.c:387:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 387 | enterprocedure("MainLoop"); | ^ fd.c:406:7: warning: incompatible pointer types passing 'int *' to parameter of type 'fd_set *' (aka 'struct fd_set *') [-Wincompatible-pointer-types] 406 | &rfds, &wfds, &xfds, | ^~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_select.h:43:41: note: passing argument to parameter here 43 | int select(int, fd_set * __restrict, fd_set * __restrict, | ^ fd.c:406:14: warning: incompatible pointer types passing 'int *' to parameter of type 'fd_set *' (aka 'struct fd_set *') [-Wincompatible-pointer-types] 406 | &rfds, &wfds, &xfds, | ^~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_select.h:43:62: note: passing argument to parameter here 43 | int select(int, fd_set * __restrict, fd_set * __restrict, | ^ fd.c:406:21: warning: incompatible pointer types passing 'int *' to parameter of type 'fd_set *' (aka 'struct fd_set *') [-Wincompatible-pointer-types] 406 | &rfds, &wfds, &xfds, | ^~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/_select.h:44:24: note: passing argument to parameter here 44 | fd_set * __restrict, struct timeval * __restrict) | ^ fd.c:424:4: warning: call to undeclared function 'panic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 424 | panic("Select returns error"); | ^ fd.c:449:8: warning: call to undeclared function 'panic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 449 | panic("FD selected with no handler"); | ^ fd.c:453:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | (FDD[fd].InputHandler)(fd); | ^ 46 warnings generated. --- decode11.o --- clang -pipe -Os -I/opt/pkg/include -Wno-error=return-type -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c decode11.c --- server.o --- In file included from server.c:12: ./x11.h:475:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 475 | extern PrintString8(); | ~~~~~~ ^ | int ./x11.h:476:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 476 | extern PrintString16(); | ~~~~~~ ^ | int ./x11.h:477:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 477 | extern PrintListSTR(); | ~~~~~~ ^ | int server.c:21:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 21 | ReportFromClient(fd, buf, n) | ^ | int server.c:27:7: warning: call to undeclared function 'PrintTime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | PrintTime(); | ^ server.c:29:18: warning: passing arguments to 'ClientName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | ClientName(fd), n, (n == 1 ? "byte" : "bytes")); | ^ server.c:29:24: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 28 | fprintf(stdout, "Client%s --> %4d %s\n", | ~~~ | %4ld 29 | ClientName(fd), n, (n == 1 ? "byte" : "bytes")); | ^ server.c:31:3: warning: call to undeclared function 'ProcessBuffer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 31 | ProcessBuffer(fd, buf, n); | ^ server.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | ReportFromClient(fd, buf, n) | ^ server.c:32:1: warning: non-void function does not return a value [-Wreturn-type] 32 | } | ^ server.c:34:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 34 | ReportFromServer(fd, buf, n) | ^ | int server.c:40:7: warning: call to undeclared function 'PrintTime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 40 | PrintTime(); | ^ server.c:42:50: warning: passing arguments to 'ClientName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | n, (n == 1 ? "byte" : "bytes"), ClientName(fd)); | ^ server.c:42:8: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 41 | fprintf(stdout, "\t\t\t\t\t%4d %s <-- X11 Server%s\n", | ~~~ | %4ld 42 | n, (n == 1 ? "byte" : "bytes"), ClientName(fd)); | ^ server.c:44:3: warning: call to undeclared function 'ProcessBuffer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 44 | ProcessBuffer(fd, buf, n); | ^ server.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | ReportFromServer(fd, buf, n) | ^ server.c:45:1: warning: non-void function does not return a value [-Wreturn-type] 45 | } | ^ server.c:59:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 59 | PrintTime() | ^ | int server.c:80:34: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 80 | fprintf(stdout, "%2d.%02ld: ", sec, hsec); | ~~~ ^~~ | %2ld server.c:81:1: warning: non-void function does not return a value [-Wreturn-type] 81 | } | ^ server.c:92:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | long pad (n) | ^ In file included from server.c:12: ./x11.h:480:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 480 | extern long pad(); | ^ server.c:101:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | unsigned long int ILong (buf) | ^ In file included from server.c:12: ./x11.h:469:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 469 | extern unsigned long ILong(); | ^ server.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | OLong (buf, val) | ^ server.c:130:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | unsigned short IShort (buf) | ^ In file included from server.c:12: ./x11.h:470:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 470 | extern unsigned short IShort(); | ^ server.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | OShort (buf, val) | ^ server.c:155:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | unsigned short IChar2B (buf) | ^ In file included from server.c:12: ./x11.h:471:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 471 | extern unsigned short IChar2B(); | ^ server.c:162:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | unsigned short IByte (buf) | ^ In file included from server.c:12: ./x11.h:472:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 472 | extern unsigned short IByte(); | ^ server.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | OByte (buf, val) | ^ server.c:177:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | Boolean IBool(buf) | ^ In file included from server.c:12: ./x11.h:473:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 473 | extern Boolean IBool(); | ^ server.c:195:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 195 | SaveBytes(fd, buf, n) | ^ | int server.c:205:59: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | unsigned char *NewBytes = (unsigned char *)Malloc (SizeofNewBytes); | ^ server.c:211:4: warning: call to undeclared function 'Free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 211 | Free((char *)CS[fd].SavedBytes); | ^ server.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | SaveBytes(fd, buf, n) | ^ server.c:222:1: warning: non-void function does not return a value [-Wreturn-type] 222 | } | ^ server.c:224:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 224 | RemoveSavedBytes(fd, n) | ^ | int server.c:232:5: warning: non-void function 'RemoveSavedBytes' should return a value [-Wreturn-mismatch] 232 | return; | ^ server.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | RemoveSavedBytes(fd, n) | ^ server.c:243:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 243 | } | ^ server.c:272:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 272 | ProcessBuffer(fd, buf, n) | ^ | int server.c:332:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | (fd, BytesToProcess, CS[fd].NumberofBytesNeeded); | ^ server.c:356:3: warning: non-void function 'ProcessBuffer' should return a value [-Wreturn-mismatch] 356 | return; | ^ server.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | ProcessBuffer(fd, buf, n) | ^ server.c:371:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 371 | StartClientConnection(fd) | ^ | int server.c:374:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 374 | enterprocedure("StartClientConnection"); | ^ server.c:381:3: warning: call to undeclared function 'FlushReplyQ'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 381 | FlushReplyQ(fd); | ^ server.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | StartClientConnection(fd) | ^ server.c:389:1: warning: non-void function does not return a value [-Wreturn-type] 389 | } | ^ server.c:391:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 391 | StopClientConnection(fd) | ^ | int server.c:394:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 394 | enterprocedure("StopClientConnection"); | ^ server.c:398:5: warning: call to undeclared function 'Free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 398 | Free((char*)CS[fd].SavedBytes); | ^ server.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | StopClientConnection(fd) | ^ server.c:399:1: warning: non-void function does not return a value [-Wreturn-type] 399 | } | ^ server.c:409:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 409 | enterprocedure("StartSetUpMessage"); | ^ server.c:423:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 422 | debug(8,(stderr, "need %d bytes to finish startup\n", | ~~ | %ld 423 | CS[fd].NumberofBytesNeeded - n)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ server.c:401:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | long StartSetUpMessage (fd, buf, n) | ^ server.c:254:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 254 | long StartSetUpMessage (); | ^ server.c:432:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 432 | enterprocedure("FinishSetUpMessage"); | ^ server.c:434:6: warning: call to undeclared function 'ServerHalf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 434 | CS[ServerHalf(fd)].littleEndian = CS[fd].littleEndian; | ^ server.c:437:5: warning: call to undeclared function 'PrintSetUpMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 437 | PrintSetUpMessage(buf); | ^ server.c:427:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | long FinishSetUpMessage (fd, buf, n) | ^ server.c:255:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 255 | long FinishSetUpMessage (); | ^ server.c:452:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 452 | enterprocedure("StartRequest"); | ^ server.c:459:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 458 | debug(8,(stderr, "need %d more bytes to finish request\n", | ~~ | %ld 459 | CS[fd].NumberofBytesNeeded - n)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ server.c:446:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | long StartRequest (fd, buf, n) | ^ server.c:256:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 256 | long StartRequest (); | ^ server.c:472:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 472 | enterprocedure("FinishRequest"); | ^ server.c:475:7: warning: call to undeclared function 'DecodeRequest'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 475 | DecodeRequest(fd, buf, n); | ^ server.c:477:3: warning: call to undeclared function 'ProcessGrab'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 477 | ProcessGrab (fd, buf, n); | ^ server.c:464:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | long FinishRequest (fd, buf, n) | ^ server.c:257:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 257 | long FinishRequest (); | ^ server.c:489:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 489 | StartServerConnection(fd) | ^ | int server.c:492:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 492 | enterprocedure("StartServerConnection"); | ^ server.c:499:3: warning: call to undeclared function 'FlushReplyQ'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 499 | FlushReplyQ(fd); | ^ server.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | StartServerConnection(fd) | ^ server.c:504:1: warning: non-void function does not return a value [-Wreturn-type] 504 | } | ^ server.c:506:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 506 | StopServerConnection(fd) | ^ | int server.c:509:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 509 | enterprocedure("StopServerConnection"); | ^ server.c:513:5: warning: call to undeclared function 'Free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 513 | Free((char *)CS[fd].SavedBytes); | ^ server.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | StopServerConnection(fd) | ^ server.c:514:1: warning: non-void function does not return a value [-Wreturn-type] 514 | } | ^ server.c:523:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 523 | enterprocedure("StartSetUpReply"); | ^ server.c:528:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 527 | debug(8,(stderr, "need %d bytes to finish startup reply\n", | ~~ | %ld 528 | CS[fd].NumberofBytesNeeded - n)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ server.c:516:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | long StartSetUpReply (fd, buf, n) | ^ server.c:259:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 259 | long StartSetUpReply (); | ^ server.c:541:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 541 | enterprocedure("FinishSetUpReply"); | ^ server.c:543:7: warning: call to undeclared function 'PrintSetUpReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 543 | PrintSetUpReply(buf); | ^ server.c:546:37: warning: call to undeclared function 'WriteToClient'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 546 | if (Playback!= PLAYBACK_INACTIVE) WriteToClient (fd, buf, n); | ^ server.c:532:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | long FinishSetUpReply (fd, buf, n) | ^ server.c:260:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 260 | long FinishSetUpReply (); | ^ server.c:570:3: warning: call to undeclared function 'DecodeError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 570 | DecodeError(fd, buf, n); | ^ server.c:573:38: warning: call to undeclared function 'WriteToClient'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 573 | if (Playback != PLAYBACK_INACTIVE) WriteToClient (fd, buf, n); | ^ server.c:564:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | long ErrorPacket (fd, buf, n) | ^ server.c:589:5: warning: call to undeclared function 'DecodeEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 589 | DecodeEvent(fd, buf, n); | ^ server.c:592:5: warning: call to undeclared function 'RecordEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 592 | RecordEvent(fd, buf, n); | ^ server.c:605:19: warning: passing arguments to 'CreateTimer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | CreateTimer (1000*Wait, ReadPlaybackEvent, fd); | ^ server.c:628:18: warning: passing arguments to 'MonitorEvent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | MonitorEvent (fd, buf, n); | ^ server.c:629:5: warning: call to undeclared function 'WriteToClient'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 629 | WriteToClient (fd, buf, n); | ^ server.c:634:22: warning: passing arguments to 'MonitorEvent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | if (MonitorEvent (fd, buf, n)) { | ^ server.c:640:5: warning: call to undeclared function 'panic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 640 | panic ("bad Playback value."); | ^ server.c:582:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | long EventPacket (fd, buf, n) | ^ server.c:651:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | long ReplyPacket (fd, buf, n) | ^ server.c:682:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 682 | enterprocedure("ServerPacket"); | ^ server.c:676:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | long ServerPacket (fd, buf, n) | ^ server.c:261:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 261 | long ServerPacket (); | ^ server.c:697:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 697 | enterprocedure("FinishReply"); | ^ server.c:699:5: warning: call to undeclared function 'DecodeReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 699 | DecodeReply(fd, buf, n); | ^ server.c:702:38: warning: call to undeclared function 'WriteToClient'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 702 | if (Playback != PLAYBACK_INACTIVE) WriteToClient (fd, buf, n); | ^ server.c:692:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | long FinishReply (fd, buf, n) | ^ server.c:262:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 262 | long FinishReply (); | ^ 115 warnings generated. --- table11.o --- clang -pipe -Os -I/opt/pkg/include -Wno-error=return-type -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c table11.c --- decode11.o --- In file included from decode11.c:11: ./x11.h:475:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 475 | extern PrintString8(); | ~~~~~~ ^ | int ./x11.h:476:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 476 | extern PrintString16(); | ~~~~~~ ^ | int ./x11.h:477:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 477 | extern PrintListSTR(); | ~~~~~~ ^ | int decode11.c:65:40: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | p = (struct QueueEntry *) Malloc ((long)(sizeof (*p))); | ^ decode11.c:55:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | struct QueueEntry *NewQEntry (SequenceNumber, Request) | ^ decode11.c:94:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 94 | InitReplyQ() | ^ | int decode11.c:102:1: warning: non-void function does not return a value [-Wreturn-type] 102 | } | ^ decode11.c:104:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | FlushReplyQ(fd) | ^ | int decode11.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] decode11.c:122:1: warning: non-void function does not return a value [-Wreturn-type] 122 | } | ^ decode11.c:125:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 125 | DumpReplyQ(fd) | ^ | int decode11.c:129:8: warning: format specifies type 'unsigned int' but the argument has type 'struct QueueEntry *' [-Wformat] 128 | fprintf(stderr, "ReplyQ[%d] = { Head 0x%x; Tail 0x%x }\n", | ~~ 129 | fd, ReplyQ[fd].Head, ReplyQ[fd].Tail); | ^~~~~~~~~~~~~~~ decode11.c:129:25: warning: format specifies type 'unsigned int' but the argument has type 'struct QueueEntry *' [-Wformat] 128 | fprintf(stderr, "ReplyQ[%d] = { Head 0x%x; Tail 0x%x }\n", | ~~ 129 | fd, ReplyQ[fd].Head, ReplyQ[fd].Tail); | ^~~~~~~~~~~~~~~ decode11.c:134:8: warning: format specifies type 'unsigned int' but the argument has type 'struct QueueEntry *' [-Wformat] 133 | fprintf(stderr, "0x%x = { Next 0x%x; SequenceNumber %d; Request %d }\n", | ~~ 134 | p, p->Next, p->SequenceNumber, p->Request); | ^ decode11.c:134:11: warning: format specifies type 'unsigned int' but the argument has type 'struct QueueEntry *' [-Wformat] 133 | fprintf(stderr, "0x%x = { Next 0x%x; SequenceNumber %d; Request %d }\n", | ~~ 134 | p, p->Next, p->SequenceNumber, p->Request); | ^~~~~~~ decode11.c:134:20: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 133 | fprintf(stderr, "0x%x = { Next 0x%x; SequenceNumber %d; Request %d }\n", | ~~ | %ld 134 | p, p->Next, p->SequenceNumber, p->Request); | ^~~~~~~~~~~~~~~~~ decode11.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | DumpReplyQ(fd) | ^ decode11.c:136:1: warning: non-void function does not return a value [-Wreturn-type] 136 | } | ^ decode11.c:145:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 145 | SequencedReplyExpected(fd, SequenceNumber, RequestType) | ^ | int decode11.c:153:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 152 | debug(8,(stderr, "Reply expected: sequence %d and request type %d for fd %d\n", | ~~ | %ld 153 | SequenceNumber, RequestType, fd)); | ^~~~~~~~~~~~~~ ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ decode11.c:158:8: warning: call to undeclared function 'FDPair'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 158 | fd = FDPair(fd); | ^ decode11.c:159:36: warning: non-void function 'SequencedReplyExpected' should return a value [-Wreturn-mismatch] 159 | if (fd < 0 || fd >= StaticMaxFD) return; | ^ decode11.c:169:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 168 | debug(8,(stderr, "Save sequence %d and request type %d for fd %d\n", | ~~ | %ld 169 | p->SequenceNumber, p->Request, fd)); | ^~~~~~~~~~~~~~~~~ ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ decode11.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | SequencedReplyExpected(fd, SequenceNumber, RequestType) | ^ decode11.c:170:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 170 | } | ^ decode11.c:180:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | short CheckReplyTable (fd, SequenceNumber) | ^ decode11.c:229:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 229 | ReplyExpected(fd, Request) | ^ | int decode11.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] decode11.c:234:1: warning: non-void function does not return a value [-Wreturn-type] 234 | } | ^ decode11.c:240:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 240 | KeepLastReplyExpected() | ^ | int decode11.c:243:1: warning: non-void function does not return a value [-Wreturn-type] 243 | } | ^ decode11.c:256:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 256 | DecodeRequest(fd, buf, n) | ^ | int decode11.c:261:27: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | short Request = IByte (&buf[0]); | ^ decode11.c:264:3: warning: call to undeclared function 'SetIndentLevel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 264 | SetIndentLevel(PRINTCLIENT); | ^ decode11.c:267:5: warning: call to undeclared function 'DumpItem'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 267 | DumpItem("Request", fd, buf, n); | ^ decode11.c:277:6: warning: call to undeclared function 'warn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 277 | warn("Extended request opcode"); | ^ decode11.c:281:7: warning: call to undeclared function 'CreateWindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 281 | CreateWindow(buf); | ^ decode11.c:284:7: warning: call to undeclared function 'ChangeWindowAttributes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 284 | ChangeWindowAttributes(buf); | ^ decode11.c:287:7: warning: call to undeclared function 'GetWindowAttributes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 287 | GetWindowAttributes(buf); | ^ decode11.c:291:7: warning: call to undeclared function 'DestroyWindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 291 | DestroyWindow(buf); | ^ decode11.c:294:7: warning: call to undeclared function 'DestroySubwindows'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 294 | DestroySubwindows(buf); | ^ decode11.c:297:7: warning: call to undeclared function 'ChangeSaveSet'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 297 | ChangeSaveSet(buf); | ^ decode11.c:300:7: warning: call to undeclared function 'ReparentWindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 300 | ReparentWindow(buf); | ^ decode11.c:303:7: warning: call to undeclared function 'MapWindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 303 | MapWindow(buf); | ^ decode11.c:306:7: warning: call to undeclared function 'MapSubwindows'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 306 | MapSubwindows(buf); | ^ decode11.c:309:7: warning: call to undeclared function 'UnmapWindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 309 | UnmapWindow(buf); | ^ decode11.c:312:7: warning: call to undeclared function 'UnmapSubwindows'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 312 | UnmapSubwindows(buf); | ^ decode11.c:315:7: warning: call to undeclared function 'ConfigureWindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 315 | ConfigureWindow(buf); | ^ decode11.c:318:7: warning: call to undeclared function 'CirculateWindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 318 | CirculateWindow(buf); | ^ decode11.c:321:7: warning: call to undeclared function 'GetGeometry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 321 | GetGeometry(buf); | ^ decode11.c:325:7: warning: call to undeclared function 'QueryTree'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 325 | QueryTree(buf); | ^ decode11.c:329:7: warning: call to undeclared function 'InternAtom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 329 | InternAtom(buf); | ^ decode11.c:333:7: warning: call to undeclared function 'GetAtomName'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 333 | GetAtomName(buf); | ^ decode11.c:337:7: warning: call to undeclared function 'ChangeProperty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 337 | ChangeProperty(buf); | ^ decode11.c:340:7: warning: call to undeclared function 'DeleteProperty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 340 | DeleteProperty(buf); | ^ decode11.c:343:7: warning: call to undeclared function 'GetProperty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 343 | GetProperty(buf); | ^ decode11.c:347:7: warning: call to undeclared function 'ListProperties'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 347 | ListProperties(buf); | ^ decode11.c:351:7: warning: call to undeclared function 'SetSelectionOwner'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 351 | SetSelectionOwner(buf); | ^ decode11.c:354:7: warning: call to undeclared function 'GetSelectionOwner'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 354 | GetSelectionOwner(buf); | ^ decode11.c:358:7: warning: call to undeclared function 'ConvertSelection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 358 | ConvertSelection(buf); | ^ decode11.c:361:7: warning: call to undeclared function 'SendEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 361 | SendEvent(buf); | ^ decode11.c:364:7: warning: call to undeclared function 'GrabPointer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 364 | GrabPointer(buf); | ^ decode11.c:368:7: warning: call to undeclared function 'UngrabPointer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 368 | UngrabPointer(buf); | ^ decode11.c:371:7: warning: call to undeclared function 'GrabButton'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 371 | GrabButton(buf); | ^ decode11.c:374:7: warning: call to undeclared function 'UngrabButton'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 374 | UngrabButton(buf); | ^ decode11.c:377:7: warning: call to undeclared function 'ChangeActivePointerGrab'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 377 | ChangeActivePointerGrab(buf); | ^ decode11.c:380:7: warning: call to undeclared function 'GrabKeyboard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 380 | GrabKeyboard(buf); | ^ decode11.c:384:7: warning: call to undeclared function 'UngrabKeyboard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 384 | UngrabKeyboard(buf); | ^ decode11.c:387:7: warning: call to undeclared function 'GrabKey'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 387 | GrabKey(buf); | ^ decode11.c:390:7: warning: call to undeclared function 'UngrabKey'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 390 | UngrabKey(buf); | ^ decode11.c:393:7: warning: call to undeclared function 'AllowEvents'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 393 | AllowEvents(buf); | ^ decode11.c:396:7: warning: call to undeclared function 'GrabServer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 396 | GrabServer(buf); | ^ decode11.c:399:7: warning: call to undeclared function 'UngrabServer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 399 | UngrabServer(buf); | ^ decode11.c:402:7: warning: call to undeclared function 'QueryPointer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 402 | QueryPointer(buf); | ^ decode11.c:406:7: warning: call to undeclared function 'GetMotionEvents'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 406 | GetMotionEvents(buf); | ^ decode11.c:410:7: warning: call to undeclared function 'TranslateCoordinates'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 410 | TranslateCoordinates(buf); | ^ decode11.c:414:7: warning: call to undeclared function 'WarpPointer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 414 | WarpPointer(buf); | ^ decode11.c:417:7: warning: call to undeclared function 'SetInputFocus'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 417 | SetInputFocus(buf); | ^ decode11.c:420:7: warning: call to undeclared function 'GetInputFocus'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 420 | GetInputFocus(buf); | ^ decode11.c:424:7: warning: call to undeclared function 'QueryKeymap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 424 | QueryKeymap(buf); | ^ decode11.c:428:7: warning: call to undeclared function 'OpenFont'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 428 | OpenFont(buf); | ^ decode11.c:431:7: warning: call to undeclared function 'CloseFont'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 431 | CloseFont(buf); | ^ decode11.c:434:7: warning: call to undeclared function 'QueryFont'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 434 | QueryFont(buf); | ^ decode11.c:438:7: warning: call to undeclared function 'QueryTextExtents'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 438 | QueryTextExtents(buf); | ^ decode11.c:442:7: warning: call to undeclared function 'ListFonts'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 442 | ListFonts(buf); | ^ decode11.c:446:7: warning: call to undeclared function 'ListFontsWithInfo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 446 | ListFontsWithInfo(buf); | ^ decode11.c:450:7: warning: call to undeclared function 'SetFontPath'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 450 | SetFontPath(buf); | ^ decode11.c:453:7: warning: call to undeclared function 'GetFontPath'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 453 | GetFontPath(buf); | ^ decode11.c:457:7: warning: call to undeclared function 'CreatePixmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 457 | CreatePixmap(buf); | ^ decode11.c:460:7: warning: call to undeclared function 'FreePixmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 460 | FreePixmap(buf); | ^ decode11.c:463:7: warning: call to undeclared function 'CreateGC'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 463 | CreateGC(buf); | ^ decode11.c:466:7: warning: call to undeclared function 'ChangeGC'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 466 | ChangeGC(buf); | ^ decode11.c:469:7: warning: call to undeclared function 'CopyGC'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 469 | CopyGC(buf); | ^ decode11.c:472:7: warning: call to undeclared function 'SetDashes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 472 | SetDashes(buf); | ^ decode11.c:475:7: warning: call to undeclared function 'SetClipRectangles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 475 | SetClipRectangles(buf); | ^ decode11.c:478:7: warning: call to undeclared function 'FreeGC'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 478 | FreeGC(buf); | ^ decode11.c:481:7: warning: call to undeclared function 'ClearArea'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 481 | ClearArea(buf); | ^ decode11.c:484:7: warning: call to undeclared function 'CopyArea'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 484 | CopyArea(buf); | ^ decode11.c:487:7: warning: call to undeclared function 'CopyPlane'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 487 | CopyPlane(buf); | ^ decode11.c:490:7: warning: call to undeclared function 'PolyPoint'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 490 | PolyPoint(buf); | ^ decode11.c:493:7: warning: call to undeclared function 'PolyLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 493 | PolyLine(buf); | ^ decode11.c:496:7: warning: call to undeclared function 'PolySegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 496 | PolySegment(buf); | ^ decode11.c:499:7: warning: call to undeclared function 'PolyRectangle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 499 | PolyRectangle(buf); | ^ decode11.c:502:7: warning: call to undeclared function 'PolyArc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 502 | PolyArc(buf); | ^ decode11.c:505:7: warning: call to undeclared function 'FillPoly'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 505 | FillPoly(buf); | ^ decode11.c:508:7: warning: call to undeclared function 'PolyFillRectangle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 508 | PolyFillRectangle(buf); | ^ decode11.c:511:7: warning: call to undeclared function 'PolyFillArc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 511 | PolyFillArc(buf); | ^ decode11.c:514:7: warning: call to undeclared function 'PutImage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 514 | PutImage(buf); | ^ decode11.c:517:7: warning: call to undeclared function 'GetImage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 517 | GetImage(buf); | ^ decode11.c:521:7: warning: call to undeclared function 'PolyText8'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 521 | PolyText8(buf); | ^ decode11.c:524:7: warning: call to undeclared function 'PolyText16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 524 | PolyText16(buf); | ^ decode11.c:527:7: warning: call to undeclared function 'ImageText8'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 527 | ImageText8(buf); | ^ decode11.c:530:7: warning: call to undeclared function 'ImageText16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 530 | ImageText16(buf); | ^ decode11.c:533:7: warning: call to undeclared function 'CreateColormap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 533 | CreateColormap(buf); | ^ decode11.c:536:7: warning: call to undeclared function 'FreeColormap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 536 | FreeColormap(buf); | ^ decode11.c:539:7: warning: call to undeclared function 'CopyColormapAndFree'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 539 | CopyColormapAndFree(buf); | ^ decode11.c:542:7: warning: call to undeclared function 'InstallColormap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 542 | InstallColormap(buf); | ^ decode11.c:545:7: warning: call to undeclared function 'UninstallColormap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 545 | UninstallColormap(buf); | ^ decode11.c:548:7: warning: call to undeclared function 'ListInstalledColormaps'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 548 | ListInstalledColormaps(buf); | ^ decode11.c:552:7: warning: call to undeclared function 'AllocColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 552 | AllocColor(buf); | ^ decode11.c:556:7: warning: call to undeclared function 'AllocNamedColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 556 | AllocNamedColor(buf); | ^ decode11.c:560:7: warning: call to undeclared function 'AllocColorCells'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 560 | AllocColorCells(buf); | ^ decode11.c:564:7: warning: call to undeclared function 'AllocColorPlanes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 564 | AllocColorPlanes(buf); | ^ decode11.c:568:7: warning: call to undeclared function 'FreeColors'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 568 | FreeColors(buf); | ^ decode11.c:571:7: warning: call to undeclared function 'StoreColors'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 571 | StoreColors(buf); | ^ decode11.c:574:7: warning: call to undeclared function 'StoreNamedColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 574 | StoreNamedColor(buf); | ^ decode11.c:577:7: warning: call to undeclared function 'QueryColors'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 577 | QueryColors(buf); | ^ decode11.c:581:7: warning: call to undeclared function 'LookupColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 581 | LookupColor(buf); | ^ decode11.c:585:7: warning: call to undeclared function 'CreateCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 585 | CreateCursor(buf); | ^ decode11.c:588:7: warning: call to undeclared function 'CreateGlyphCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 588 | CreateGlyphCursor(buf); | ^ decode11.c:591:7: warning: call to undeclared function 'FreeCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 591 | FreeCursor(buf); | ^ decode11.c:594:7: warning: call to undeclared function 'RecolorCursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 594 | RecolorCursor(buf); | ^ decode11.c:597:7: warning: call to undeclared function 'QueryBestSize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 597 | QueryBestSize(buf); | ^ decode11.c:601:7: warning: call to undeclared function 'QueryExtension'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 601 | QueryExtension(buf); | ^ decode11.c:611:7: warning: call to undeclared function 'ListExtensions'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 611 | ListExtensions(buf); | ^ decode11.c:615:7: warning: call to undeclared function 'ChangeKeyboardMapping'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 615 | ChangeKeyboardMapping(buf); | ^ decode11.c:618:7: warning: call to undeclared function 'GetKeyboardMapping'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 618 | GetKeyboardMapping(buf); | ^ decode11.c:622:7: warning: call to undeclared function 'ChangeKeyboardControl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 622 | ChangeKeyboardControl(buf); | ^ decode11.c:625:7: warning: call to undeclared function 'GetKeyboardControl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 625 | GetKeyboardControl(buf); | ^ decode11.c:629:7: warning: call to undeclared function 'Bell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 629 | Bell(buf); | ^ decode11.c:632:7: warning: call to undeclared function 'ChangePointerControl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 632 | ChangePointerControl(buf); | ^ decode11.c:635:7: warning: call to undeclared function 'GetPointerControl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 635 | GetPointerControl(buf); | ^ decode11.c:639:7: warning: call to undeclared function 'SetScreenSaver'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 639 | SetScreenSaver(buf); | ^ decode11.c:642:7: warning: call to undeclared function 'GetScreenSaver'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 642 | GetScreenSaver(buf); | ^ decode11.c:646:7: warning: call to undeclared function 'ChangeHosts'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 646 | ChangeHosts(buf); | ^ decode11.c:649:7: warning: call to undeclared function 'ListHosts'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 649 | ListHosts(buf); | ^ decode11.c:653:7: warning: call to undeclared function 'SetAccessControl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 653 | SetAccessControl(buf); | ^ decode11.c:656:7: warning: call to undeclared function 'SetCloseDownMode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 656 | SetCloseDownMode(buf); | ^ decode11.c:659:7: warning: call to undeclared function 'KillClient'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 659 | KillClient(buf); | ^ decode11.c:662:7: warning: call to undeclared function 'RotateProperties'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 662 | RotateProperties(buf); | ^ decode11.c:665:7: warning: call to undeclared function 'ForceScreenSaver'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 665 | ForceScreenSaver(buf); | ^ decode11.c:668:7: warning: call to undeclared function 'SetPointerMapping'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 668 | SetPointerMapping(buf); | ^ decode11.c:672:7: warning: call to undeclared function 'GetPointerMapping'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 672 | GetPointerMapping(buf); | ^ decode11.c:676:7: warning: call to undeclared function 'SetModifierMapping'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 676 | SetModifierMapping(buf); | ^ decode11.c:680:7: warning: call to undeclared function 'GetModifierMapping'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 680 | GetModifierMapping(buf); | ^ decode11.c:684:7: warning: call to undeclared function 'NoOperation'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 684 | NoOperation(buf); | ^ decode11.c:687:7: warning: call to undeclared function 'warn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 687 | warn("Unimplemented request opcode"); | ^ decode11.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | DecodeRequest(fd, buf, n) | ^ decode11.c:263:3: warning: 'memmove' will always overflow; destination buffer has size 4, but size argument is 8 [-Wbuiltin-memcpy-chk-size] 263 | bcopy ((char *)&(CS[fd].SequenceNumber), (char *)SBf, sizeof(long)); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_strings.h:46:3: note: expanded from macro 'bcopy' 46 | __builtin___memmove_chk (dest, src, __VA_ARGS__, __darwin_obsz0 (dest)) | ^ decode11.c:690:1: warning: non-void function does not return a value [-Wreturn-type] 690 | } | ^ decode11.c:693:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 693 | GrabTimeoutProc (timer, message) | ^ | int decode11.c:705:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 703 | "xscript: %s: %d-second timeout expired; aborting.\n", | ~~ | %lu 704 | message, 705 | GrabTimeout); | ^~~~~~~~~~~ decode11.c:710:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 710 | exit (1); | ^ decode11.c:710:3: note: include the header or explicitly provide a declaration for 'exit' decode11.c:693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | GrabTimeoutProc (timer, message) | ^ decode11.c:726:27: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | short Request = IByte (&buf[0]); | ^ decode11.c:759:28: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | short mode = IByte (&buf[1]); | ^ decode11.c:806:39: warning: passing arguments to 'DeleteTimer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 806 | if (blastGrabTimer[i]) DeleteTimer (blastGrabTimer[i]); | ^ decode11.c:807:36: warning: passing arguments to 'CreateTimer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 807 | blastGrabTimer[i] = CreateTimer (1000*GrabTimeout, | ^ decode11.c:813:18: warning: passing arguments to 'DeleteTimer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 813 | DeleteTimer (blastGrabTimer[i]); | ^ decode11.c:715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | ProcessGrab (fd, buf, n) | ^ decode11.c:828:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 828 | DecodeReply(fd, buf, n) | ^ | int decode11.c:833:35: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | short SequenceNumber = IShort (&buf[2]); | ^ decode11.c:837:7: warning: call to undeclared function 'warn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 837 | warn("Unexpected reply"); | ^ decode11.c:838:7: warning: non-void function 'DecodeReply' should return a value [-Wreturn-mismatch] 838 | return; | ^ decode11.c:841:3: warning: call to undeclared function 'SetIndentLevel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 841 | SetIndentLevel(PRINTSERVER); | ^ decode11.c:844:5: warning: call to undeclared function 'DumpItem'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 844 | DumpItem("Reply", fd, buf, n); | ^ decode11.c:850:9: warning: call to undeclared function 'warn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 850 | warn("Extended reply opcode"); | ^ decode11.c:854:5: warning: call to undeclared function 'warn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 854 | warn("Extended reply opcode"); | ^ decode11.c:858:7: warning: call to undeclared function 'GetWindowAttributesReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 858 | GetWindowAttributesReply(buf); | ^ decode11.c:861:7: warning: call to undeclared function 'GetGeometryReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 861 | GetGeometryReply(buf); | ^ decode11.c:864:7: warning: call to undeclared function 'QueryTreeReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 864 | QueryTreeReply(buf); | ^ decode11.c:867:7: warning: call to undeclared function 'InternAtomReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 867 | InternAtomReply(buf); | ^ decode11.c:870:7: warning: call to undeclared function 'GetAtomNameReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 870 | GetAtomNameReply(buf); | ^ decode11.c:873:7: warning: call to undeclared function 'GetPropertyReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 873 | GetPropertyReply(buf); | ^ decode11.c:876:7: warning: call to undeclared function 'ListPropertiesReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 876 | ListPropertiesReply(buf); | ^ decode11.c:879:7: warning: call to undeclared function 'GetSelectionOwnerReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 879 | GetSelectionOwnerReply(buf); | ^ decode11.c:882:7: warning: call to undeclared function 'GrabPointerReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 882 | GrabPointerReply(buf); | ^ decode11.c:885:7: warning: call to undeclared function 'GrabKeyboardReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 885 | GrabKeyboardReply(buf); | ^ decode11.c:888:7: warning: call to undeclared function 'QueryPointerReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 888 | QueryPointerReply(buf); | ^ decode11.c:891:7: warning: call to undeclared function 'GetMotionEventsReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 891 | GetMotionEventsReply(buf); | ^ decode11.c:894:7: warning: call to undeclared function 'TranslateCoordinatesReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 894 | TranslateCoordinatesReply(buf); | ^ decode11.c:897:7: warning: call to undeclared function 'GetInputFocusReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 897 | GetInputFocusReply(buf); | ^ decode11.c:900:7: warning: call to undeclared function 'QueryKeymapReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 900 | QueryKeymapReply(buf); | ^ decode11.c:903:7: warning: call to undeclared function 'QueryFontReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 903 | QueryFontReply(buf); | ^ decode11.c:906:7: warning: call to undeclared function 'QueryTextExtentsReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 906 | QueryTextExtentsReply(buf); | ^ decode11.c:909:7: warning: call to undeclared function 'ListFontsReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 909 | ListFontsReply(buf); | ^ decode11.c:912:7: warning: call to undeclared function 'ListFontsWithInfoReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 912 | ListFontsWithInfoReply(buf); | ^ decode11.c:915:7: warning: call to undeclared function 'GetFontPathReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 915 | GetFontPathReply(buf); | ^ decode11.c:918:7: warning: call to undeclared function 'GetImageReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 918 | GetImageReply(buf); | ^ decode11.c:921:7: warning: call to undeclared function 'ListInstalledColormapsReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 921 | ListInstalledColormapsReply(buf); | ^ decode11.c:924:7: warning: call to undeclared function 'AllocColorReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 924 | AllocColorReply(buf); | ^ decode11.c:927:7: warning: call to undeclared function 'AllocNamedColorReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 927 | AllocNamedColorReply(buf); | ^ decode11.c:930:7: warning: call to undeclared function 'AllocColorCellsReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 930 | AllocColorCellsReply(buf); | ^ decode11.c:933:7: warning: call to undeclared function 'AllocColorPlanesReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 933 | AllocColorPlanesReply(buf); | ^ decode11.c:936:7: warning: call to undeclared function 'QueryColorsReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 936 | QueryColorsReply(buf); | ^ decode11.c:939:7: warning: call to undeclared function 'LookupColorReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 939 | LookupColorReply(buf); | ^ decode11.c:942:7: warning: call to undeclared function 'QueryBestSizeReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 942 | QueryBestSizeReply(buf); | ^ decode11.c:945:7: warning: call to undeclared function 'QueryExtensionReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 945 | QueryExtensionReply(buf); | ^ decode11.c:948:7: warning: call to undeclared function 'ListExtensionsReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 948 | ListExtensionsReply(buf); | ^ decode11.c:951:7: warning: call to undeclared function 'GetKeyboardMappingReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 951 | GetKeyboardMappingReply(buf); | ^ decode11.c:954:7: warning: call to undeclared function 'GetKeyboardControlReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 954 | GetKeyboardControlReply(buf); | ^ decode11.c:957:7: warning: call to undeclared function 'GetPointerControlReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 957 | GetPointerControlReply(buf); | ^ decode11.c:960:7: warning: call to undeclared function 'GetScreenSaverReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 960 | GetScreenSaverReply(buf); | ^ decode11.c:963:7: warning: call to undeclared function 'ListHostsReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 963 | ListHostsReply(buf); | ^ decode11.c:966:7: warning: call to undeclared function 'SetPointerMappingReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 966 | SetPointerMappingReply(buf); | ^ decode11.c:969:7: warning: call to undeclared function 'GetPointerMappingReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 969 | GetPointerMappingReply(buf); | ^ decode11.c:972:7: warning: call to undeclared function 'SetModifierMappingReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 972 | SetModifierMappingReply(buf); | ^ decode11.c:975:7: warning: call to undeclared function 'GetModifierMappingReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 975 | GetModifierMappingReply(buf); | ^ decode11.c:828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | DecodeReply(fd, buf, n) | ^ decode11.c:981:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 981 | } | ^ decode11.c:988:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 988 | DecodeError(fd, buf, n) | ^ | int decode11.c:993:25: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | short Error = IByte (&buf[1]); | ^ decode11.c:994:3: warning: call to undeclared function 'SetIndentLevel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 994 | SetIndentLevel(PRINTSERVER); | ^ decode11.c:996:5: warning: call to undeclared function 'DumpItem'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 996 | DumpItem("Error", fd, buf, n); | ^ decode11.c:997:43: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 997 | (void)CheckReplyTable (fd, (short)IShort(&buf[2])); | ^ decode11.c:999:5: warning: call to undeclared function 'warn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 999 | warn("Extended Error code"); | ^ decode11.c:1003:7: warning: call to undeclared function 'RequestError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1003 | RequestError(buf); | ^ decode11.c:1006:7: warning: call to undeclared function 'ValueError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1006 | ValueError(buf); | ^ decode11.c:1009:7: warning: call to undeclared function 'WindowError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1009 | WindowError(buf); | ^ decode11.c:1012:7: warning: call to undeclared function 'PixmapError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1012 | PixmapError(buf); | ^ decode11.c:1015:7: warning: call to undeclared function 'AtomError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1015 | AtomError(buf); | ^ decode11.c:1018:7: warning: call to undeclared function 'CursorError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1018 | CursorError(buf); | ^ decode11.c:1021:7: warning: call to undeclared function 'FontError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1021 | FontError(buf); | ^ decode11.c:1024:7: warning: call to undeclared function 'MatchError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1024 | MatchError(buf); | ^ decode11.c:1027:7: warning: call to undeclared function 'DrawableError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1027 | DrawableError(buf); | ^ decode11.c:1030:7: warning: call to undeclared function 'AccessError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1030 | AccessError(buf); | ^ decode11.c:1033:7: warning: call to undeclared function 'AllocError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1033 | AllocError(buf); | ^ decode11.c:1036:7: warning: call to undeclared function 'ColormapError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1036 | ColormapError(buf); | ^ decode11.c:1039:7: warning: call to undeclared function 'GContextError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1039 | GContextError(buf); | ^ decode11.c:1042:7: warning: call to undeclared function 'IDChoiceError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1042 | IDChoiceError(buf); | ^ decode11.c:1045:7: warning: call to undeclared function 'NameError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1045 | NameError(buf); | ^ decode11.c:1048:7: warning: call to undeclared function 'LengthError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1048 | LengthError(buf); | ^ decode11.c:1051:7: warning: call to undeclared function 'ImplementationError'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1051 | ImplementationError(buf); | ^ decode11.c:988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 988 | DecodeError(fd, buf, n) | ^ decode11.c:1057:1: warning: non-void function does not return a value [-Wreturn-type] 1057 | } | ^ decode11.c:1064:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1064 | DecodeEvent(fd, buf, n) | ^ | int decode11.c:1069:25: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1069 | short Event = IByte (&buf[0]); | ^ decode11.c:1070:3: warning: call to undeclared function 'SetIndentLevel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1070 | SetIndentLevel(PRINTSERVER); | ^ decode11.c:1072:5: warning: call to undeclared function 'DumpItem'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1072 | DumpItem("Event", fd, buf, n); | ^ decode11.c:1080:5: warning: call to undeclared function 'warn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1080 | warn("Extended Event code"); | ^ decode11.c:1084:7: warning: call to undeclared function 'KeyPressEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1084 | KeyPressEvent(buf); | ^ decode11.c:1087:7: warning: call to undeclared function 'KeyReleaseEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1087 | KeyReleaseEvent(buf); | ^ decode11.c:1090:7: warning: call to undeclared function 'ButtonPressEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1090 | ButtonPressEvent(buf); | ^ decode11.c:1093:7: warning: call to undeclared function 'ButtonReleaseEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1093 | ButtonReleaseEvent(buf); | ^ decode11.c:1096:7: warning: call to undeclared function 'MotionNotifyEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1096 | MotionNotifyEvent(buf); | ^ decode11.c:1099:7: warning: call to undeclared function 'EnterNotifyEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1099 | EnterNotifyEvent(buf); | ^ decode11.c:1102:7: warning: call to undeclared function 'LeaveNotifyEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1102 | LeaveNotifyEvent(buf); | ^ decode11.c:1105:7: warning: call to undeclared function 'FocusInEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1105 | FocusInEvent(buf); | ^ decode11.c:1108:7: warning: call to undeclared function 'FocusOutEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1108 | FocusOutEvent(buf); | ^ decode11.c:1111:7: warning: call to undeclared function 'KeymapNotifyEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1111 | KeymapNotifyEvent(buf); | ^ decode11.c:1114:7: warning: call to undeclared function 'ExposeEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1114 | ExposeEvent(buf); | ^ decode11.c:1117:7: warning: call to undeclared function 'GraphicsExposureEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1117 | GraphicsExposureEvent(buf); | ^ decode11.c:1120:7: warning: call to undeclared function 'NoExposureEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1120 | NoExposureEvent(buf); | ^ decode11.c:1123:7: warning: call to undeclared function 'VisibilityNotifyEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1123 | VisibilityNotifyEvent(buf); | ^ decode11.c:1126:7: warning: call to undeclared function 'CreateNotifyEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1126 | CreateNotifyEvent(buf); | ^ decode11.c:1129:7: warning: call to undeclared function 'DestroyNotifyEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1129 | DestroyNotifyEvent(buf); | ^ decode11.c:1132:7: warning: call to undeclared function 'UnmapNotifyEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1132 | UnmapNotifyEvent(buf); | ^ decode11.c:1135:7: warning: call to undeclared function 'MapNotifyEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1135 | MapNotifyEvent(buf); | ^ decode11.c:1138:7: warning: call to undeclared function 'MapRequestEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1138 | MapRequestEvent(buf); | ^ decode11.c:1141:7: warning: call to undeclared function 'ReparentNotifyEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1141 | ReparentNotifyEvent(buf); | ^ decode11.c:1144:7: warning: call to undeclared function 'ConfigureNotifyEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1144 | ConfigureNotifyEvent(buf); | ^ decode11.c:1147:7: warning: call to undeclared function 'ConfigureRequestEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1147 | ConfigureRequestEvent(buf); | ^ decode11.c:1150:7: warning: call to undeclared function 'GravityNotifyEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1150 | GravityNotifyEvent(buf); | ^ decode11.c:1153:7: warning: call to undeclared function 'ResizeRequestEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1153 | ResizeRequestEvent(buf); | ^ decode11.c:1156:7: warning: call to undeclared function 'CirculateNotifyEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1156 | CirculateNotifyEvent(buf); | ^ decode11.c:1159:7: warning: call to undeclared function 'CirculateRequestEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1159 | CirculateRequestEvent(buf); | ^ decode11.c:1162:7: warning: call to undeclared function 'PropertyNotifyEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1162 | PropertyNotifyEvent(buf); | ^ decode11.c:1165:7: warning: call to undeclared function 'SelectionClearEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1165 | SelectionClearEvent(buf); | ^ decode11.c:1168:7: warning: call to undeclared function 'SelectionRequestEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1168 | SelectionRequestEvent(buf); | ^ decode11.c:1171:7: warning: call to undeclared function 'SelectionNotifyEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1171 | SelectionNotifyEvent(buf); | ^ decode11.c:1174:7: warning: call to undeclared function 'ColormapNotifyEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1174 | ColormapNotifyEvent(buf); | ^ decode11.c:1177:7: warning: call to undeclared function 'ClientMessageEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1177 | ClientMessageEvent(buf); | ^ decode11.c:1180:7: warning: call to undeclared function 'MappingNotifyEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1180 | MappingNotifyEvent(buf); | ^ decode11.c:1064:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1064 | DecodeEvent(fd, buf, n) | ^ decode11.c:1186:1: warning: non-void function does not return a value [-Wreturn-type] 1186 | } | ^ decode11.c:1212:25: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1212 | short Event = IByte (&buf[0]); | ^ decode11.c:1224:5: warning: call to undeclared function 'WindowStatusAnnounce'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1224 | WindowStatusAnnounce (fd, buf, 12, RES_Mapped); | ^ decode11.c:1268:20: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1268 | time = ILong (&buf[4]); | ^ decode11.c:1272:20: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1272 | time = ILong (&buf[4]); | ^ decode11.c:1332:19: warning: call to undeclared function 'FDPair'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1332 | FD pairfd = FDPair(fd); | ^ decode11.c:1337:14: warning: passing arguments to 'OShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1337 | OShort (&buf[2], seq); /* sequence number */ | ^ decode11.c:1205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1205 | MonitorEvent(fd, buf, n) | ^ 292 warnings generated. --- table11.o --- In file included from table11.c:11: ./x11.h:475:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 475 | extern PrintString8(); | ~~~~~~ ^ | int ./x11.h:476:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 476 | extern PrintString16(); | ~~~~~~ ^ | int ./x11.h:477:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 477 | extern PrintListSTR(); | ~~~~~~ ^ | int table11.c:42:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 42 | InitializeX11() | ^ | int table11.c:44:3: warning: call to undeclared function 'InitReplyQ'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 44 | InitReplyQ(); | ^ table11.c:46:3: warning: call to undeclared function 'InitBuiltInTypes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 46 | InitBuiltInTypes(); | ^ table11.c:47:3: warning: call to undeclared function 'InitEnumeratedTypes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 47 | InitEnumeratedTypes(); | ^ table11.c:48:3: warning: call to undeclared function 'InitSetTypes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 48 | InitSetTypes(); | ^ table11.c:49:3: warning: call to undeclared function 'InitValuesTypes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 49 | InitValuesTypes(); | ^ table11.c:50:3: warning: call to undeclared function 'InitRecordTypes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | InitRecordTypes(); | ^ table11.c:51:1: warning: non-void function does not return a value [-Wreturn-type] 51 | } | ^ --- print11.o --- --- table11.o --- table11.c:60:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | TYPE DefineType(typeid, class, name, printproc) | ^ table11.c:76:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 76 | DefineEValue(type, value, name) | ^ | int table11.c:85:34: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | Malloc ((long)(sizeof (struct ValueListEntry))); | ^ table11.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | DefineEValue(type, value, name) | ^ table11.c:104:1: warning: non-void function does not return a value [-Wreturn-type] 104 | } | ^ table11.c:114:35: warning: parameter 'ctype' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 114 | DefineValues(type, value, length, ctype, name) | ^ 115 | TYPE type; 116 | long value; 117 | char *name; 118 | { table11.c:114:27: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 114 | DefineValues(type, value, length, ctype, name) | ^ 115 | TYPE type; 116 | long value; 117 | char *name; 118 | { table11.c:114:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 114 | DefineValues(type, value, length, ctype, name) | ^ | int table11.c:122:36: warning: passing arguments to 'Malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | Malloc ((long)(sizeof (struct ValueListEntry))); | ^ table11.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | DefineValues(type, value, length, ctype, name) | ^ table11.c:143:1: warning: non-void function does not return a value [-Wreturn-type] 143 | } | ^ table11.c:149:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 149 | InitBuiltInTypes() | ^ | int table11.c:186:1: warning: non-void function does not return a value [-Wreturn-type] 186 | } | ^ table11.c:193:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 193 | InitEnumeratedTypes() | ^ | int table11.c:716:1: warning: non-void function does not return a value [-Wreturn-type] 716 | } | ^ --- print11.o --- clang -pipe -Os -I/opt/pkg/include -Wno-error=return-type -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c print11.c --- table11.o --- table11.c:723:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 723 | InitSetTypes() | ^ | int table11.c:816:1: warning: non-void function does not return a value [-Wreturn-type] 816 | } | ^ table11.c:826:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 826 | PrintCHAR2B(buf) | ^ | int table11.c:829:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 829 | PrintField(buf, 0, 1, CARD8, "byte1"); | ^ table11.c:826:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | PrintCHAR2B(buf) | ^ table11.c:831:1: warning: non-void function does not return a value [-Wreturn-type] 831 | } | ^ table11.c:833:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 833 | PrintPOINT(buf) | ^ | int table11.c:836:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 836 | PrintField(buf, 0, 2, INT16, "x"); | ^ table11.c:833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | PrintPOINT(buf) | ^ table11.c:841:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 841 | PrintRECTANGLE(buf) | ^ | int table11.c:844:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 844 | PrintField(buf, 0, 2, INT16, "x"); | ^ table11.c:841:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 841 | PrintRECTANGLE(buf) | ^ table11.c:851:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 851 | PrintARC(buf) | ^ | int table11.c:854:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 854 | PrintField(buf, 0, 2, INT16, "x"); | ^ table11.c:851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | PrintARC(buf) | ^ table11.c:863:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 863 | PrintHOST(buf) | ^ | int table11.c:867:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 867 | PrintField(buf, 0, 1, HOSTFAMILY, "family"); | ^ table11.c:869:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | n = IShort(&buf[2]); | ^ table11.c:870:18: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | (void)PrintList(&buf[4], (long)n, BYTE, "address"); | ^ table11.c:871:13: warning: passing arguments to 'pad' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 871 | return(pad((long)(4 + n))); | ^ table11.c:863:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 863 | PrintHOST(buf) | ^ table11.c:874:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 874 | PrintTIMECOORD(buf) | ^ | int table11.c:877:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 877 | PrintField(buf, 0, 4, TIMESTAMP, "time"); | ^ table11.c:874:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 874 | PrintTIMECOORD(buf) | ^ table11.c:883:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 883 | PrintFONTPROP(buf) | ^ | int table11.c:886:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 886 | PrintField(buf, 0, 4, ATOM, "name"); | ^ table11.c:883:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | PrintFONTPROP(buf) | ^ table11.c:891:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 891 | PrintCHARINFO(buf) | ^ | int table11.c:894:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 894 | PrintField(buf, 0, 2, INT16, "left-side-bearing"); | ^ table11.c:891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | PrintCHARINFO(buf) | ^ table11.c:903:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 903 | PrintSEGMENT(buf) | ^ | int table11.c:906:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 906 | PrintField(buf, 0, 2, INT16, "x1"); | ^ table11.c:903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | PrintSEGMENT(buf) | ^ table11.c:913:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 913 | PrintCOLORITEM(buf) | ^ | int table11.c:916:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 916 | PrintField(buf, 0, 4, CARD32, "pixel"); | ^ table11.c:913:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | PrintCOLORITEM(buf) | ^ table11.c:924:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 924 | PrintRGB(buf) | ^ | int table11.c:927:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 927 | PrintField(buf, 0, 2, CARD16, "red"); | ^ table11.c:924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | PrintRGB(buf) | ^ table11.c:933:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 933 | PrintFORMAT(buf) | ^ | int table11.c:936:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 936 | PrintField(buf, 0, 1, CARD8, "depth"); | ^ table11.c:933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | PrintFORMAT(buf) | ^ table11.c:942:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 942 | PrintSCREEN(buf) | ^ | int table11.c:948:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 948 | PrintField(buf, 0, 4, WINDOW, "root"); | ^ table11.c:964:12: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | n = IByte(&buf[39]); | ^ table11.c:965:16: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | m = PrintList(&buf[40], (long)n, DEPTH, "allowed-depths"); | ^ table11.c:942:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 942 | PrintSCREEN(buf) | ^ table11.c:969:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 969 | PrintDEPTH(buf) | ^ | int table11.c:975:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 975 | PrintField(buf, 0, 1, CARD8, "depth"); | ^ table11.c:977:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | n = IShort(&buf[2]); | ^ table11.c:978:16: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 978 | m = PrintList(&buf[8], (long)n, VISUALTYPE, "visuals"); | ^ table11.c:969:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | PrintDEPTH(buf) | ^ table11.c:982:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 982 | PrintVISUALTYPE(buf) | ^ | int table11.c:985:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 985 | PrintField(buf, 0, 4, VISUALID, "visual-id"); | ^ table11.c:982:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 982 | PrintVISUALTYPE(buf) | ^ table11.c:997:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 997 | InitRecordTypes() | ^ | int table11.c:1014:1: warning: non-void function does not return a value [-Wreturn-type] 1014 | } | ^ table11.c:1023:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1023 | InitValuesTypes() | ^ | int table11.c:1088:1: warning: non-void function does not return a value [-Wreturn-type] 1088 | } | ^ --- print11.o --- In file included from print11.c:13: ./x11.h:475:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 475 | extern PrintString8(); | ~~~~~~ ^ | int ./x11.h:476:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 476 | extern PrintString16(); | ~~~~~~ ^ | int ./x11.h:477:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 477 | extern PrintListSTR(); | ~~~~~~ ^ | int print11.c:81:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | PrintSetUpMessage(buf) | ^ | int print11.c:87:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | enterprocedure("PrintSetUpMessage"); | ^ print11.c:89:5: warning: non-void function 'PrintSetUpMessage' should return a value [-Wreturn-mismatch] 89 | return; | ^ print11.c:90:3: warning: call to undeclared function 'SetIndentLevel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | print_set_indent_level(PRINTCLIENT); | ^ print11.c:73:35: note: expanded from macro 'print_set_indent_level' 73 | #define print_set_indent_level(a) SetIndentLevel(a) | ^ print11.c:91:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | print_field_1up(buf, 0, 1, BYTEMODE, "byte-order"); | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:95:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | n = IShort(&buf[6]); | ^ print11.c:97:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | d = IShort(&buf[8]); | ^ print11.c:98:3: warning: passing arguments to 'PrintString8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | print_str8_1up(&buf[12], (long)n, "authorization-protocol-name"); | ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' 67 | #define print_str8_1up(a,b,c) PrintString8(a,b,c) | ^ print11.c:99:26: warning: passing arguments to 'pad' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | print_str8_1up(&buf[pad((long)(12+n))], (long)d, "authorization-protocol-data"); | ^ print11.c:99:3: warning: passing arguments to 'PrintString8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | print_str8_1up(&buf[pad((long)(12+n))], (long)d, "authorization-protocol-data"); | ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' 67 | #define print_str8_1up(a,b,c) PrintString8(a,b,c) | ^ print11.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | PrintSetUpMessage(buf) | ^ print11.c:100:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 100 | } | ^ print11.c:102:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 102 | PrintSetUpReply(buf) | ^ | int print11.c:105:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 105 | enterprocedure("PrintSetUpReply"); | ^ print11.c:106:3: warning: call to undeclared function 'SetIndentLevel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | print_set_indent_level(PRINTSERVER); | ^ print11.c:73:35: note: expanded from macro 'print_set_indent_level' 73 | #define print_set_indent_level(a) SetIndentLevel(a) | ^ print11.c:107:12: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | if (IByte(&buf[0])) | ^ print11.c:108:5: warning: call to undeclared function 'PrintSuccessfulSetUpReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | PrintSuccessfulSetUpReply(buf); | ^ print11.c:110:5: warning: call to undeclared function 'PrintFailedSetUpReply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | PrintFailedSetUpReply(buf); | ^ print11.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | PrintSetUpReply(buf) | ^ print11.c:111:1: warning: non-void function does not return a value [-Wreturn-type] 111 | } | ^ print11.c:113:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 113 | PrintFailedSetUpReply(buf) | ^ | int print11.c:118:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | print_field_1up(buf, 0, 1, 0, "SetUp Failed"); | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:120:5: warning: non-void function 'PrintFailedSetUpReply' should return a value [-Wreturn-mismatch] 120 | return; | ^ print11.c:122:12: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | n = IByte(&buf[1]); | ^ print11.c:126:3: warning: passing arguments to 'PrintString8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | print_str8_1up(&buf[8], (long)n, "reason"); | ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' 67 | #define print_str8_1up(a,b,c) PrintString8(a,b,c) | ^ print11.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | PrintFailedSetUpReply(buf) | ^ print11.c:127:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 127 | } | ^ print11.c:129:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 129 | PrintSuccessfulSetUpReply(buf) | ^ | int print11.c:137:5: warning: non-void function 'PrintSuccessfulSetUpReply' should return a value [-Wreturn-mismatch] 137 | return; | ^ print11.c:138:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | print_field_1up(buf, 2, 2, CARD16, "protocol-major-version"); | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:146:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | v = IShort(&buf[24]); | ^ print11.c:149:12: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | m = IByte(&buf[28]); | ^ print11.c:151:12: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | n = IByte(&buf[29]); | ^ print11.c:158:3: warning: passing arguments to 'PrintString8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | print_str8_1up(&buf[40], (long)v, "vendor"); | ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' 67 | #define print_str8_1up(a,b,c) PrintString8(a,b,c) | ^ print11.c:159:32: warning: passing arguments to 'pad' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | (void)print_list_1up(&buf[pad((long)(40+v))], (long)n, FORMAT, "pixmap-formats"); | ^ print11.c:159:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | (void)print_list_1up(&buf[pad((long)(40+v))], (long)n, FORMAT, "pixmap-formats"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:160:32: warning: passing arguments to 'pad' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | (void)print_list_1up(&buf[pad((long)(40+v) + 8 * n)], (long)m, SCREEN, "roots"); | ^ print11.c:160:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | (void)print_list_1up(&buf[pad((long)(40+v) + 8 * n)], (long)m, SCREEN, "roots"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | PrintSuccessfulSetUpReply(buf) | ^ print11.c:161:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 161 | } | ^ print11.c:182:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 182 | RequestError(buf) | ^ | int print11.c:185:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 185 | print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Request */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:187:5: warning: non-void function 'RequestError' should return a value [-Wreturn-mismatch] 187 | return; | ^ print11.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | RequestError(buf) | ^ print11.c:191:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 191 | } | ^ print11.c:193:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 193 | ValueError(buf) | ^ | int print11.c:196:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 196 | print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Value */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:198:5: warning: non-void function 'ValueError' should return a value [-Wreturn-mismatch] 198 | return; | ^ print11.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | ValueError(buf) | ^ print11.c:203:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 203 | } | ^ print11.c:205:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 205 | WindowError(buf) | ^ | int print11.c:208:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 208 | print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Window */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:210:5: warning: non-void function 'WindowError' should return a value [-Wreturn-mismatch] 210 | return; | ^ print11.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | WindowError(buf) | ^ print11.c:215:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 215 | } | ^ print11.c:217:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 217 | PixmapError(buf) | ^ | int print11.c:220:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 220 | print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Pixmap */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:222:5: warning: non-void function 'PixmapError' should return a value [-Wreturn-mismatch] 222 | return; | ^ print11.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | PixmapError(buf) | ^ print11.c:227:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 227 | } | ^ print11.c:229:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 229 | AtomError(buf) | ^ | int print11.c:232:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 232 | print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Atom */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:234:5: warning: non-void function 'AtomError' should return a value [-Wreturn-mismatch] 234 | return; | ^ print11.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | AtomError(buf) | ^ print11.c:239:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 239 | } | ^ print11.c:241:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 241 | CursorError(buf) | ^ | int print11.c:244:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 244 | print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Cursor */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:246:5: warning: non-void function 'CursorError' should return a value [-Wreturn-mismatch] 246 | return; | ^ print11.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | CursorError(buf) | ^ print11.c:251:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 251 | } | ^ print11.c:253:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 253 | FontError(buf) | ^ | int print11.c:256:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 256 | print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Font */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:258:5: warning: non-void function 'FontError' should return a value [-Wreturn-mismatch] 258 | return; | ^ print11.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | FontError(buf) | ^ print11.c:263:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 263 | } | ^ print11.c:265:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 265 | MatchError(buf) | ^ | int print11.c:268:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 268 | print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Match */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:270:5: warning: non-void function 'MatchError' should return a value [-Wreturn-mismatch] 270 | return; | ^ print11.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | MatchError(buf) | ^ print11.c:274:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 274 | } | ^ print11.c:276:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 276 | DrawableError(buf) | ^ | int print11.c:279:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 279 | print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Drawable */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:281:5: warning: non-void function 'DrawableError' should return a value [-Wreturn-mismatch] 281 | return; | ^ print11.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | DrawableError(buf) | ^ print11.c:286:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 286 | } | ^ print11.c:288:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 288 | AccessError(buf) | ^ | int print11.c:291:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 291 | print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Access */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:293:5: warning: non-void function 'AccessError' should return a value [-Wreturn-mismatch] 293 | return; | ^ print11.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | AccessError(buf) | ^ print11.c:297:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 297 | } | ^ print11.c:299:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 299 | AllocError(buf) | ^ | int print11.c:302:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 302 | print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Alloc */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:304:5: warning: non-void function 'AllocError' should return a value [-Wreturn-mismatch] 304 | return; | ^ print11.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | AllocError(buf) | ^ print11.c:308:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 308 | } | ^ print11.c:310:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 310 | ColormapError(buf) | ^ | int print11.c:313:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 313 | print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Colormap */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:315:5: warning: non-void function 'ColormapError' should return a value [-Wreturn-mismatch] 315 | return; | ^ print11.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | ColormapError(buf) | ^ print11.c:320:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 320 | } | ^ print11.c:322:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 322 | GContextError(buf) | ^ | int print11.c:325:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 325 | print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* GContext */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:327:5: warning: non-void function 'GContextError' should return a value [-Wreturn-mismatch] 327 | return; | ^ print11.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | GContextError(buf) | ^ print11.c:332:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 332 | } | ^ print11.c:334:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 334 | IDChoiceError(buf) | ^ | int print11.c:337:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 337 | print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* IDChoice */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:339:5: warning: non-void function 'IDChoiceError' should return a value [-Wreturn-mismatch] 339 | return; | ^ print11.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | IDChoiceError(buf) | ^ print11.c:344:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 344 | } | ^ print11.c:346:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 346 | NameError(buf) | ^ | int print11.c:349:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 349 | print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Name */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:351:5: warning: non-void function 'NameError' should return a value [-Wreturn-mismatch] 351 | return; | ^ print11.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | NameError(buf) | ^ print11.c:355:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 355 | } | ^ print11.c:357:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 357 | LengthError(buf) | ^ | int print11.c:360:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 360 | print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Length */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:362:5: warning: non-void function 'LengthError' should return a value [-Wreturn-mismatch] 362 | return; | ^ print11.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | LengthError(buf) | ^ print11.c:366:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 366 | } | ^ print11.c:368:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 368 | ImplementationError(buf) | ^ | int print11.c:371:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 371 | print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Implementation */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:373:5: warning: non-void function 'ImplementationError' should return a value [-Wreturn-mismatch] 373 | return; | ^ print11.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | ImplementationError(buf) | ^ print11.c:377:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 377 | } | ^ print11.c:386:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 386 | KeyPressEvent(buf) | ^ | int print11.c:389:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 389 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* KeyPress */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:391:5: warning: non-void function 'KeyPressEvent' should return a value [-Wreturn-mismatch] 391 | return; | ^ print11.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | KeyPressEvent(buf) | ^ print11.c:404:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 404 | } | ^ print11.c:406:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 406 | KeyReleaseEvent(buf) | ^ | int print11.c:409:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 409 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* KeyRelease */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:411:5: warning: non-void function 'KeyReleaseEvent' should return a value [-Wreturn-mismatch] 411 | return; | ^ print11.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | KeyReleaseEvent(buf) | ^ print11.c:424:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 424 | } | ^ print11.c:426:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 426 | ButtonPressEvent(buf) | ^ | int print11.c:429:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 429 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* ButtonPress */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:431:5: warning: non-void function 'ButtonPressEvent' should return a value [-Wreturn-mismatch] 431 | return; | ^ print11.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | ButtonPressEvent(buf) | ^ print11.c:444:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 444 | } | ^ print11.c:446:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 446 | ButtonReleaseEvent(buf) | ^ | int print11.c:449:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 449 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* ButtonRelease */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:451:5: warning: non-void function 'ButtonReleaseEvent' should return a value [-Wreturn-mismatch] 451 | return; | ^ print11.c:446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | ButtonReleaseEvent(buf) | ^ print11.c:464:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 464 | } | ^ print11.c:466:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 466 | MotionNotifyEvent(buf) | ^ | int print11.c:469:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 469 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* MotionNotify */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:471:5: warning: non-void function 'MotionNotifyEvent' should return a value [-Wreturn-mismatch] 471 | return; | ^ print11.c:466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | MotionNotifyEvent(buf) | ^ print11.c:484:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 484 | } | ^ print11.c:486:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 486 | EnterNotifyEvent(buf) | ^ | int print11.c:489:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 489 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* EnterNotify */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:491:5: warning: non-void function 'EnterNotifyEvent' should return a value [-Wreturn-mismatch] 491 | return; | ^ print11.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | EnterNotifyEvent(buf) | ^ print11.c:505:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 505 | } | ^ print11.c:507:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 507 | LeaveNotifyEvent(buf) | ^ | int print11.c:510:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 510 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* LeaveNotify */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:512:5: warning: non-void function 'LeaveNotifyEvent' should return a value [-Wreturn-mismatch] 512 | return; | ^ print11.c:507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | LeaveNotifyEvent(buf) | ^ print11.c:526:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 526 | } | ^ print11.c:528:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 528 | FocusInEvent(buf) | ^ | int print11.c:531:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 531 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* FocusIn */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:533:5: warning: non-void function 'FocusInEvent' should return a value [-Wreturn-mismatch] 533 | return; | ^ print11.c:528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | FocusInEvent(buf) | ^ print11.c:538:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 538 | } | ^ print11.c:540:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 540 | FocusOutEvent(buf) | ^ | int print11.c:543:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 543 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* FocusOut */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:545:5: warning: non-void function 'FocusOutEvent' should return a value [-Wreturn-mismatch] 545 | return; | ^ print11.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | FocusOutEvent(buf) | ^ print11.c:550:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 550 | } | ^ print11.c:552:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 552 | KeymapNotifyEvent(buf) | ^ | int print11.c:555:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 555 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* KeymapNotify */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:557:5: warning: non-void function 'KeymapNotifyEvent' should return a value [-Wreturn-mismatch] 557 | return; | ^ print11.c:558:3: warning: call to undeclared function 'PrintBytes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 558 | print_bytes_1up(&buf[1], (long)31,"keys"); | ^ print11.c:71:32: note: expanded from macro 'print_bytes_1up' 71 | #define print_bytes_1up(a,b,c) PrintBytes(a,b,c) | ^ print11.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | KeymapNotifyEvent(buf) | ^ print11.c:559:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 559 | } | ^ print11.c:561:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 561 | ExposeEvent(buf) | ^ | int print11.c:564:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 564 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* Expose */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:566:5: warning: non-void function 'ExposeEvent' should return a value [-Wreturn-mismatch] 566 | return; | ^ print11.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | ExposeEvent(buf) | ^ print11.c:574:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 574 | } | ^ print11.c:576:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 576 | GraphicsExposureEvent(buf) | ^ | int print11.c:579:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 579 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* GraphicsExposure */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:581:5: warning: non-void function 'GraphicsExposureEvent' should return a value [-Wreturn-mismatch] 581 | return; | ^ print11.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | GraphicsExposureEvent(buf) | ^ print11.c:591:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 591 | } | ^ print11.c:593:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 593 | NoExposureEvent(buf) | ^ | int print11.c:596:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 596 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* NoExposure */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:598:5: warning: non-void function 'NoExposureEvent' should return a value [-Wreturn-mismatch] 598 | return; | ^ print11.c:593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | NoExposureEvent(buf) | ^ print11.c:603:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 603 | } | ^ print11.c:605:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 605 | VisibilityNotifyEvent(buf) | ^ | int print11.c:608:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 608 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* VisibilityNotify */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:610:5: warning: non-void function 'VisibilityNotifyEvent' should return a value [-Wreturn-mismatch] 610 | return; | ^ print11.c:605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | VisibilityNotifyEvent(buf) | ^ print11.c:614:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 614 | } | ^ print11.c:616:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 616 | CreateNotifyEvent(buf) | ^ | int print11.c:619:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 619 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* CreateNotify */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:621:5: warning: non-void function 'CreateNotifyEvent' should return a value [-Wreturn-mismatch] 621 | return; | ^ print11.c:616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | CreateNotifyEvent(buf) | ^ print11.c:631:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 631 | } | ^ print11.c:633:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 633 | DestroyNotifyEvent(buf) | ^ | int print11.c:636:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 636 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* DestroyNotify */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:638:5: warning: non-void function 'DestroyNotifyEvent' should return a value [-Wreturn-mismatch] 638 | return; | ^ print11.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | DestroyNotifyEvent(buf) | ^ print11.c:642:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 642 | } | ^ print11.c:644:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 644 | UnmapNotifyEvent(buf) | ^ | int print11.c:647:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 647 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* UnmapNotify */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:649:5: warning: non-void function 'UnmapNotifyEvent' should return a value [-Wreturn-mismatch] 649 | return; | ^ print11.c:644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | UnmapNotifyEvent(buf) | ^ print11.c:654:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 654 | } | ^ print11.c:656:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 656 | MapNotifyEvent(buf) | ^ | int print11.c:659:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 659 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* MapNotify */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:661:5: warning: non-void function 'MapNotifyEvent' should return a value [-Wreturn-mismatch] 661 | return; | ^ print11.c:656:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | MapNotifyEvent(buf) | ^ print11.c:666:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 666 | } | ^ print11.c:668:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 668 | MapRequestEvent(buf) | ^ | int print11.c:671:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 671 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* MapRequest */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:673:5: warning: non-void function 'MapRequestEvent' should return a value [-Wreturn-mismatch] 673 | return; | ^ print11.c:668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | MapRequestEvent(buf) | ^ print11.c:677:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 677 | } | ^ print11.c:679:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 679 | ReparentNotifyEvent(buf) | ^ | int print11.c:682:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 682 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* ReparentNotify */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:684:5: warning: non-void function 'ReparentNotifyEvent' should return a value [-Wreturn-mismatch] 684 | return; | ^ print11.c:679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | ReparentNotifyEvent(buf) | ^ print11.c:692:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 692 | } | ^ print11.c:694:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 694 | ConfigureNotifyEvent(buf) | ^ | int print11.c:697:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 697 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* ConfigureNotify */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:699:5: warning: non-void function 'ConfigureNotifyEvent' should return a value [-Wreturn-mismatch] 699 | return; | ^ print11.c:694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | ConfigureNotifyEvent(buf) | ^ print11.c:710:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 710 | } | ^ print11.c:712:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 712 | ConfigureRequestEvent(buf) | ^ | int print11.c:715:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 715 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* ConfigureRequest */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:717:5: warning: non-void function 'ConfigureRequestEvent' should return a value [-Wreturn-mismatch] 717 | return; | ^ print11.c:712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | ConfigureRequestEvent(buf) | ^ print11.c:729:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 729 | } | ^ print11.c:731:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 731 | GravityNotifyEvent(buf) | ^ | int print11.c:734:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 734 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* GravityNotify */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:736:5: warning: non-void function 'GravityNotifyEvent' should return a value [-Wreturn-mismatch] 736 | return; | ^ print11.c:731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | GravityNotifyEvent(buf) | ^ print11.c:742:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 742 | } | ^ print11.c:744:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 744 | ResizeRequestEvent(buf) | ^ | int print11.c:747:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 747 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* ResizeRequest */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:749:5: warning: non-void function 'ResizeRequestEvent' should return a value [-Wreturn-mismatch] 749 | return; | ^ print11.c:744:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | ResizeRequestEvent(buf) | ^ print11.c:754:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 754 | } | ^ print11.c:756:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 756 | CirculateNotifyEvent(buf) | ^ | int print11.c:759:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 759 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* CirculateNotify */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:761:5: warning: non-void function 'CirculateNotifyEvent' should return a value [-Wreturn-mismatch] 761 | return; | ^ print11.c:756:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | CirculateNotifyEvent(buf) | ^ print11.c:767:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 767 | } | ^ print11.c:769:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 769 | CirculateRequestEvent(buf) | ^ | int print11.c:772:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 772 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* CirculateRequest */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:774:5: warning: non-void function 'CirculateRequestEvent' should return a value [-Wreturn-mismatch] 774 | return; | ^ print11.c:769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | CirculateRequestEvent(buf) | ^ print11.c:779:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 779 | } | ^ print11.c:781:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 781 | PropertyNotifyEvent(buf) | ^ | int print11.c:784:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 784 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* PropertyNotify */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:786:5: warning: non-void function 'PropertyNotifyEvent' should return a value [-Wreturn-mismatch] 786 | return; | ^ print11.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | PropertyNotifyEvent(buf) | ^ print11.c:792:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 792 | } | ^ print11.c:794:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 794 | SelectionClearEvent(buf) | ^ | int print11.c:797:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 797 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* SelectionClear */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:799:5: warning: non-void function 'SelectionClearEvent' should return a value [-Wreturn-mismatch] 799 | return; | ^ print11.c:794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 794 | SelectionClearEvent(buf) | ^ print11.c:804:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 804 | } | ^ print11.c:806:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 806 | SelectionRequestEvent(buf) | ^ | int print11.c:809:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 809 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* SelectionRequest */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:811:5: warning: non-void function 'SelectionRequestEvent' should return a value [-Wreturn-mismatch] 811 | return; | ^ print11.c:806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 806 | SelectionRequestEvent(buf) | ^ print11.c:819:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 819 | } | ^ print11.c:821:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 821 | SelectionNotifyEvent(buf) | ^ | int print11.c:824:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 824 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* SelectionNotify */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:826:5: warning: non-void function 'SelectionNotifyEvent' should return a value [-Wreturn-mismatch] 826 | return; | ^ print11.c:821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | SelectionNotifyEvent(buf) | ^ print11.c:833:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 833 | } | ^ print11.c:835:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 835 | ColormapNotifyEvent(buf) | ^ | int print11.c:838:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 838 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* ColormapNotify */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:840:5: warning: non-void function 'ColormapNotifyEvent' should return a value [-Wreturn-mismatch] 840 | return; | ^ print11.c:835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 835 | ColormapNotifyEvent(buf) | ^ print11.c:846:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 846 | } | ^ print11.c:848:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 848 | ClientMessageEvent(buf) | ^ | int print11.c:854:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 854 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* ClientMessage */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:856:5: warning: non-void function 'ClientMessageEvent' should return a value [-Wreturn-mismatch] 856 | return; | ^ print11.c:858:17: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | format = IByte(&buf[1]); | ^ print11.c:862:15: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 862 | type = ILong(&buf[8]); | ^ print11.c:864:5: warning: passing arguments to 'PrintString8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | print_str8_1up(&buf[12], 20L, "data"); | ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' 67 | #define print_str8_1up(a,b,c) PrintString8(a,b,c) | ^ print11.c:866:11: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | (void)print_list_1up(&buf[12], 10L, INT16, "data"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:868:11: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | (void)print_list_1up(&buf[12], 5L, INT32, "data"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:870:5: warning: call to undeclared function 'PrintBytes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 870 | print_bytes_1up(&buf[12], 20L, "data"); | ^ print11.c:71:32: note: expanded from macro 'print_bytes_1up' 71 | #define print_bytes_1up(a,b,c) PrintBytes(a,b,c) | ^ print11.c:848:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | ClientMessageEvent(buf) | ^ print11.c:871:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 871 | } | ^ print11.c:873:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 873 | MappingNotifyEvent(buf) | ^ | int print11.c:876:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 876 | print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* MappingNotify */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:878:5: warning: non-void function 'MappingNotifyEvent' should return a value [-Wreturn-mismatch] 878 | return; | ^ print11.c:873:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | MappingNotifyEvent(buf) | ^ print11.c:883:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 883 | } | ^ print11.c:892:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 892 | CreateWindow(buf) | ^ | int print11.c:896:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 896 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* CreateWindow */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:898:5: warning: non-void function 'CreateWindow' should return a value [-Wreturn-mismatch] 898 | return; | ^ print11.c:914:3: warning: call to undeclared function 'PrintValues'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 914 | print_values_1up(&buf[28], 4, WINDOW_BITMASK, &buf[32], "value-list"); | ^ print11.c:72:37: note: expanded from macro 'print_values_1up' 72 | #define print_values_1up(a,b,c,d,e) PrintValues(a,b,c,d,e) | ^ print11.c:892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | CreateWindow(buf) | ^ print11.c:915:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 915 | } | ^ print11.c:917:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 917 | ChangeWindowAttributes(buf) | ^ | int print11.c:921:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 921 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ChangeWindowAttributes */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:923:5: warning: non-void function 'ChangeWindowAttributes' should return a value [-Wreturn-mismatch] 923 | return; | ^ print11.c:930:3: warning: call to undeclared function 'PrintValues'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 930 | print_values_1up(&buf[8], 4, WINDOW_BITMASK, &buf[12], "value-list"); | ^ print11.c:72:37: note: expanded from macro 'print_values_1up' 72 | #define print_values_1up(a,b,c,d,e) PrintValues(a,b,c,d,e) | ^ print11.c:917:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 917 | ChangeWindowAttributes(buf) | ^ print11.c:931:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 931 | } | ^ print11.c:933:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 933 | GetWindowAttributes(buf) | ^ | int print11.c:937:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 937 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetWindowAttributes */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:939:5: warning: non-void function 'GetWindowAttributes' should return a value [-Wreturn-mismatch] 939 | return; | ^ print11.c:933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | GetWindowAttributes(buf) | ^ print11.c:945:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 945 | } | ^ print11.c:947:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 947 | GetWindowAttributesReply(buf) | ^ | int print11.c:950:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 950 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetWindowAttributes */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:952:5: warning: non-void function 'GetWindowAttributesReply' should return a value [-Wreturn-mismatch] 952 | return; | ^ print11.c:947:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | GetWindowAttributesReply(buf) | ^ print11.c:970:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 970 | } | ^ print11.c:972:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 972 | DestroyWindow(buf) | ^ | int print11.c:976:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 976 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* DestroyWindow */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:978:5: warning: non-void function 'DestroyWindow' should return a value [-Wreturn-mismatch] 978 | return; | ^ print11.c:972:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 972 | DestroyWindow(buf) | ^ print11.c:984:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 984 | } | ^ print11.c:986:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 986 | DestroySubwindows(buf) | ^ | int print11.c:990:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 990 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* DestroySubwindows */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:992:5: warning: non-void function 'DestroySubwindows' should return a value [-Wreturn-mismatch] 992 | return; | ^ print11.c:986:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 986 | DestroySubwindows(buf) | ^ print11.c:998:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 998 | } | ^ print11.c:1000:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1000 | ChangeSaveSet(buf) | ^ | int print11.c:1004:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1004 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ChangeSaveSet */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1006:5: warning: non-void function 'ChangeSaveSet' should return a value [-Wreturn-mismatch] 1006 | return; | ^ print11.c:1000:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1000 | ChangeSaveSet(buf) | ^ print11.c:1013:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1013 | } | ^ print11.c:1015:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1015 | ReparentWindow(buf) | ^ | int print11.c:1019:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1019 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ReparentWindow */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1021:5: warning: non-void function 'ReparentWindow' should return a value [-Wreturn-mismatch] 1021 | return; | ^ print11.c:1015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | ReparentWindow(buf) | ^ print11.c:1030:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1030 | } | ^ print11.c:1032:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1032 | MapWindow(buf) | ^ | int print11.c:1036:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1036 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* MapWindow */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1038:5: warning: non-void function 'MapWindow' should return a value [-Wreturn-mismatch] 1038 | return; | ^ print11.c:1032:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1032 | MapWindow(buf) | ^ print11.c:1044:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1044 | } | ^ print11.c:1046:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1046 | MapSubwindows(buf) | ^ | int print11.c:1050:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1050 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* MapSubwindows */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1052:5: warning: non-void function 'MapSubwindows' should return a value [-Wreturn-mismatch] 1052 | return; | ^ print11.c:1046:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1046 | MapSubwindows(buf) | ^ print11.c:1058:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1058 | } | ^ print11.c:1060:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1060 | UnmapWindow(buf) | ^ | int print11.c:1064:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1064 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* UnmapWindow */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1066:5: warning: non-void function 'UnmapWindow' should return a value [-Wreturn-mismatch] 1066 | return; | ^ print11.c:1060:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1060 | UnmapWindow(buf) | ^ print11.c:1072:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1072 | } | ^ print11.c:1074:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1074 | UnmapSubwindows(buf) | ^ | int print11.c:1078:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1078 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* UnmapSubwindows */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1080:5: warning: non-void function 'UnmapSubwindows' should return a value [-Wreturn-mismatch] 1080 | return; | ^ print11.c:1074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1074 | UnmapSubwindows(buf) | ^ print11.c:1086:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1086 | } | ^ print11.c:1088:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1088 | ConfigureWindow(buf) | ^ | int print11.c:1092:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1092 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ConfigureWindow */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1094:5: warning: non-void function 'ConfigureWindow' should return a value [-Wreturn-mismatch] 1094 | return; | ^ print11.c:1101:3: warning: call to undeclared function 'PrintValues'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1101 | print_values_1up(&buf[8], 2, CONFIGURE_BITMASK, &buf[12], "value-list"); | ^ print11.c:72:37: note: expanded from macro 'print_values_1up' 72 | #define print_values_1up(a,b,c,d,e) PrintValues(a,b,c,d,e) | ^ print11.c:1088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1088 | ConfigureWindow(buf) | ^ print11.c:1102:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1102 | } | ^ print11.c:1104:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1104 | CirculateWindow(buf) | ^ | int print11.c:1108:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1108 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* CirculateWindow */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1110:5: warning: non-void function 'CirculateWindow' should return a value [-Wreturn-mismatch] 1110 | return; | ^ print11.c:1104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1104 | CirculateWindow(buf) | ^ print11.c:1117:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1117 | } | ^ print11.c:1119:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1119 | GetGeometry(buf) | ^ | int print11.c:1123:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1123 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetGeometry */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1125:5: warning: non-void function 'GetGeometry' should return a value [-Wreturn-mismatch] 1125 | return; | ^ print11.c:1119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1119 | GetGeometry(buf) | ^ print11.c:1131:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1131 | } | ^ print11.c:1133:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1133 | GetGeometryReply(buf) | ^ | int print11.c:1136:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1136 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetGeometry */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1138:5: warning: non-void function 'GetGeometryReply' should return a value [-Wreturn-mismatch] 1138 | return; | ^ print11.c:1133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1133 | GetGeometryReply(buf) | ^ print11.c:1148:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1148 | } | ^ print11.c:1150:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1150 | QueryTree(buf) | ^ | int print11.c:1154:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1154 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* QueryTree */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1156:5: warning: non-void function 'QueryTree' should return a value [-Wreturn-mismatch] 1156 | return; | ^ print11.c:1150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1150 | QueryTree(buf) | ^ print11.c:1162:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1162 | } | ^ print11.c:1164:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1164 | QueryTreeReply(buf) | ^ | int print11.c:1168:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1168 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* QueryTree */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1170:5: warning: non-void function 'QueryTreeReply' should return a value [-Wreturn-mismatch] 1170 | return; | ^ print11.c:1176:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1176 | n = IShort(&buf[16]); | ^ print11.c:1177:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1177 | (void)print_list_1up(&buf[32], (long)n, WINDOW, "children"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:1164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | QueryTreeReply(buf) | ^ print11.c:1178:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1178 | } | ^ print11.c:1180:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1180 | InternAtom(buf) | ^ | int print11.c:1185:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1185 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* InternAtom */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1187:5: warning: non-void function 'InternAtom' should return a value [-Wreturn-mismatch] 1187 | return; | ^ print11.c:1194:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1194 | n = IShort(&buf[4]); | ^ print11.c:1195:3: warning: passing arguments to 'PrintString8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1195 | print_str8_1up(&buf[8], (long)n, "name"); | ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' 67 | #define print_str8_1up(a,b,c) PrintString8(a,b,c) | ^ print11.c:1180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1180 | InternAtom(buf) | ^ print11.c:1196:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1196 | } | ^ print11.c:1198:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1198 | InternAtomReply(buf) | ^ | int print11.c:1201:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1201 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* InternAtom */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1203:5: warning: non-void function 'InternAtomReply' should return a value [-Wreturn-mismatch] 1203 | return; | ^ print11.c:1198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1198 | InternAtomReply(buf) | ^ print11.c:1207:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1207 | } | ^ print11.c:1209:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1209 | GetAtomName(buf) | ^ | int print11.c:1213:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1213 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetAtomName */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1215:5: warning: non-void function 'GetAtomName' should return a value [-Wreturn-mismatch] 1215 | return; | ^ print11.c:1209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1209 | GetAtomName(buf) | ^ print11.c:1221:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1221 | } | ^ print11.c:1223:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1223 | GetAtomNameReply(buf) | ^ | int print11.c:1227:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1227 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetAtomName */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1229:5: warning: non-void function 'GetAtomNameReply' should return a value [-Wreturn-mismatch] 1229 | return; | ^ print11.c:1233:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1233 | n = IShort(&buf[8]); | ^ print11.c:1234:3: warning: passing arguments to 'PrintString8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1234 | print_str8_1up(&buf[32], (long)n, "name"); | ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' 67 | #define print_str8_1up(a,b,c) PrintString8(a,b,c) | ^ print11.c:1223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1223 | GetAtomNameReply(buf) | ^ print11.c:1235:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1235 | } | ^ print11.c:1237:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1237 | ChangeProperty(buf) | ^ | int print11.c:1244:12: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1244 | n = ILong(&buf[20]); | ^ print11.c:1245:15: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1245 | type = ILong(&buf[12]); | ^ print11.c:1246:17: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1246 | format = IByte(&buf[16]); | ^ print11.c:1249:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1249 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ChangeProperty */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1251:5: warning: non-void function 'ChangeProperty' should return a value [-Wreturn-mismatch] 1251 | return; | ^ print11.c:1265:7: warning: passing arguments to 'PrintString8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1265 | print_str8_1up(&buf[24], n * format/8, "data"); | ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' 67 | #define print_str8_1up(a,b,c) PrintString8(a,b,c) | ^ print11.c:1270:7: warning: passing arguments to 'PrintString8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1270 | print_str8_1up(&buf[24], n * format/8, "data(partial)"); | ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' 67 | #define print_str8_1up(a,b,c) PrintString8(a,b,c) | ^ print11.c:1274:11: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1274 | (void)print_list_1up(&buf[24], n, INT16, "data"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:1276:11: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1276 | (void)print_list_1up(&buf[24], n, INT32, "data"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:1278:5: warning: call to undeclared function 'PrintBytes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1278 | print_bytes_1up(&buf[24], n * format/8, "data"); | ^ print11.c:71:32: note: expanded from macro 'print_bytes_1up' 71 | #define print_bytes_1up(a,b,c) PrintBytes(a,b,c) | ^ print11.c:1237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1237 | ChangeProperty(buf) | ^ print11.c:1279:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1279 | } | ^ print11.c:1281:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1281 | DeleteProperty(buf) | ^ | int print11.c:1285:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1285 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* DeleteProperty */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1287:5: warning: non-void function 'DeleteProperty' should return a value [-Wreturn-mismatch] 1287 | return; | ^ print11.c:1281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1281 | DeleteProperty(buf) | ^ print11.c:1294:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1294 | } | ^ print11.c:1296:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1296 | GetProperty(buf) | ^ | int print11.c:1300:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1300 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetProperty */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1302:5: warning: non-void function 'GetProperty' should return a value [-Wreturn-mismatch] 1302 | return; | ^ print11.c:1296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1296 | GetProperty(buf) | ^ print11.c:1313:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1313 | } | ^ print11.c:1315:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1315 | GetPropertyReply(buf) | ^ | int print11.c:1322:15: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1322 | type = ILong(&buf[8]); | ^ print11.c:1323:17: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1323 | format = IByte(&buf[1]); | ^ print11.c:1324:12: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1324 | n = ILong(&buf[16]); | ^ print11.c:1326:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1326 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetProperty */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1328:5: warning: non-void function 'GetPropertyReply' should return a value [-Wreturn-mismatch] 1328 | return; | ^ print11.c:1339:7: warning: passing arguments to 'PrintString8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1339 | print_str8_1up(&buf[32], n * format/8, "data"); | ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' 67 | #define print_str8_1up(a,b,c) PrintString8(a,b,c) | ^ print11.c:1344:7: warning: passing arguments to 'PrintString8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1344 | print_str8_1up(&buf[32], n * format/8, "data(partial)"); | ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' 67 | #define print_str8_1up(a,b,c) PrintString8(a,b,c) | ^ print11.c:1348:11: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1348 | (void)print_list_1up(&buf[32], n, INT16, "data"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:1350:11: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1350 | (void)print_list_1up(&buf[32], n, INT32, "data"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:1352:5: warning: call to undeclared function 'PrintBytes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1352 | print_bytes_1up(&buf[32], n * format/8, "data"); | ^ print11.c:71:32: note: expanded from macro 'print_bytes_1up' 71 | #define print_bytes_1up(a,b,c) PrintBytes(a,b,c) | ^ print11.c:1315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1315 | GetPropertyReply(buf) | ^ print11.c:1354:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1354 | } | ^ print11.c:1356:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1356 | ListProperties(buf) | ^ | int print11.c:1360:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1360 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ListProperties */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1362:5: warning: non-void function 'ListProperties' should return a value [-Wreturn-mismatch] 1362 | return; | ^ print11.c:1356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1356 | ListProperties(buf) | ^ print11.c:1368:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1368 | } | ^ print11.c:1370:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1370 | ListPropertiesReply(buf) | ^ | int print11.c:1374:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1374 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* ListProperties */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1376:5: warning: non-void function 'ListPropertiesReply' should return a value [-Wreturn-mismatch] 1376 | return; | ^ print11.c:1380:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1380 | n = IShort(&buf[8]); | ^ print11.c:1381:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1381 | (void)print_list_1up(&buf[32], (long)n, ATOM, "atoms"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:1370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1370 | ListPropertiesReply(buf) | ^ print11.c:1382:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1382 | } | ^ print11.c:1384:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1384 | SetSelectionOwner(buf) | ^ | int print11.c:1388:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1388 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* SetSelectionOwner */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1390:5: warning: non-void function 'SetSelectionOwner' should return a value [-Wreturn-mismatch] 1390 | return; | ^ print11.c:1384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1384 | SetSelectionOwner(buf) | ^ print11.c:1398:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1398 | } | ^ print11.c:1400:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1400 | GetSelectionOwner(buf) | ^ | int print11.c:1404:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1404 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetSelectionOwner */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1406:5: warning: non-void function 'GetSelectionOwner' should return a value [-Wreturn-mismatch] 1406 | return; | ^ print11.c:1400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1400 | GetSelectionOwner(buf) | ^ print11.c:1412:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1412 | } | ^ print11.c:1414:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1414 | GetSelectionOwnerReply(buf) | ^ | int print11.c:1417:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1417 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetSelectionOwner */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1419:5: warning: non-void function 'GetSelectionOwnerReply' should return a value [-Wreturn-mismatch] 1419 | return; | ^ print11.c:1414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1414 | GetSelectionOwnerReply(buf) | ^ print11.c:1423:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1423 | } | ^ print11.c:1425:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1425 | ConvertSelection(buf) | ^ | int print11.c:1429:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1429 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ConvertSelection */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1431:5: warning: non-void function 'ConvertSelection' should return a value [-Wreturn-mismatch] 1431 | return; | ^ print11.c:1425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1425 | ConvertSelection(buf) | ^ print11.c:1441:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1441 | } | ^ print11.c:1443:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1443 | SendEvent(buf) | ^ | int print11.c:1447:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1447 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* SendEvent */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1449:5: warning: non-void function 'SendEvent' should return a value [-Wreturn-mismatch] 1449 | return; | ^ print11.c:1443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1443 | SendEvent(buf) | ^ print11.c:1458:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1458 | } | ^ print11.c:1460:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1460 | GrabPointer(buf) | ^ | int print11.c:1464:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1464 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GrabPointer */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1466:5: warning: non-void function 'GrabPointer' should return a value [-Wreturn-mismatch] 1466 | return; | ^ print11.c:1460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1460 | GrabPointer(buf) | ^ print11.c:1479:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1479 | } | ^ print11.c:1481:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1481 | GrabPointerReply(buf) | ^ | int print11.c:1484:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1484 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GrabPointer */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1486:5: warning: non-void function 'GrabPointerReply' should return a value [-Wreturn-mismatch] 1486 | return; | ^ print11.c:1481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1481 | GrabPointerReply(buf) | ^ print11.c:1490:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1490 | } | ^ print11.c:1492:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1492 | UngrabPointer(buf) | ^ | int print11.c:1496:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1496 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* UngrabPointer */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1498:5: warning: non-void function 'UngrabPointer' should return a value [-Wreturn-mismatch] 1498 | return; | ^ print11.c:1492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1492 | UngrabPointer(buf) | ^ print11.c:1504:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1504 | } | ^ print11.c:1506:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1506 | GrabButton(buf) | ^ | int print11.c:1510:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1510 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GrabButton */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1512:5: warning: non-void function 'GrabButton' should return a value [-Wreturn-mismatch] 1512 | return; | ^ print11.c:1506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1506 | GrabButton(buf) | ^ print11.c:1526:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1526 | } | ^ print11.c:1528:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1528 | UngrabButton(buf) | ^ | int print11.c:1532:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1532 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* UngrabButton */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1534:5: warning: non-void function 'UngrabButton' should return a value [-Wreturn-mismatch] 1534 | return; | ^ print11.c:1528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1528 | UngrabButton(buf) | ^ print11.c:1542:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1542 | } | ^ print11.c:1544:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1544 | ChangeActivePointerGrab(buf) | ^ | int print11.c:1548:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1548 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ChangeActivePointerGrab */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1550:5: warning: non-void function 'ChangeActivePointerGrab' should return a value [-Wreturn-mismatch] 1550 | return; | ^ print11.c:1544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1544 | ChangeActivePointerGrab(buf) | ^ print11.c:1558:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1558 | } | ^ print11.c:1560:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1560 | GrabKeyboard(buf) | ^ | int print11.c:1564:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1564 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GrabKeyboard */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1566:5: warning: non-void function 'GrabKeyboard' should return a value [-Wreturn-mismatch] 1566 | return; | ^ print11.c:1560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1560 | GrabKeyboard(buf) | ^ print11.c:1576:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1576 | } | ^ print11.c:1578:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1578 | GrabKeyboardReply(buf) | ^ | int print11.c:1581:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1581 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GrabKeyboard */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1583:5: warning: non-void function 'GrabKeyboardReply' should return a value [-Wreturn-mismatch] 1583 | return; | ^ print11.c:1578:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1578 | GrabKeyboardReply(buf) | ^ print11.c:1587:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1587 | } | ^ print11.c:1589:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1589 | UngrabKeyboard(buf) | ^ | int print11.c:1593:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1593 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* UngrabKeyboard */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1595:5: warning: non-void function 'UngrabKeyboard' should return a value [-Wreturn-mismatch] 1595 | return; | ^ print11.c:1589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1589 | UngrabKeyboard(buf) | ^ print11.c:1601:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1601 | } | ^ print11.c:1603:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1603 | GrabKey(buf) | ^ | int print11.c:1607:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1607 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GrabKey */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1609:5: warning: non-void function 'GrabKey' should return a value [-Wreturn-mismatch] 1609 | return; | ^ print11.c:1603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1603 | GrabKey(buf) | ^ print11.c:1620:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1620 | } | ^ print11.c:1622:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1622 | UngrabKey(buf) | ^ | int print11.c:1626:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1626 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* UngrabKey */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1628:5: warning: non-void function 'UngrabKey' should return a value [-Wreturn-mismatch] 1628 | return; | ^ print11.c:1622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1622 | UngrabKey(buf) | ^ print11.c:1636:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1636 | } | ^ print11.c:1638:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1638 | AllowEvents(buf) | ^ | int print11.c:1642:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1642 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* AllowEvents */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1644:5: warning: non-void function 'AllowEvents' should return a value [-Wreturn-mismatch] 1644 | return; | ^ print11.c:1638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1638 | AllowEvents(buf) | ^ print11.c:1651:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1651 | } | ^ print11.c:1653:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1653 | GrabServer(buf) | ^ | int print11.c:1657:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1657 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GrabServer */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1659:5: warning: non-void function 'GrabServer' should return a value [-Wreturn-mismatch] 1659 | return; | ^ print11.c:1653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1653 | GrabServer(buf) | ^ print11.c:1664:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1664 | } | ^ print11.c:1666:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1666 | UngrabServer(buf) | ^ | int print11.c:1670:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1670 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* UngrabServer */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1672:5: warning: non-void function 'UngrabServer' should return a value [-Wreturn-mismatch] 1672 | return; | ^ print11.c:1666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1666 | UngrabServer(buf) | ^ print11.c:1677:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1677 | } | ^ print11.c:1679:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1679 | QueryPointer(buf) | ^ | int print11.c:1683:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1683 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* QueryPointer */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1685:5: warning: non-void function 'QueryPointer' should return a value [-Wreturn-mismatch] 1685 | return; | ^ print11.c:1679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1679 | QueryPointer(buf) | ^ print11.c:1691:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1691 | } | ^ print11.c:1693:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1693 | QueryPointerReply(buf) | ^ | int print11.c:1696:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1696 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* QueryPointer */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1698:5: warning: non-void function 'QueryPointerReply' should return a value [-Wreturn-mismatch] 1698 | return; | ^ print11.c:1693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1693 | QueryPointerReply(buf) | ^ print11.c:1709:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1709 | } | ^ print11.c:1711:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1711 | GetMotionEvents(buf) | ^ | int print11.c:1715:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1715 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetMotionEvents */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1717:5: warning: non-void function 'GetMotionEvents' should return a value [-Wreturn-mismatch] 1717 | return; | ^ print11.c:1711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1711 | GetMotionEvents(buf) | ^ print11.c:1725:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1725 | } | ^ print11.c:1727:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1727 | GetMotionEventsReply(buf) | ^ | int print11.c:1731:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1731 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetMotionEvents */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1733:5: warning: non-void function 'GetMotionEventsReply' should return a value [-Wreturn-mismatch] 1733 | return; | ^ print11.c:1737:12: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1737 | n = ILong(&buf[8]); | ^ print11.c:1738:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1738 | (void)print_list_1up(&buf[32], n, TIMECOORD, "events"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:1727:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1727 | GetMotionEventsReply(buf) | ^ print11.c:1739:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1739 | } | ^ print11.c:1741:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1741 | TranslateCoordinates(buf) | ^ | int print11.c:1745:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1745 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* TranslateCoordinates */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1747:5: warning: non-void function 'TranslateCoordinates' should return a value [-Wreturn-mismatch] 1747 | return; | ^ print11.c:1741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1741 | TranslateCoordinates(buf) | ^ print11.c:1756:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1756 | } | ^ print11.c:1758:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1758 | TranslateCoordinatesReply(buf) | ^ | int print11.c:1761:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1761 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* TranslateCoordinates */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1763:5: warning: non-void function 'TranslateCoordinatesReply' should return a value [-Wreturn-mismatch] 1763 | return; | ^ print11.c:1758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1758 | TranslateCoordinatesReply(buf) | ^ print11.c:1770:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1770 | } | ^ print11.c:1772:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1772 | WarpPointer(buf) | ^ | int print11.c:1776:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1776 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* WarpPointer */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1778:5: warning: non-void function 'WarpPointer' should return a value [-Wreturn-mismatch] 1778 | return; | ^ print11.c:1772:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1772 | WarpPointer(buf) | ^ print11.c:1791:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1791 | } | ^ print11.c:1793:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1793 | SetInputFocus(buf) | ^ | int print11.c:1797:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1797 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* SetInputFocus */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1799:5: warning: non-void function 'SetInputFocus' should return a value [-Wreturn-mismatch] 1799 | return; | ^ print11.c:1793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1793 | SetInputFocus(buf) | ^ print11.c:1807:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1807 | } | ^ print11.c:1809:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1809 | GetInputFocus(buf) | ^ | int print11.c:1813:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1813 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetInputFocus */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1815:5: warning: non-void function 'GetInputFocus' should return a value [-Wreturn-mismatch] 1815 | return; | ^ print11.c:1809:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1809 | GetInputFocus(buf) | ^ print11.c:1820:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1820 | } | ^ print11.c:1822:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1822 | GetInputFocusReply(buf) | ^ | int print11.c:1825:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1825 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetInputFocus */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1827:5: warning: non-void function 'GetInputFocusReply' should return a value [-Wreturn-mismatch] 1827 | return; | ^ print11.c:1822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1822 | GetInputFocusReply(buf) | ^ print11.c:1832:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1832 | } | ^ print11.c:1834:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1834 | QueryKeymap(buf) | ^ | int print11.c:1838:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1838 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* QueryKeymap */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1840:5: warning: non-void function 'QueryKeymap' should return a value [-Wreturn-mismatch] 1840 | return; | ^ print11.c:1834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1834 | QueryKeymap(buf) | ^ print11.c:1845:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1845 | } | ^ print11.c:1847:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1847 | QueryKeymapReply(buf) | ^ | int print11.c:1850:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1850 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* QueryKeymap */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1852:5: warning: non-void function 'QueryKeymapReply' should return a value [-Wreturn-mismatch] 1852 | return; | ^ print11.c:1855:3: warning: call to undeclared function 'PrintBytes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1855 | print_bytes_1up(&buf[8], 32L, "keys"); | ^ print11.c:71:32: note: expanded from macro 'print_bytes_1up' 71 | #define print_bytes_1up(a,b,c) PrintBytes(a,b,c) | ^ print11.c:1847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1847 | QueryKeymapReply(buf) | ^ print11.c:1856:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1856 | } | ^ print11.c:1858:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1858 | OpenFont(buf) | ^ | int print11.c:1864:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1864 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* OpenFont */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1866:5: warning: non-void function 'OpenFont' should return a value [-Wreturn-mismatch] 1866 | return; | ^ print11.c:1873:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1873 | n = IShort(&buf[8]); | ^ print11.c:1874:3: warning: passing arguments to 'PrintString8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1874 | print_str8_1up(&buf[12], (long)n, "name"); | ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' 67 | #define print_str8_1up(a,b,c) PrintString8(a,b,c) | ^ print11.c:1858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1858 | OpenFont(buf) | ^ print11.c:1875:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1875 | } | ^ print11.c:1877:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1877 | CloseFont(buf) | ^ | int print11.c:1881:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1881 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* CloseFont */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1883:5: warning: non-void function 'CloseFont' should return a value [-Wreturn-mismatch] 1883 | return; | ^ print11.c:1877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1877 | CloseFont(buf) | ^ print11.c:1889:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1889 | } | ^ print11.c:1891:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1891 | QueryFont(buf) | ^ | int print11.c:1895:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1895 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* QueryFont */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1897:5: warning: non-void function 'QueryFont' should return a value [-Wreturn-mismatch] 1897 | return; | ^ print11.c:1891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1891 | QueryFont(buf) | ^ print11.c:1903:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1903 | } | ^ print11.c:1905:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1905 | QueryFontReply(buf) | ^ | int print11.c:1912:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1912 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* QueryFont */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1914:5: warning: non-void function 'QueryFontReply' should return a value [-Wreturn-mismatch] 1914 | return; | ^ print11.c:1923:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1923 | n = IShort(&buf[46]); | ^ print11.c:1932:14: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1932 | m = ILong(&buf[56]); | ^ print11.c:1933:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1933 | k = print_list_1up(&buf[60], (long)n, FONTPROP, "properties"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:1934:11: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1934 | (void)print_list_1up(&buf[60 + k], (long)m, CHARINFO, "char-infos"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:1905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1905 | QueryFontReply(buf) | ^ print11.c:1936:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1936 | } | ^ print11.c:1938:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1938 | QueryTextExtents(buf) | ^ | int print11.c:1944:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1944 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* QueryTextExtents */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1946:5: warning: non-void function 'QueryTextExtents' should return a value [-Wreturn-mismatch] 1946 | return; | ^ print11.c:1952:14: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1952 | n = (IShort(&buf[2]) - 2) * 4 / 2; | ^ print11.c:1953:12: warning: passing arguments to 'IBool' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1953 | if (IBool(&buf[1])) | ^ print11.c:1956:3: warning: passing arguments to 'PrintString16' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1956 | print_str16_1up(&buf[8], (long)n, "string"); | ^ print11.c:68:45: note: expanded from macro 'print_str16_1up' 68 | #define print_str16_1up(a,b,c) PrintString16(a,b,c) | ^ print11.c:1938:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1938 | QueryTextExtents(buf) | ^ print11.c:1957:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1957 | } | ^ print11.c:1959:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1959 | QueryTextExtentsReply(buf) | ^ | int print11.c:1962:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1962 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* QueryTextExtents */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1964:5: warning: non-void function 'QueryTextExtentsReply' should return a value [-Wreturn-mismatch] 1964 | return; | ^ print11.c:1959:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1959 | QueryTextExtentsReply(buf) | ^ print11.c:1975:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1975 | } | ^ print11.c:1977:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1977 | ListFonts(buf) | ^ | int print11.c:1983:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1983 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ListFonts */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:1985:5: warning: non-void function 'ListFonts' should return a value [-Wreturn-mismatch] 1985 | return; | ^ print11.c:1992:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1992 | n = IShort(&buf[6]); | ^ print11.c:1993:3: warning: passing arguments to 'PrintString8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1993 | print_str8_1up(&buf[8], (long)n, "pattern"); | ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' 67 | #define print_str8_1up(a,b,c) PrintString8(a,b,c) | ^ print11.c:1977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1977 | ListFonts(buf) | ^ print11.c:1994:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1994 | } | ^ print11.c:1996:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1996 | ListFontsReply(buf) | ^ | int print11.c:2001:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2001 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* ListFonts */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2003:5: warning: non-void function 'ListFontsReply' should return a value [-Wreturn-mismatch] 2003 | return; | ^ print11.c:2007:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2007 | n = IShort(&buf[8]); | ^ print11.c:2008:3: warning: passing arguments to 'PrintListSTR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2008 | print_list_str_1up(&buf[32], (long)n, "names"); | ^ print11.c:66:47: note: expanded from macro 'print_list_str_1up' 66 | #define print_list_str_1up(a,b,c) PrintListSTR(a,b,c) | ^ print11.c:1996:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1996 | ListFontsReply(buf) | ^ print11.c:2009:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2009 | } | ^ print11.c:2011:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2011 | ListFontsWithInfo(buf) | ^ | int print11.c:2017:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2017 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ListFontsWithInfo */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2019:5: warning: non-void function 'ListFontsWithInfo' should return a value [-Wreturn-mismatch] 2019 | return; | ^ print11.c:2026:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2026 | n = IShort(&buf[6]); | ^ print11.c:2027:3: warning: passing arguments to 'PrintString8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2027 | print_str8_1up(&buf[8], (long)n, "pattern"); | ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' 67 | #define print_str8_1up(a,b,c) PrintString8(a,b,c) | ^ print11.c:2011:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2011 | ListFontsWithInfo(buf) | ^ print11.c:2028:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2028 | } | ^ print11.c:2030:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2030 | ListFontsWithInfoReply(buf) | ^ | int print11.c:2035:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2035 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* ListFontsWithInfo */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2036:20: warning: non-void function 'ListFontsWithInfoReply' should return a value [-Wreturn-mismatch] 2036 | if (Verbose < 1) return; | ^ print11.c:2037:16: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2037 | which = IByte(&buf[1]); | ^ print11.c:2040:7: warning: call to undeclared function 'ListFontsWithInfoReply1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2040 | ListFontsWithInfoReply1(buf); | ^ print11.c:2041:7: warning: call to undeclared function 'KeepLastReplyExpected'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2041 | KeepLastReplyExpected(); | ^ print11.c:2044:5: warning: call to undeclared function 'ListFontsWithInfoReply2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2044 | ListFontsWithInfoReply2(buf); | ^ print11.c:2030:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2030 | ListFontsWithInfoReply(buf) | ^ print11.c:2045:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2045 | } | ^ print11.c:2047:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2047 | ListFontsWithInfoReply1(buf) | ^ | int print11.c:2052:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2052 | print_field_2up(buf, 1, 1, DVALUE1(n), "length of name in bytes"); | ^ print11.c:62:53: note: expanded from macro 'print_field_2up' 62 | #define print_field_2up(a,b,c,d,e) if (Verbose > 1) PrintField(a,b,c,d,e) | ^ print11.c:2053:12: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2053 | n = IByte(&buf[1]); | ^ print11.c:2062:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2062 | m = IShort(&buf[46]); | ^ print11.c:2070:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2070 | (void)print_list_1up(&buf[60], (long)m, FONTPROP, "properties"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:2071:3: warning: passing arguments to 'PrintString8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2071 | print_str8_1up(&buf[60 + 8 * m], (long)n, "name"); | ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' 67 | #define print_str8_1up(a,b,c) PrintString8(a,b,c) | ^ print11.c:2047:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2047 | ListFontsWithInfoReply1(buf) | ^ print11.c:2072:1: warning: non-void function does not return a value [-Wreturn-type] 2072 | } | ^ print11.c:2074:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2074 | ListFontsWithInfoReply2(buf) | ^ | int print11.c:2077:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2077 | print_field_1up(buf, 1, 1, CONST1(0), "last-reply indicator"); | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2074 | ListFontsWithInfoReply2(buf) | ^ print11.c:2080:1: warning: non-void function does not return a value [-Wreturn-type] 2080 | } | ^ print11.c:2082:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2082 | SetFontPath(buf) | ^ | int print11.c:2087:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2087 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* SetFontPath */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2089:5: warning: non-void function 'SetFontPath' should return a value [-Wreturn-mismatch] 2089 | return; | ^ print11.c:2095:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2095 | n = IShort(&buf[4]); | ^ print11.c:2096:3: warning: passing arguments to 'PrintListSTR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2096 | print_list_str_1up(&buf[8], (long)n, "paths"); | ^ print11.c:66:47: note: expanded from macro 'print_list_str_1up' 66 | #define print_list_str_1up(a,b,c) PrintListSTR(a,b,c) | ^ print11.c:2082:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2082 | SetFontPath(buf) | ^ print11.c:2097:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2097 | } | ^ print11.c:2099:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2099 | GetFontPath(buf) | ^ | int print11.c:2103:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2103 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetFontPath */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2105:5: warning: non-void function 'GetFontPath' should return a value [-Wreturn-mismatch] 2105 | return; | ^ print11.c:2099:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2099 | GetFontPath(buf) | ^ print11.c:2110:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2110 | } | ^ print11.c:2112:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2112 | GetFontPathReply(buf) | ^ | int print11.c:2116:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2116 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetFontPath */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2118:5: warning: non-void function 'GetFontPathReply' should return a value [-Wreturn-mismatch] 2118 | return; | ^ print11.c:2122:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2122 | n = IShort(&buf[8]); | ^ print11.c:2123:3: warning: passing arguments to 'PrintListSTR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2123 | print_list_str_1up(&buf[32], (long)n, "paths"); | ^ print11.c:66:47: note: expanded from macro 'print_list_str_1up' 66 | #define print_list_str_1up(a,b,c) PrintListSTR(a,b,c) | ^ print11.c:2112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2112 | GetFontPathReply(buf) | ^ print11.c:2124:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2124 | } | ^ print11.c:2126:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2126 | CreatePixmap(buf) | ^ | int print11.c:2130:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2130 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* CreatePixmap */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2132:5: warning: non-void function 'CreatePixmap' should return a value [-Wreturn-mismatch] 2132 | return; | ^ print11.c:2126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2126 | CreatePixmap(buf) | ^ print11.c:2142:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2142 | } | ^ print11.c:2144:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2144 | FreePixmap(buf) | ^ | int print11.c:2148:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2148 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* FreePixmap */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2150:5: warning: non-void function 'FreePixmap' should return a value [-Wreturn-mismatch] 2150 | return; | ^ print11.c:2144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2144 | FreePixmap(buf) | ^ print11.c:2156:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2156 | } | ^ print11.c:2158:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2158 | CreateGC(buf) | ^ | int print11.c:2162:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2162 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* CreateGC */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2164:5: warning: non-void function 'CreateGC' should return a value [-Wreturn-mismatch] 2164 | return; | ^ print11.c:2172:3: warning: call to undeclared function 'PrintValues'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2172 | print_values_1up(&buf[12], 4, GC_BITMASK, &buf[16], "value-list"); | ^ print11.c:72:37: note: expanded from macro 'print_values_1up' 72 | #define print_values_1up(a,b,c,d,e) PrintValues(a,b,c,d,e) | ^ print11.c:2158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2158 | CreateGC(buf) | ^ print11.c:2173:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2173 | } | ^ print11.c:2175:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2175 | ChangeGC(buf) | ^ | int print11.c:2179:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2179 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ChangeGC */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2181:5: warning: non-void function 'ChangeGC' should return a value [-Wreturn-mismatch] 2181 | return; | ^ print11.c:2188:3: warning: call to undeclared function 'PrintValues'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2188 | print_values_1up(&buf[8], 4, GC_BITMASK, &buf[12], "value-list"); | ^ print11.c:72:37: note: expanded from macro 'print_values_1up' 72 | #define print_values_1up(a,b,c,d,e) PrintValues(a,b,c,d,e) | ^ print11.c:2175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2175 | ChangeGC(buf) | ^ print11.c:2189:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2189 | } | ^ print11.c:2191:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2191 | CopyGC(buf) | ^ | int print11.c:2195:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2195 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* CopyGC */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2197:5: warning: non-void function 'CopyGC' should return a value [-Wreturn-mismatch] 2197 | return; | ^ print11.c:2191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2191 | CopyGC(buf) | ^ print11.c:2205:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2205 | } | ^ print11.c:2207:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2207 | SetDashes(buf) | ^ | int print11.c:2212:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2212 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* SetDashes */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2214:5: warning: non-void function 'SetDashes' should return a value [-Wreturn-mismatch] 2214 | return; | ^ print11.c:2222:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2222 | n = IShort(&buf[10]); | ^ print11.c:2223:3: warning: call to undeclared function 'PrintBytes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2223 | print_bytes_1up(&buf[12], (long)n, "dashes"); | ^ print11.c:71:32: note: expanded from macro 'print_bytes_1up' 71 | #define print_bytes_1up(a,b,c) PrintBytes(a,b,c) | ^ print11.c:2207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2207 | SetDashes(buf) | ^ print11.c:2224:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2224 | } | ^ print11.c:2226:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2226 | SetClipRectangles(buf) | ^ | int print11.c:2232:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2232 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* SetClipRectangles */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2234:5: warning: non-void function 'SetClipRectangles' should return a value [-Wreturn-mismatch] 2234 | return; | ^ print11.c:2240:14: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2240 | n = (IShort(&buf[2]) - 3) / 2; | ^ print11.c:2244:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2244 | (void)print_list_1up(&buf[12], (long)n, RECTANGLE, "rectangles"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:2226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2226 | SetClipRectangles(buf) | ^ print11.c:2245:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2245 | } | ^ print11.c:2247:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2247 | FreeGC(buf) | ^ | int print11.c:2251:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2251 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* FreeGC */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2253:5: warning: non-void function 'FreeGC' should return a value [-Wreturn-mismatch] 2253 | return; | ^ print11.c:2247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2247 | FreeGC(buf) | ^ print11.c:2259:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2259 | } | ^ print11.c:2261:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2261 | ClearArea(buf) | ^ | int print11.c:2265:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2265 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ClearArea */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2267:5: warning: non-void function 'ClearArea' should return a value [-Wreturn-mismatch] 2267 | return; | ^ print11.c:2261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2261 | ClearArea(buf) | ^ print11.c:2278:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2278 | } | ^ print11.c:2280:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2280 | CopyArea(buf) | ^ | int print11.c:2284:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2284 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* CopyArea */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2286:5: warning: non-void function 'CopyArea' should return a value [-Wreturn-mismatch] 2286 | return; | ^ print11.c:2280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2280 | CopyArea(buf) | ^ print11.c:2300:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2300 | } | ^ print11.c:2302:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2302 | CopyPlane(buf) | ^ | int print11.c:2306:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2306 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* CopyPlane */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2308:5: warning: non-void function 'CopyPlane' should return a value [-Wreturn-mismatch] 2308 | return; | ^ print11.c:2302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2302 | CopyPlane(buf) | ^ print11.c:2323:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2323 | } | ^ print11.c:2325:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2325 | PolyPoint(buf) | ^ | int print11.c:2330:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2330 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* PolyPoint */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2332:5: warning: non-void function 'PolyPoint' should return a value [-Wreturn-mismatch] 2332 | return; | ^ print11.c:2338:14: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2338 | n = (IShort(&buf[2]) - 3); | ^ print11.c:2341:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2341 | (void)print_list_1up(&buf[12], (long)n, POINT, "points"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:2325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2325 | PolyPoint(buf) | ^ print11.c:2342:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2342 | } | ^ print11.c:2344:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2344 | PolyLine(buf) | ^ | int print11.c:2349:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2349 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* PolyLine */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2351:5: warning: non-void function 'PolyLine' should return a value [-Wreturn-mismatch] 2351 | return; | ^ print11.c:2357:14: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2357 | n = (IShort(&buf[2]) - 3); | ^ print11.c:2360:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2360 | (void)print_list_1up(&buf[12], (long)n, POINT, "points"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:2344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2344 | PolyLine(buf) | ^ print11.c:2361:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2361 | } | ^ print11.c:2363:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2363 | PolySegment(buf) | ^ | int print11.c:2368:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2368 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* PolySegment */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2370:5: warning: non-void function 'PolySegment' should return a value [-Wreturn-mismatch] 2370 | return; | ^ print11.c:2375:14: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2375 | n = (IShort(&buf[2]) - 3) / 2; | ^ print11.c:2378:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2378 | (void)print_list_1up(&buf[12], (long)n, SEGMENT, "segments"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:2363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2363 | PolySegment(buf) | ^ print11.c:2379:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2379 | } | ^ print11.c:2381:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2381 | PolyRectangle(buf) | ^ | int print11.c:2386:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2386 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* PolyRectangle */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2388:5: warning: non-void function 'PolyRectangle' should return a value [-Wreturn-mismatch] 2388 | return; | ^ print11.c:2393:14: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2393 | n = (IShort(&buf[2]) - 3) / 2; | ^ print11.c:2396:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2396 | (void)print_list_1up(&buf[12], (long)n, RECTANGLE, "rectangles"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:2381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2381 | PolyRectangle(buf) | ^ print11.c:2397:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2397 | } | ^ print11.c:2399:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2399 | PolyArc(buf) | ^ | int print11.c:2404:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2404 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* PolyArc */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2406:5: warning: non-void function 'PolyArc' should return a value [-Wreturn-mismatch] 2406 | return; | ^ print11.c:2411:14: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2411 | n = (IShort(&buf[2]) - 3) / 3; | ^ print11.c:2414:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2414 | (void)print_list_1up(&buf[12], (long)n, ARC, "arcs"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:2399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2399 | PolyArc(buf) | ^ print11.c:2415:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2415 | } | ^ print11.c:2417:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2417 | FillPoly(buf) | ^ | int print11.c:2422:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2422 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* FillPoly */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2424:5: warning: non-void function 'FillPoly' should return a value [-Wreturn-mismatch] 2424 | return; | ^ print11.c:2429:14: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2429 | n = (IShort(&buf[2]) - 4); | ^ print11.c:2434:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2434 | (void)print_list_1up(&buf[16], (long)n, POINT, "points"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:2417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2417 | FillPoly(buf) | ^ print11.c:2435:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2435 | } | ^ print11.c:2437:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2437 | PolyFillRectangle(buf) | ^ | int print11.c:2442:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2442 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* PolyFillRectangle */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2444:5: warning: non-void function 'PolyFillRectangle' should return a value [-Wreturn-mismatch] 2444 | return; | ^ print11.c:2449:14: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2449 | n = (IShort(&buf[2]) - 3) / 2; | ^ print11.c:2452:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2452 | (void)print_list_1up(&buf[12], (long)n, RECTANGLE, "rectangles"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:2437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2437 | PolyFillRectangle(buf) | ^ print11.c:2453:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2453 | } | ^ print11.c:2455:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2455 | PolyFillArc(buf) | ^ | int print11.c:2460:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2460 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* PolyFillArc */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2462:5: warning: non-void function 'PolyFillArc' should return a value [-Wreturn-mismatch] 2462 | return; | ^ print11.c:2467:14: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2467 | n = (IShort(&buf[2]) - 3) / 3; | ^ print11.c:2470:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2470 | (void)print_list_1up(&buf[12], (long)n, ARC, "arcs"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:2455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2455 | PolyFillArc(buf) | ^ print11.c:2471:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2471 | } | ^ print11.c:2473:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2473 | PutImage(buf) | ^ | int print11.c:2478:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2478 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* PutImage */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2480:5: warning: non-void function 'PutImage' should return a value [-Wreturn-mismatch] 2480 | return; | ^ print11.c:2499:14: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2499 | n = (IShort(&buf[2]) - 6) * 4; | ^ print11.c:2508:3: warning: call to undeclared function 'PrintBytes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2508 | print_bytes_1up(&buf[24], (long)n, "data"); | ^ print11.c:71:32: note: expanded from macro 'print_bytes_1up' 71 | #define print_bytes_1up(a,b,c) PrintBytes(a,b,c) | ^ print11.c:2473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2473 | PutImage(buf) | ^ print11.c:2509:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2509 | } | ^ print11.c:2511:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2511 | GetImage(buf) | ^ | int print11.c:2515:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2515 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetImage */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2517:5: warning: non-void function 'GetImage' should return a value [-Wreturn-mismatch] 2517 | return; | ^ print11.c:2511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2511 | GetImage(buf) | ^ print11.c:2529:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2529 | } | ^ print11.c:2531:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2531 | GetImageReply(buf) | ^ | int print11.c:2536:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2536 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetImage */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2538:5: warning: non-void function 'GetImageReply' should return a value [-Wreturn-mismatch] 2538 | return; | ^ print11.c:2546:12: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2546 | n = ILong(&buf[4]) * 4; | ^ print11.c:2548:3: warning: call to undeclared function 'PrintBytes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2548 | print_bytes_1up(&buf[32], n, "data"); | ^ print11.c:71:32: note: expanded from macro 'print_bytes_1up' 71 | #define print_bytes_1up(a,b,c) PrintBytes(a,b,c) | ^ print11.c:2531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2531 | GetImageReply(buf) | ^ print11.c:2549:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2549 | } | ^ print11.c:2551:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2551 | PolyText8(buf) | ^ | int print11.c:2557:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2557 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* PolyText8 */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2559:5: warning: non-void function 'PolyText8' should return a value [-Wreturn-mismatch] 2559 | return; | ^ print11.c:2564:14: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2564 | n = (IShort(&buf[2]) - 4) * 4; | ^ print11.c:2569:3: warning: call to undeclared function 'PrintTextList8'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2569 | print_text_list8_1up(&buf[16], n, "items"); | ^ print11.c:69:37: note: expanded from macro 'print_text_list8_1up' 69 | #define print_text_list8_1up(a,b,c) PrintTextList8(a,b,c) | ^ print11.c:2551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2551 | PolyText8(buf) | ^ print11.c:2570:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2570 | } | ^ print11.c:2572:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2572 | PolyText16(buf) | ^ | int print11.c:2578:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2578 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* PolyText16 */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2580:5: warning: non-void function 'PolyText16' should return a value [-Wreturn-mismatch] 2580 | return; | ^ print11.c:2585:14: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2585 | n = (IShort(&buf[2]) - 4) * 4; | ^ print11.c:2590:3: warning: call to undeclared function 'PrintTextList16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2590 | print_text_list16_1up(&buf[16], n, "items"); | ^ print11.c:70:38: note: expanded from macro 'print_text_list16_1up' 70 | #define print_text_list16_1up(a,b,c) PrintTextList16(a,b,c) | ^ print11.c:2572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2572 | PolyText16(buf) | ^ print11.c:2591:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2591 | } | ^ print11.c:2593:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2593 | ImageText8(buf) | ^ | int print11.c:2598:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2598 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ImageText8 */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2600:5: warning: non-void function 'ImageText8' should return a value [-Wreturn-mismatch] 2600 | return; | ^ print11.c:2605:12: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2605 | n = IByte(&buf[1]); | ^ print11.c:2611:3: warning: passing arguments to 'PrintString8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2611 | print_str8_1up(&buf[16], (long)n, "string"); | ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' 67 | #define print_str8_1up(a,b,c) PrintString8(a,b,c) | ^ print11.c:2593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2593 | ImageText8(buf) | ^ print11.c:2612:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2612 | } | ^ print11.c:2614:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2614 | ImageText16(buf) | ^ | int print11.c:2619:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2619 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ImageText16 */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2621:5: warning: non-void function 'ImageText16' should return a value [-Wreturn-mismatch] 2621 | return; | ^ print11.c:2626:12: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2626 | n = IByte(&buf[1]); | ^ print11.c:2632:3: warning: passing arguments to 'PrintString16' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2632 | print_str16_1up(&buf[16], (long)n, "string"); | ^ print11.c:68:45: note: expanded from macro 'print_str16_1up' 68 | #define print_str16_1up(a,b,c) PrintString16(a,b,c) | ^ print11.c:2614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2614 | ImageText16(buf) | ^ print11.c:2633:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2633 | } | ^ print11.c:2635:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2635 | CreateColormap(buf) | ^ | int print11.c:2639:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2639 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* CreateColormap */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2641:5: warning: non-void function 'CreateColormap' should return a value [-Wreturn-mismatch] 2641 | return; | ^ print11.c:2635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2635 | CreateColormap(buf) | ^ print11.c:2650:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2650 | } | ^ print11.c:2652:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2652 | FreeColormap(buf) | ^ | int print11.c:2656:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2656 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* FreeColormap */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2658:5: warning: non-void function 'FreeColormap' should return a value [-Wreturn-mismatch] 2658 | return; | ^ print11.c:2652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2652 | FreeColormap(buf) | ^ print11.c:2664:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2664 | } | ^ print11.c:2666:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2666 | CopyColormapAndFree(buf) | ^ | int print11.c:2670:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2670 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* CopyColormapAndFree */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2672:5: warning: non-void function 'CopyColormapAndFree' should return a value [-Wreturn-mismatch] 2672 | return; | ^ print11.c:2666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2666 | CopyColormapAndFree(buf) | ^ print11.c:2679:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2679 | } | ^ print11.c:2681:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2681 | InstallColormap(buf) | ^ | int print11.c:2685:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2685 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* InstallColormap */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2687:5: warning: non-void function 'InstallColormap' should return a value [-Wreturn-mismatch] 2687 | return; | ^ print11.c:2681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2681 | InstallColormap(buf) | ^ print11.c:2693:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2693 | } | ^ print11.c:2695:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2695 | UninstallColormap(buf) | ^ | int print11.c:2699:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2699 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* UninstallColormap */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2701:5: warning: non-void function 'UninstallColormap' should return a value [-Wreturn-mismatch] 2701 | return; | ^ print11.c:2695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2695 | UninstallColormap(buf) | ^ print11.c:2707:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2707 | } | ^ print11.c:2709:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2709 | ListInstalledColormaps(buf) | ^ | int print11.c:2713:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2713 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ListInstalledColormaps */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2715:5: warning: non-void function 'ListInstalledColormaps' should return a value [-Wreturn-mismatch] 2715 | return; | ^ print11.c:2709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2709 | ListInstalledColormaps(buf) | ^ print11.c:2721:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2721 | } | ^ print11.c:2723:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2723 | ListInstalledColormapsReply(buf) | ^ | int print11.c:2727:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2727 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* ListInstalledColormaps */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2729:5: warning: non-void function 'ListInstalledColormapsReply' should return a value [-Wreturn-mismatch] 2729 | return; | ^ print11.c:2733:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2733 | n = IShort(&buf[8]); | ^ print11.c:2734:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2734 | (void)print_list_1up(&buf[32], (long)n, COLORMAP, "cmaps"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:2723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2723 | ListInstalledColormapsReply(buf) | ^ print11.c:2735:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2735 | } | ^ print11.c:2737:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2737 | AllocColor(buf) | ^ | int print11.c:2741:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2741 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* AllocColor */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2743:5: warning: non-void function 'AllocColor' should return a value [-Wreturn-mismatch] 2743 | return; | ^ print11.c:2737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2737 | AllocColor(buf) | ^ print11.c:2752:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2752 | } | ^ print11.c:2754:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2754 | AllocColorReply(buf) | ^ | int print11.c:2757:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2757 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* AllocColor */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2759:5: warning: non-void function 'AllocColorReply' should return a value [-Wreturn-mismatch] 2759 | return; | ^ print11.c:2754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2754 | AllocColorReply(buf) | ^ print11.c:2766:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2766 | } | ^ print11.c:2768:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2768 | AllocNamedColor(buf) | ^ | int print11.c:2773:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2773 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* AllocNamedColor */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2775:5: warning: non-void function 'AllocNamedColor' should return a value [-Wreturn-mismatch] 2775 | return; | ^ print11.c:2782:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2782 | n = IShort(&buf[8]); | ^ print11.c:2783:3: warning: passing arguments to 'PrintString8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2783 | print_str8_1up(&buf[12], (long)n, "name"); | ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' 67 | #define print_str8_1up(a,b,c) PrintString8(a,b,c) | ^ print11.c:2768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2768 | AllocNamedColor(buf) | ^ print11.c:2784:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2784 | } | ^ print11.c:2786:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2786 | AllocNamedColorReply(buf) | ^ | int print11.c:2789:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2789 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* AllocNamedColor */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2791:5: warning: non-void function 'AllocNamedColorReply' should return a value [-Wreturn-mismatch] 2791 | return; | ^ print11.c:2786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2786 | AllocNamedColorReply(buf) | ^ print11.c:2801:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2801 | } | ^ print11.c:2803:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2803 | AllocColorCells(buf) | ^ | int print11.c:2807:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2807 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* AllocColorCells */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2809:5: warning: non-void function 'AllocColorCells' should return a value [-Wreturn-mismatch] 2809 | return; | ^ print11.c:2803:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2803 | AllocColorCells(buf) | ^ print11.c:2818:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2818 | } | ^ print11.c:2820:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2820 | AllocColorCellsReply(buf) | ^ | int print11.c:2826:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2826 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* AllocColorCells */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2828:5: warning: non-void function 'AllocColorCellsReply' should return a value [-Wreturn-mismatch] 2828 | return; | ^ print11.c:2832:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2832 | n = IShort(&buf[8]); | ^ print11.c:2834:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2834 | m = IShort(&buf[10]); | ^ print11.c:2835:7: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2835 | k = print_list_1up(&buf[32], (long)n, CARD32, "pixels"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:2836:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2836 | (void)print_list_1up(&buf[32 + k], (long)m, CARD32, "masks"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:2820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2820 | AllocColorCellsReply(buf) | ^ print11.c:2837:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2837 | } | ^ print11.c:2839:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2839 | AllocColorPlanes(buf) | ^ | int print11.c:2843:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2843 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* AllocColorPlanes */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2845:5: warning: non-void function 'AllocColorPlanes' should return a value [-Wreturn-mismatch] 2845 | return; | ^ print11.c:2839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2839 | AllocColorPlanes(buf) | ^ print11.c:2856:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2856 | } | ^ print11.c:2858:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2858 | AllocColorPlanesReply(buf) | ^ | int print11.c:2862:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2862 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* AllocColorPlanes */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2864:5: warning: non-void function 'AllocColorPlanesReply' should return a value [-Wreturn-mismatch] 2864 | return; | ^ print11.c:2868:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2868 | n = IShort(&buf[8]); | ^ print11.c:2872:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2872 | (void)print_list_1up(&buf[32], (long)n, CARD32, "pixels"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:2858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2858 | AllocColorPlanesReply(buf) | ^ print11.c:2873:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2873 | } | ^ print11.c:2875:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2875 | FreeColors(buf) | ^ | int print11.c:2881:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2881 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* FreeColors */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2883:5: warning: non-void function 'FreeColors' should return a value [-Wreturn-mismatch] 2883 | return; | ^ print11.c:2888:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2888 | n = IShort(&buf[2]) - 3; | ^ print11.c:2891:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2891 | (void)print_list_1up(&buf[12], (long)n, CARD32, "pixels"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:2875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2875 | FreeColors(buf) | ^ print11.c:2892:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2892 | } | ^ print11.c:2894:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2894 | StoreColors(buf) | ^ | int print11.c:2899:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2899 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* StoreColors */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2901:5: warning: non-void function 'StoreColors' should return a value [-Wreturn-mismatch] 2901 | return; | ^ print11.c:2906:14: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2906 | n = (IShort(&buf[2]) - 2) / 3; | ^ print11.c:2908:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2908 | (void)print_list_1up(&buf[8], (long)n, COLORITEM, "items"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:2894:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2894 | StoreColors(buf) | ^ print11.c:2909:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2909 | } | ^ print11.c:2911:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2911 | StoreNamedColor(buf) | ^ | int print11.c:2916:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2916 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* StoreNamedColor */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2918:5: warning: non-void function 'StoreNamedColor' should return a value [-Wreturn-mismatch] 2918 | return; | ^ print11.c:2927:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2927 | n = IShort(&buf[12]); | ^ print11.c:2928:3: warning: passing arguments to 'PrintString8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2928 | print_str8_1up(&buf[16], (long)n, "name"); | ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' 67 | #define print_str8_1up(a,b,c) PrintString8(a,b,c) | ^ print11.c:2911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2911 | StoreNamedColor(buf) | ^ print11.c:2929:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2929 | } | ^ print11.c:2931:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2931 | QueryColors(buf) | ^ | int print11.c:2936:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2936 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* QueryColors */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2938:5: warning: non-void function 'QueryColors' should return a value [-Wreturn-mismatch] 2938 | return; | ^ print11.c:2943:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2943 | n = IShort(&buf[2]) - 2; | ^ print11.c:2945:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2945 | (void)print_list_1up(&buf[8], (long)n, CARD32, "pixels"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:2931:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2931 | QueryColors(buf) | ^ print11.c:2946:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2946 | } | ^ print11.c:2948:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2948 | QueryColorsReply(buf) | ^ | int print11.c:2952:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2952 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* QueryColors */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2954:5: warning: non-void function 'QueryColorsReply' should return a value [-Wreturn-mismatch] 2954 | return; | ^ print11.c:2958:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2958 | n = IShort(&buf[8]); | ^ print11.c:2959:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2959 | (void)print_list_1up(&buf[32], (long)n, RGB, "colors"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:2948:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2948 | QueryColorsReply(buf) | ^ print11.c:2960:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2960 | } | ^ print11.c:2962:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2962 | LookupColor(buf) | ^ | int print11.c:2967:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2967 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* LookupColor */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2969:5: warning: non-void function 'LookupColor' should return a value [-Wreturn-mismatch] 2969 | return; | ^ print11.c:2976:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2976 | n = IShort(&buf[8]); | ^ print11.c:2977:3: warning: passing arguments to 'PrintString8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2977 | print_str8_1up(&buf[12], (long)n, "name"); | ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' 67 | #define print_str8_1up(a,b,c) PrintString8(a,b,c) | ^ print11.c:2962:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2962 | LookupColor(buf) | ^ print11.c:2978:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2978 | } | ^ print11.c:2980:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2980 | LookupColorReply(buf) | ^ | int print11.c:2983:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2983 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* LookupColor */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:2985:5: warning: non-void function 'LookupColorReply' should return a value [-Wreturn-mismatch] 2985 | return; | ^ print11.c:2980:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2980 | LookupColorReply(buf) | ^ print11.c:2994:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2994 | } | ^ print11.c:2996:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2996 | CreateCursor(buf) | ^ | int print11.c:3000:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3000 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* CreateCursor */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3002:5: warning: non-void function 'CreateCursor' should return a value [-Wreturn-mismatch] 3002 | return; | ^ print11.c:2996:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2996 | CreateCursor(buf) | ^ print11.c:3018:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3018 | } | ^ print11.c:3020:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3020 | CreateGlyphCursor(buf) | ^ | int print11.c:3024:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3024 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* CreateGlyphCursor */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3026:5: warning: non-void function 'CreateGlyphCursor' should return a value [-Wreturn-mismatch] 3026 | return; | ^ print11.c:3020:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3020 | CreateGlyphCursor(buf) | ^ print11.c:3042:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3042 | } | ^ print11.c:3044:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3044 | FreeCursor(buf) | ^ | int print11.c:3048:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3048 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* FreeCursor */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3050:5: warning: non-void function 'FreeCursor' should return a value [-Wreturn-mismatch] 3050 | return; | ^ print11.c:3044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3044 | FreeCursor(buf) | ^ print11.c:3056:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3056 | } | ^ print11.c:3058:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3058 | RecolorCursor(buf) | ^ | int print11.c:3062:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3062 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* RecolorCursor */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3064:5: warning: non-void function 'RecolorCursor' should return a value [-Wreturn-mismatch] 3064 | return; | ^ print11.c:3058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3058 | RecolorCursor(buf) | ^ print11.c:3076:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3076 | } | ^ print11.c:3078:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3078 | QueryBestSize(buf) | ^ | int print11.c:3082:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3082 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* QueryBestSize */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3084:5: warning: non-void function 'QueryBestSize' should return a value [-Wreturn-mismatch] 3084 | return; | ^ print11.c:3078:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3078 | QueryBestSize(buf) | ^ print11.c:3093:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3093 | } | ^ print11.c:3095:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3095 | QueryBestSizeReply(buf) | ^ | int print11.c:3098:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3098 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* QueryBestSize */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3100:5: warning: non-void function 'QueryBestSizeReply' should return a value [-Wreturn-mismatch] 3100 | return; | ^ print11.c:3095:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3095 | QueryBestSizeReply(buf) | ^ print11.c:3105:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3105 | } | ^ print11.c:3107:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3107 | QueryExtension(buf) | ^ | int print11.c:3112:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3112 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* QueryExtension */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3114:5: warning: non-void function 'QueryExtension' should return a value [-Wreturn-mismatch] 3114 | return; | ^ print11.c:3120:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3120 | n = IShort(&buf[4]); | ^ print11.c:3121:3: warning: passing arguments to 'PrintString8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3121 | print_str8_1up(&buf[8], (long)n, "name"); | ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' 67 | #define print_str8_1up(a,b,c) PrintString8(a,b,c) | ^ print11.c:3107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3107 | QueryExtension(buf) | ^ print11.c:3123:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3123 | } | ^ print11.c:3125:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3125 | QueryExtensionReply(buf) | ^ | int print11.c:3132:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3132 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* QueryExtension */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3134:5: warning: non-void function 'QueryExtensionReply' should return a value [-Wreturn-mismatch] 3134 | return; | ^ print11.c:3125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3125 | QueryExtensionReply(buf) | ^ print11.c:3148:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3148 | } | ^ print11.c:3150:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3150 | ListExtensions(buf) | ^ | int print11.c:3154:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3154 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ListExtensions */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3156:5: warning: non-void function 'ListExtensions' should return a value [-Wreturn-mismatch] 3156 | return; | ^ print11.c:3150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3150 | ListExtensions(buf) | ^ print11.c:3161:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3161 | } | ^ print11.c:3163:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3163 | ListExtensionsReply(buf) | ^ | int print11.c:3168:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3168 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* ListExtensions */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3170:5: warning: non-void function 'ListExtensionsReply' should return a value [-Wreturn-mismatch] 3170 | return; | ^ print11.c:3172:12: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3172 | n = IByte(&buf[1]); | ^ print11.c:3175:3: warning: passing arguments to 'PrintListSTR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3175 | print_list_str_1up(&buf[32], (long)n, "names"); | ^ print11.c:66:47: note: expanded from macro 'print_list_str_1up' 66 | #define print_list_str_1up(a,b,c) PrintListSTR(a,b,c) | ^ print11.c:3163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3163 | ListExtensionsReply(buf) | ^ print11.c:3176:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3176 | } | ^ print11.c:3178:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3178 | ChangeKeyboardMapping(buf) | ^ | int print11.c:3184:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3184 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ChangeKeyboardMapping */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3186:5: warning: non-void function 'ChangeKeyboardMapping' should return a value [-Wreturn-mismatch] 3186 | return; | ^ print11.c:3191:12: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3191 | n = IByte(&buf[1]); | ^ print11.c:3195:12: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3195 | m = IByte(&buf[5]); | ^ print11.c:3196:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3196 | (void)print_list_1up(&buf[8], (long)(n * m), KEYSYM, "keysyms"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:3178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3178 | ChangeKeyboardMapping(buf) | ^ print11.c:3197:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3197 | } | ^ print11.c:3199:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3199 | GetKeyboardMapping(buf) | ^ | int print11.c:3203:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3203 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetKeyboardMapping */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3205:5: warning: non-void function 'GetKeyboardMapping' should return a value [-Wreturn-mismatch] 3205 | return; | ^ print11.c:3199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3199 | GetKeyboardMapping(buf) | ^ print11.c:3212:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3212 | } | ^ print11.c:3214:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3214 | GetKeyboardMappingReply(buf) | ^ | int print11.c:3218:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3218 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetKeyboardMapping */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3220:5: warning: non-void function 'GetKeyboardMappingReply' should return a value [-Wreturn-mismatch] 3220 | return; | ^ print11.c:3224:12: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3224 | n = ILong(&buf[4]); | ^ print11.c:3225:3: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3225 | print_list_2up(&buf[32], n, KEYSYM, "keysyms"); | ^ print11.c:65:59: note: expanded from macro 'print_list_2up' 65 | #define print_list_2up(a,b,c,d) if (Verbose > 1) PrintList(a,b,c,d) | ^ print11.c:3214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3214 | GetKeyboardMappingReply(buf) | ^ print11.c:3226:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3226 | } | ^ print11.c:3228:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3228 | ChangeKeyboardControl(buf) | ^ | int print11.c:3232:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3232 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ChangeKeyboardControl */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3234:5: warning: non-void function 'ChangeKeyboardControl' should return a value [-Wreturn-mismatch] 3234 | return; | ^ print11.c:3240:3: warning: call to undeclared function 'PrintValues'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3240 | print_values_1up(&buf[4], 4, KEYBOARD_BITMASK, &buf[8], "value-list"); | ^ print11.c:72:37: note: expanded from macro 'print_values_1up' 72 | #define print_values_1up(a,b,c,d,e) PrintValues(a,b,c,d,e) | ^ print11.c:3228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3228 | ChangeKeyboardControl(buf) | ^ print11.c:3241:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3241 | } | ^ print11.c:3243:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3243 | GetKeyboardControl(buf) | ^ | int print11.c:3247:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3247 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetKeyboardControl */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3249:5: warning: non-void function 'GetKeyboardControl' should return a value [-Wreturn-mismatch] 3249 | return; | ^ print11.c:3243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3243 | GetKeyboardControl(buf) | ^ print11.c:3254:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3254 | } | ^ print11.c:3256:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3256 | GetKeyboardControlReply(buf) | ^ | int print11.c:3259:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3259 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetKeyboardControl */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3261:5: warning: non-void function 'GetKeyboardControlReply' should return a value [-Wreturn-mismatch] 3261 | return; | ^ print11.c:3270:3: warning: call to undeclared function 'PrintBytes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3270 | print_bytes_1up(&buf[20], 32L, "auto-repeats"); | ^ print11.c:71:32: note: expanded from macro 'print_bytes_1up' 71 | #define print_bytes_1up(a,b,c) PrintBytes(a,b,c) | ^ print11.c:3256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3256 | GetKeyboardControlReply(buf) | ^ print11.c:3271:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3271 | } | ^ print11.c:3273:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3273 | Bell(buf) | ^ | int print11.c:3277:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3277 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* Bell */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3279:5: warning: non-void function 'Bell' should return a value [-Wreturn-mismatch] 3279 | return; | ^ print11.c:3273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3273 | Bell(buf) | ^ print11.c:3285:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3285 | } | ^ print11.c:3287:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3287 | ChangePointerControl(buf) | ^ | int print11.c:3291:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3291 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ChangePointerControl */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3293:5: warning: non-void function 'ChangePointerControl' should return a value [-Wreturn-mismatch] 3293 | return; | ^ print11.c:3287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3287 | ChangePointerControl(buf) | ^ print11.c:3303:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3303 | } | ^ print11.c:3305:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3305 | GetPointerControl(buf) | ^ | int print11.c:3309:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3309 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetPointerControl */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3311:5: warning: non-void function 'GetPointerControl' should return a value [-Wreturn-mismatch] 3311 | return; | ^ print11.c:3305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3305 | GetPointerControl(buf) | ^ print11.c:3316:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3316 | } | ^ print11.c:3318:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3318 | GetPointerControlReply(buf) | ^ | int print11.c:3321:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3321 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetPointerControl */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3323:5: warning: non-void function 'GetPointerControlReply' should return a value [-Wreturn-mismatch] 3323 | return; | ^ print11.c:3318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3318 | GetPointerControlReply(buf) | ^ print11.c:3329:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3329 | } | ^ print11.c:3331:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3331 | SetScreenSaver(buf) | ^ | int print11.c:3335:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3335 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* SetScreenSaver */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3337:5: warning: non-void function 'SetScreenSaver' should return a value [-Wreturn-mismatch] 3337 | return; | ^ print11.c:3331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3331 | SetScreenSaver(buf) | ^ print11.c:3346:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3346 | } | ^ print11.c:3348:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3348 | GetScreenSaver(buf) | ^ | int print11.c:3352:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3352 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetScreenSaver */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3354:5: warning: non-void function 'GetScreenSaver' should return a value [-Wreturn-mismatch] 3354 | return; | ^ print11.c:3348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3348 | GetScreenSaver(buf) | ^ print11.c:3359:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3359 | } | ^ print11.c:3361:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3361 | GetScreenSaverReply(buf) | ^ | int print11.c:3364:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3364 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetScreenSaver */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3366:5: warning: non-void function 'GetScreenSaverReply' should return a value [-Wreturn-mismatch] 3366 | return; | ^ print11.c:3361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3361 | GetScreenSaverReply(buf) | ^ print11.c:3373:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3373 | } | ^ print11.c:3375:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3375 | ChangeHosts(buf) | ^ | int print11.c:3380:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3380 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ChangeHosts */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3382:5: warning: non-void function 'ChangeHosts' should return a value [-Wreturn-mismatch] 3382 | return; | ^ print11.c:3390:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3390 | n = IShort(&buf[6]); | ^ print11.c:3391:3: warning: call to undeclared function 'PrintBytes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3391 | print_bytes_1up(&buf[8], (long)n, "address"); | ^ print11.c:71:32: note: expanded from macro 'print_bytes_1up' 71 | #define print_bytes_1up(a,b,c) PrintBytes(a,b,c) | ^ print11.c:3375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3375 | ChangeHosts(buf) | ^ print11.c:3392:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3392 | } | ^ print11.c:3394:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3394 | ListHosts(buf) | ^ | int print11.c:3398:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3398 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ListHosts */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3400:5: warning: non-void function 'ListHosts' should return a value [-Wreturn-mismatch] 3400 | return; | ^ print11.c:3394:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3394 | ListHosts(buf) | ^ print11.c:3405:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3405 | } | ^ print11.c:3407:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3407 | ListHostsReply(buf) | ^ | int print11.c:3411:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3411 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* ListHosts */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3413:5: warning: non-void function 'ListHostsReply' should return a value [-Wreturn-mismatch] 3413 | return; | ^ print11.c:3418:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3418 | n = IShort(&buf[8]); | ^ print11.c:3419:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3419 | (void)print_list_1up(&buf[32], (long)n, HOST, "hosts"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:3407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3407 | ListHostsReply(buf) | ^ print11.c:3420:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3420 | } | ^ print11.c:3422:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3422 | SetAccessControl(buf) | ^ | int print11.c:3426:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3426 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* SetAccessControl */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3428:5: warning: non-void function 'SetAccessControl' should return a value [-Wreturn-mismatch] 3428 | return; | ^ print11.c:3422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3422 | SetAccessControl(buf) | ^ print11.c:3434:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3434 | } | ^ print11.c:3436:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3436 | SetCloseDownMode(buf) | ^ | int print11.c:3440:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3440 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* SetCloseDownMode */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3442:5: warning: non-void function 'SetCloseDownMode' should return a value [-Wreturn-mismatch] 3442 | return; | ^ print11.c:3436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3436 | SetCloseDownMode(buf) | ^ print11.c:3448:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3448 | } | ^ print11.c:3450:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3450 | KillClient(buf) | ^ | int print11.c:3454:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3454 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* KillClient */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3456:5: warning: non-void function 'KillClient' should return a value [-Wreturn-mismatch] 3456 | return; | ^ print11.c:3450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3450 | KillClient(buf) | ^ print11.c:3462:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3462 | } | ^ print11.c:3464:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3464 | RotateProperties(buf) | ^ | int print11.c:3469:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3469 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* RotateProperties */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3471:5: warning: non-void function 'RotateProperties' should return a value [-Wreturn-mismatch] 3471 | return; | ^ print11.c:3478:13: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3478 | n = IShort(&buf[8]); | ^ print11.c:3480:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3480 | (void)print_list_1up(&buf[12], (long)n, ATOM, "properties"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:3464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3464 | RotateProperties(buf) | ^ print11.c:3481:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3481 | } | ^ print11.c:3483:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3483 | ForceScreenSaver(buf) | ^ | int print11.c:3487:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3487 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ForceScreenSaver */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3489:5: warning: non-void function 'ForceScreenSaver' should return a value [-Wreturn-mismatch] 3489 | return; | ^ print11.c:3483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3483 | ForceScreenSaver(buf) | ^ print11.c:3495:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3495 | } | ^ print11.c:3497:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3497 | SetPointerMapping(buf) | ^ | int print11.c:3502:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3502 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* SetPointerMapping */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3504:5: warning: non-void function 'SetPointerMapping' should return a value [-Wreturn-mismatch] 3504 | return; | ^ print11.c:3509:12: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3509 | n = IByte(&buf[1]); | ^ print11.c:3511:3: warning: call to undeclared function 'PrintBytes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3511 | print_bytes_1up(&buf[4], (long)n,"map"); | ^ print11.c:71:32: note: expanded from macro 'print_bytes_1up' 71 | #define print_bytes_1up(a,b,c) PrintBytes(a,b,c) | ^ print11.c:3497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3497 | SetPointerMapping(buf) | ^ print11.c:3512:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3512 | } | ^ print11.c:3514:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3514 | SetPointerMappingReply(buf) | ^ | int print11.c:3517:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3517 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* SetPointerMapping */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3519:5: warning: non-void function 'SetPointerMappingReply' should return a value [-Wreturn-mismatch] 3519 | return; | ^ print11.c:3514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3514 | SetPointerMappingReply(buf) | ^ print11.c:3523:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3523 | } | ^ print11.c:3525:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3525 | GetPointerMapping(buf) | ^ | int print11.c:3529:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3529 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetPointerMapping */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3531:5: warning: non-void function 'GetPointerMapping' should return a value [-Wreturn-mismatch] 3531 | return; | ^ print11.c:3525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3525 | GetPointerMapping(buf) | ^ print11.c:3536:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3536 | } | ^ print11.c:3538:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3538 | GetPointerMappingReply(buf) | ^ | int print11.c:3542:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3542 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetPointerMapping */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3544:5: warning: non-void function 'GetPointerMappingReply' should return a value [-Wreturn-mismatch] 3544 | return; | ^ print11.c:3546:12: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3546 | n = IByte(&buf[1]); | ^ print11.c:3549:3: warning: call to undeclared function 'PrintBytes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3549 | print_bytes_1up(&buf[32], (long)n,"map"); | ^ print11.c:71:32: note: expanded from macro 'print_bytes_1up' 71 | #define print_bytes_1up(a,b,c) PrintBytes(a,b,c) | ^ print11.c:3538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3538 | GetPointerMappingReply(buf) | ^ print11.c:3550:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3550 | } | ^ print11.c:3552:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3552 | SetModifierMapping(buf) | ^ | int print11.c:3557:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3557 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* SetModifierMapping */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3559:5: warning: non-void function 'SetModifierMapping' should return a value [-Wreturn-mismatch] 3559 | return; | ^ print11.c:3564:12: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3564 | n = IByte(&buf[1]); | ^ print11.c:3566:3: warning: call to undeclared function 'PrintBytes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3566 | print_bytes_1up(&buf[4 + 0 * n], (long)n,"Shift keycodes"); | ^ print11.c:71:32: note: expanded from macro 'print_bytes_1up' 71 | #define print_bytes_1up(a,b,c) PrintBytes(a,b,c) | ^ print11.c:3552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3552 | SetModifierMapping(buf) | ^ print11.c:3574:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3574 | } | ^ print11.c:3576:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3576 | SetModifierMappingReply(buf) | ^ | int print11.c:3579:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3579 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* SetModifierMapping */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3581:5: warning: non-void function 'SetModifierMappingReply' should return a value [-Wreturn-mismatch] 3581 | return; | ^ print11.c:3576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3576 | SetModifierMappingReply(buf) | ^ print11.c:3585:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3585 | } | ^ print11.c:3587:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3587 | GetModifierMapping(buf) | ^ | int print11.c:3591:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3591 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetModifierMapping */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3593:5: warning: non-void function 'GetModifierMapping' should return a value [-Wreturn-mismatch] 3593 | return; | ^ print11.c:3587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3587 | GetModifierMapping(buf) | ^ print11.c:3598:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3598 | } | ^ print11.c:3600:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3600 | GetModifierMappingReply(buf) | ^ | int print11.c:3604:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3604 | print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetModifierMapping */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3606:5: warning: non-void function 'GetModifierMappingReply' should return a value [-Wreturn-mismatch] 3606 | return; | ^ print11.c:3608:12: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3608 | n = IByte(&buf[1]); | ^ print11.c:3611:9: warning: passing arguments to 'PrintList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3611 | (void)print_list_1up(&buf[32], (long)n, KEYCODE, "keycodes"); | ^ print11.c:64:42: note: expanded from macro 'print_list_1up' 64 | #define print_list_1up(a,b,c,d) PrintList(a,b,c,d) | ^ print11.c:3600:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3600 | GetModifierMappingReply(buf) | ^ print11.c:3612:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3612 | } | ^ print11.c:3614:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3614 | NoOperation(buf) | ^ | int print11.c:3618:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3618 | print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* NoOperation */ ; | ^ print11.c:63:36: note: expanded from macro 'print_field_1up' 63 | #define print_field_1up(a,b,c,d,e) PrintField(a,b,c,d,e) | ^ print11.c:3620:5: warning: non-void function 'NoOperation' should return a value [-Wreturn-mismatch] 3620 | return; | ^ print11.c:3614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3614 | NoOperation(buf) | ^ print11.c:3625:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 3625 | } | ^ --- table11.o --- 85 warnings generated. --- prtype.o --- clang -pipe -Os -I/opt/pkg/include -Wno-error=return-type -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c prtype.c --- print11.o --- 1246 warnings generated. --- ev_ascii.o --- clang -pipe -Os -I/opt/pkg/include -Wno-error=return-type -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c ev_ascii.c --- prtype.o --- In file included from prtype.c:11: ./x11.h:475:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 475 | extern PrintString8(); | ~~~~~~ ^ | int ./x11.h:476:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 476 | extern PrintString16(); | ~~~~~~ ^ | int ./x11.h:477:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 477 | extern PrintListSTR(); | ~~~~~~ ^ | int prtype.c:34:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | char *printrep (c) | ^ prtype.c:93:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 93 | SetIndentLevel(which) | ^ | int prtype.c:103:5: warning: non-void function 'SetIndentLevel' should return a value [-Wreturn-mismatch] 103 | return; | ^ prtype.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | SetIndentLevel(which) | ^ prtype.c:111:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 111 | } | ^ prtype.c:113:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 113 | ModifyIndentLevel(amount) | ^ | int prtype.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] prtype.c:117:1: warning: non-void function does not return a value [-Wreturn-type] 117 | } | ^ prtype.c:131:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 131 | DumpItem(name, fd, buf, n) | ^ | int prtype.c:138:5: warning: non-void function 'DumpItem' should return a value [-Wreturn-mismatch] 138 | return; | ^ prtype.c:142:3: warning: call to undeclared function 'DumpHexBuffer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | DumpHexBuffer(buf, n); | ^ prtype.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | DumpItem(name, fd, buf, n) | ^ prtype.c:144:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 144 | } | ^ prtype.c:151:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 151 | PrintINT8(buf) | ^ | int prtype.c:155:21: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | short n = IByte (buf); | ^ prtype.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | PrintINT8(buf) | ^ In file included from prtype.c:11: ./x11.h:181:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 181 | extern int PrintINT8(); | ^ prtype.c:162:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 162 | PrintINT16(buf) | ^ | int prtype.c:166:22: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | long n = IShort (buf); | ^ prtype.c:169:25: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 169 | fprintf(stdout, "%d", n); | ~~ ^ | %ld prtype.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | PrintINT16(buf) | ^ In file included from prtype.c:11: ./x11.h:182:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 182 | extern int PrintINT16(); | ^ prtype.c:173:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 173 | PrintINT32(buf) | ^ | int prtype.c:177:21: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | long n = ILong (buf); | ^ prtype.c:178:25: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 178 | fprintf(stdout, "%d", n); | ~~ ^ | %ld prtype.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | PrintINT32(buf) | ^ In file included from prtype.c:11: ./x11.h:183:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 183 | extern int PrintINT32(); | ^ prtype.c:184:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 184 | PrintCARD8(buf) | ^ | int prtype.c:188:21: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | short n = IByte (buf); | ^ prtype.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | PrintCARD8(buf) | ^ In file included from prtype.c:11: ./x11.h:184:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 184 | extern int PrintCARD8(); | ^ prtype.c:190:1: warning: non-void function does not return a value [-Wreturn-type] 190 | } | ^ prtype.c:192:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 192 | PrintCARD16(buf) | ^ | int prtype.c:196:30: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | unsigned long n = IShort (buf); | ^ prtype.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | PrintCARD16(buf) | ^ In file included from prtype.c:11: ./x11.h:185:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 185 | extern int PrintCARD16(); | ^ prtype.c:201:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 201 | PrintCARD32(buf) | ^ | int prtype.c:205:29: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | unsigned long n = ILong (buf); | ^ prtype.c:206:27: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 206 | fprintf(stdout, "%08x", n); | ~~~~ ^ | %08lx prtype.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | PrintCARD32(buf) | ^ In file included from prtype.c:11: ./x11.h:186:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 186 | extern int PrintCARD32(); | ^ prtype.c:212:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 212 | PrintBYTE(buf) | ^ | int prtype.c:216:21: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | short n = IByte (buf); | ^ prtype.c:212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | PrintBYTE(buf) | ^ In file included from prtype.c:11: ./x11.h:187:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 187 | extern int PrintBYTE(); | ^ prtype.c:222:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 222 | PrintCHAR8(buf) | ^ | int prtype.c:226:30: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | unsigned short n = IByte (buf); | ^ prtype.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | PrintCHAR8(buf) | ^ In file included from prtype.c:11: ./x11.h:188:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 188 | extern int PrintCHAR8(); | ^ prtype.c:232:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 232 | PrintSTRING16(buf) | ^ | int prtype.c:236:32: warning: passing arguments to 'IChar2B' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | unsigned short n = IChar2B (buf); | ^ prtype.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | PrintSTRING16(buf) | ^ In file included from prtype.c:11: ./x11.h:189:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 189 | extern int PrintSTRING16(); | ^ prtype.c:241:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 241 | PrintSTR(buf) | ^ | int prtype.c:248:12: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | n = IByte(buf++); | ^ prtype.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | PrintSTR(buf) | ^ In file included from prtype.c:11: ./x11.h:192:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 192 | extern int PrintSTR(); | ^ prtype.c:256:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 256 | PrintWINDOW(buf) | ^ | int prtype.c:260:21: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | long n = ILong (buf); | ^ prtype.c:264:33: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 264 | fprintf(stdout, "WIN %08x", n); | ~~~~ ^ | %08lx prtype.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | PrintWINDOW(buf) | ^ In file included from prtype.c:11: ./x11.h:193:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 193 | extern int PrintWINDOW(); | ^ prtype.c:268:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 268 | PrintWINDOWD(buf) | ^ | int prtype.c:272:21: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | long n = ILong (buf); | ^ prtype.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | PrintWINDOWD(buf) | ^ In file included from prtype.c:11: ./x11.h:194:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 194 | extern int PrintWINDOWD(); | ^ prtype.c:282:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 282 | PrintWINDOWNR(buf) | ^ | int prtype.c:286:21: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | long n = ILong (buf); | ^ prtype.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | PrintWINDOWNR(buf) | ^ In file included from prtype.c:11: ./x11.h:195:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 195 | extern int PrintWINDOWNR(); | ^ prtype.c:297:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 297 | PrintPIXMAP(buf) | ^ | int prtype.c:301:21: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | long n = ILong (buf); | ^ prtype.c:305:33: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 305 | fprintf(stdout, "PXM %08x", n); | ~~~~ ^ | %08lx prtype.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | PrintPIXMAP(buf) | ^ In file included from prtype.c:11: ./x11.h:196:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 196 | extern int PrintPIXMAP(); | ^ prtype.c:309:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 309 | PrintPIXMAPNPR(buf) | ^ | int prtype.c:313:21: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | long n = ILong (buf); | ^ prtype.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | PrintPIXMAPNPR(buf) | ^ In file included from prtype.c:11: ./x11.h:197:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 197 | extern int PrintPIXMAPNPR(); | ^ prtype.c:323:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 323 | PrintPIXMAPC(buf) | ^ | int prtype.c:327:21: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | long n = ILong (buf); | ^ prtype.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | PrintPIXMAPC(buf) | ^ In file included from prtype.c:11: ./x11.h:198:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 198 | extern int PrintPIXMAPC(); | ^ prtype.c:336:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 336 | PrintCURSOR(buf) | ^ | int prtype.c:340:21: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | long n = ILong (buf); | ^ prtype.c:344:33: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 344 | fprintf(stdout, "CUR %08x", n); | ~~~~ ^ | %08lx prtype.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | PrintCURSOR(buf) | ^ In file included from prtype.c:11: ./x11.h:199:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 199 | extern int PrintCURSOR(); | ^ prtype.c:349:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 349 | PrintFONT(buf) | ^ | int prtype.c:353:21: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | long n = ILong (buf); | ^ prtype.c:357:33: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 357 | fprintf(stdout, "FNT %08x", n); | ~~~~ ^ | %08lx prtype.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | PrintFONT(buf) | ^ In file included from prtype.c:11: ./x11.h:200:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 200 | extern int PrintFONT(); | ^ prtype.c:362:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 362 | PrintGCONTEXT(buf) | ^ | int prtype.c:366:21: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | long n = ILong (buf); | ^ prtype.c:367:31: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 367 | fprintf(stdout, "GXC %08x", n); | ~~~~ ^ | %08lx prtype.c:362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | PrintGCONTEXT(buf) | ^ In file included from prtype.c:11: ./x11.h:201:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 201 | extern int PrintGCONTEXT(); | ^ prtype.c:372:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 372 | PrintCOLORMAP(buf) | ^ | int prtype.c:376:21: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | long n = ILong (buf); | ^ prtype.c:380:33: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 380 | fprintf(stdout, "CMP %08x", n); | ~~~~ ^ | %08lx prtype.c:372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | PrintCOLORMAP(buf) | ^ In file included from prtype.c:11: ./x11.h:202:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 202 | extern int PrintCOLORMAP(); | ^ prtype.c:384:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 384 | PrintCOLORMAPC(buf) | ^ | int prtype.c:388:21: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | long n = ILong (buf); | ^ prtype.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | PrintCOLORMAPC(buf) | ^ In file included from prtype.c:11: ./x11.h:203:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 203 | extern int PrintCOLORMAPC(); | ^ prtype.c:397:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 397 | PrintDRAWABLE(buf) | ^ | int prtype.c:401:21: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | long n = ILong (buf); | ^ prtype.c:402:31: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 402 | fprintf(stdout, "DWB %08x", n); | ~~~~ ^ | %08lx prtype.c:397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | PrintDRAWABLE(buf) | ^ In file included from prtype.c:11: ./x11.h:204:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 204 | extern int PrintDRAWABLE(); | ^ prtype.c:406:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 406 | PrintFONTABLE(buf) | ^ | int prtype.c:410:21: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | long n = ILong (buf); | ^ prtype.c:411:31: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 411 | fprintf(stdout, "FTB %08x", n); | ~~~~ ^ | %08lx prtype.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | PrintFONTABLE(buf) | ^ In file included from prtype.c:11: ./x11.h:205:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 205 | extern int PrintFONTABLE(); | ^ prtype.c:441:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 441 | PrintATOM(buf) | ^ | int prtype.c:445:21: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | long n = ILong (buf); | ^ prtype.c:449:33: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 449 | fprintf(stdout, "ATM %08x", n); | ~~~~ ^ | %08lx prtype.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | PrintATOM(buf) | ^ In file included from prtype.c:11: ./x11.h:206:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 206 | extern int PrintATOM(); | ^ prtype.c:453:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 453 | PrintATOMT(buf) | ^ | int prtype.c:457:21: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | long n = ILong (buf); | ^ prtype.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | PrintATOMT(buf) | ^ In file included from prtype.c:11: ./x11.h:207:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 207 | extern int PrintATOMT(); | ^ prtype.c:466:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 466 | PrintVISUALID(buf) | ^ | int prtype.c:470:21: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | long n = ILong (buf); | ^ prtype.c:474:33: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 474 | fprintf(stdout, "VIS %08x", n); | ~~~~ ^ | %08lx prtype.c:466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | PrintVISUALID(buf) | ^ In file included from prtype.c:11: ./x11.h:208:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 208 | extern int PrintVISUALID(); | ^ prtype.c:478:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 478 | PrintVISUALIDC(buf) | ^ | int prtype.c:482:21: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | long n = ILong (buf); | ^ prtype.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | PrintVISUALIDC(buf) | ^ In file included from prtype.c:11: ./x11.h:209:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 209 | extern int PrintVISUALIDC(); | ^ prtype.c:491:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 491 | PrintTIMESTAMP(buf) | ^ | int prtype.c:495:21: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | long n = ILong (buf); | ^ prtype.c:499:33: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 499 | fprintf(stdout, "TIM %08x", n); | ~~~~ ^ | %08lx prtype.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | PrintTIMESTAMP(buf) | ^ In file included from prtype.c:11: ./x11.h:210:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 210 | extern int PrintTIMESTAMP(); | ^ prtype.c:504:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 504 | PrintRESOURCEID(buf) | ^ | int prtype.c:508:21: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | long n = ILong (buf); | ^ prtype.c:512:33: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 512 | fprintf(stdout, "RID %08x", n); | ~~~~ ^ | %08lx prtype.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | PrintRESOURCEID(buf) | ^ In file included from prtype.c:11: ./x11.h:211:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 211 | extern int PrintRESOURCEID(); | ^ prtype.c:517:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 517 | PrintKEYSYM(buf) | ^ | int prtype.c:521:21: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | long n = ILong (buf); | ^ prtype.c:522:31: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 522 | fprintf(stdout, "KYS %08x", n); | ~~~~ ^ | %08lx prtype.c:517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | PrintKEYSYM(buf) | ^ In file included from prtype.c:11: ./x11.h:212:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 212 | extern int PrintKEYSYM(); | ^ prtype.c:526:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 526 | PrintKEYCODE(buf) | ^ | int prtype.c:530:28: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | unsigned short n = IByte (buf); | ^ prtype.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | PrintKEYCODE(buf) | ^ In file included from prtype.c:11: ./x11.h:213:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 213 | extern int PrintKEYCODE(); | ^ prtype.c:535:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 535 | PrintKEYCODEA(buf) | ^ | int prtype.c:539:21: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | long n = IByte (buf); | ^ prtype.c:535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | PrintKEYCODEA(buf) | ^ In file included from prtype.c:11: ./x11.h:214:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 214 | extern int PrintKEYCODEA(); | ^ prtype.c:548:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 548 | PrintBUTTON(buf) | ^ | int prtype.c:552:28: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | unsigned short n = IByte (buf); | ^ --- ev_ascii.o --- ev_ascii.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- prtype.o --- prtype.c:548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | PrintBUTTON(buf) | ^ --- ev_ascii.o --- 15 | deltatime (input) | ^ --- prtype.o --- In file included from prtype.c:11: ./x11.h:215:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 215 | extern int PrintBUTTON(); | ^ prtype.c:557:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 557 | PrintBUTTONA(buf) | ^ | int --- ev_ascii.o --- ev_ascii.c:36:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- prtype.o --- prtype.c:561:21: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- ev_ascii.o --- 36 | static char * state_to_ascii(state, scr_state) | ^ --- prtype.o --- 561 | long n = IByte (buf); | ^ prtype.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | PrintBUTTONA(buf) | ^ In file included from prtype.c:11: ./x11.h:216:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- ev_ascii.o --- ev_ascii.c:64:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- prtype.o --- 216 | extern int PrintBUTTONA(); | ^ prtype.c:572:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- ev_ascii.o --- 64 | unsigned long int ascii_to_state (scr_state) | ^ --- prtype.o --- 572 | PrintEVENTFORM(buf) | ^ | int prtype.c:576:3: warning: call to undeclared function 'DecodeEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 576 | DecodeEvent(-1, buf, (long)-1); | ^ prtype.c:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | PrintEVENTFORM(buf) | ^ In file included from prtype.c:11: ./x11.h:217:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 217 | extern int PrintEVENTFORM(); | ^ prtype.c:577:1: warning: non-void function does not return a value [-Wreturn-type] 577 | } | ^ prtype.c:581:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- ev_ascii.o --- ev_ascii.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- prtype.o --- 581 | PrintENUMERATED(buf, length, ValueList) | ^ | int --- ev_ascii.o --- 100 | WindowSessionToSaved (win, file) --- prtype.o --- prtype.c:590:14: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | n = IByte(buf); | ^ --- ev_ascii.o --- | ^ --- prtype.o --- prtype.c:592:17: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | n = IShort(buf); | ^ prtype.c:594:16: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | n = ILong(buf); | ^ prtype.c:603:41: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 603 | fprintf(stdout, "**INVALID** (%d)", n); | ~~ ^ | %ld --- ev_ascii.o --- ev_ascii.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- prtype.o --- prtype.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- ev_ascii.o --- 120 | WindowSavedToSession (win) | ^ --- prtype.o --- 581 | PrintENUMERATED(buf, length, ValueList) | ^ In file included from prtype.c:11: ./x11.h:218:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- ev_ascii.o --- ev_ascii.c:150:37: warning: call to undeclared function 'IByte'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- prtype.o --- 218 | extern int PrintENUMERATED(); | ^ --- ev_ascii.o --- 150 | register unsigned short evtype = BYTE(0); | ^ --- prtype.o --- prtype.c:604:1: warning: non-void function does not return a value [-Wreturn-type] 604 | } | ^ --- ev_ascii.o --- ev_ascii.c:139:20: note: expanded from macro 'BYTE' 139 | #define BYTE(n) IByte(&buf[(n)]) | ^ --- prtype.o --- prtype.c:608:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 608 | PrintSET(buf, length, ValueList) | ^ | int prtype.c:619:14: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | n = IByte(buf); | ^ prtype.c:621:17: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- ev_ascii.o --- ev_ascii.c:185:18: warning: call to undeclared function 'ILong'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 185 | scr_time = LONG(4); | ^ ev_ascii.c:141:20: note: expanded from macro 'LONG' --- prtype.o --- 621 | n = IShort(buf); | ^ --- ev_ascii.o --- 141 | #define LONG(n) ILong(&buf[(n)]) | ^ --- prtype.o --- prtype.c:623:16: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- ev_ascii.o --- ev_ascii.c:189:18: warning: call to undeclared function 'IShort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- prtype.o --- 623 | n = ILong(buf); | ^ --- ev_ascii.o --- 189 | scr_xroot = SHORT(20); | ^ ev_ascii.c:140:20: note: expanded from macro 'SHORT' --- prtype.o --- prtype.c:608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- ev_ascii.o --- 140 | #define SHORT(n) IShort(&buf[(n)]) | ^ --- prtype.o --- 608 | PrintSET(buf, length, ValueList) | ^ In file included from prtype.c:11: ./x11.h:219:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 219 | extern int PrintSET(); | ^ prtype.c:653:1: warning: non-void function does not return a value [-Wreturn-type] --- ev_ascii.o --- ev_ascii.c:195:18: warning: call to undeclared function 'IBool'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- prtype.o --- 653 | } | ^ --- ev_ascii.o --- 195 | evsame = BOOL(30); | ^ ev_ascii.c:142:20: note: expanded from macro 'BOOL' --- prtype.o --- prtype.c:661:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- ev_ascii.o --- 142 | #define BOOL(n) IBool(&buf[(n)]) | ^ --- prtype.o --- 661 | PrintField(buf, start, length, FieldType, name) | ^ | int prtype.c:669:5: warning: non-void function 'PrintField' should return a value [-Wreturn-mismatch] 669 | return; | ^ prtype.c:674:5: warning: call to undeclared function 'DumpHexBuffer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 674 | DumpHexBuffer(&(buf[start]), (long)length); | ^ prtype.c:679:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | (*TD[FieldType].PrintProc)(&buf[start]); | ^ prtype.c:694:6: warning: non-void function 'PrintField' should return a value [-Wreturn-mismatch] 694 | return; | ^ prtype.c:695:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- ev_ascii.o --- ev_ascii.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | event_to_ascii(buf, file) --- prtype.o --- 695 | (*TD[FieldType].PrintProc)(&buf[start]); | ^ prtype.c:661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- ev_ascii.o --- | ^ --- prtype.o --- 661 | PrintField(buf, start, length, FieldType, name) | ^ prtype.c:701:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 701 | } | ^ prtype.c:724:51: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 724 | fprintf(stdout, "%s%20s: (%d)\n", Leader, name, number); | ~~ ^~~~~~ | %ld prtype.c:735:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | n = (*TD[ListType].PrintProc)(buf); | ^ prtype.c:738:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | n = (*TD[ListType].PrintProc)(buf); | ^ prtype.c:711:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | long PrintList(buf, number, ListType, name) | ^ In file included from prtype.c:11: ./x11.h:479:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 479 | extern long PrintList(); | ^ --- ev_ascii.o --- ev_ascii.c:344:14: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 344 | detail = atoi (scr_spec_str); | ^ --- prtype.o --- prtype.c:762:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 762 | PrintListSTR(buf, number, name) | ^ --- ev_ascii.o --- ev_ascii.c:427:3: warning: call to undeclared function 'OByte'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- prtype.o --- | int prtype.c:772:5: warning: non-void function 'PrintListSTR' should return a value [-Wreturn-mismatch] 772 | return; | ^ --- ev_ascii.o --- 427 | OByte (&buf[0], type); /* event type */ | ^ --- prtype.o --- prtype.c:774:51: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] --- ev_ascii.o --- ev_ascii.c:429:10: warning: passing arguments to 'OShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | OShort (&buf[2], seq); /* sequence number */ | ^ --- prtype.o --- 774 | fprintf(stdout, "%s%20s: (%d)\n", Leader, name, number); | ~~ ^~~~~~ | %ld prtype.c:776:5: warning: non-void function 'PrintListSTR' should return a value [-Wreturn-mismatch] 776 | return; | ^ --- ev_ascii.o --- ev_ascii.c:430:3: warning: call to undeclared function 'OLong'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 430 | OLong (&buf[4], time); /* timestamp */ | ^ ev_ascii.c:434:10: warning: passing arguments to 'OShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | OShort (&buf[20],scr_x); /* root_x -- KLUDGE */ | ^ --- prtype.o --- prtype.c:790:3: warning: non-void function 'PrintListSTR' should return a value [-Wreturn-mismatch] 790 | return; | ^ --- ev_ascii.o --- ev_ascii.c:435:10: warning: passing arguments to 'OShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- prtype.o --- prtype.c:762:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | PrintListSTR(buf, number, name) | ^ --- ev_ascii.o --- 435 | OShort (&buf[22],scr_y); /* root_y -- KLUDGE */ --- prtype.o --- In file included from prtype.c:11: --- ev_ascii.o --- | ^ --- prtype.o --- ./x11.h:477:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- ev_ascii.o --- ev_ascii.c:436:10: warning: passing arguments to 'OShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- prtype.o --- 477 | extern PrintListSTR(); | ^ --- ev_ascii.o --- 436 | OShort (&buf[24],scr_x); /* event_x */ | ^ ev_ascii.c:437:10: warning: passing arguments to 'OShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | OShort (&buf[26],scr_y); /* event_y */ | ^ --- prtype.o --- prtype.c:800:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- ev_ascii.o --- ev_ascii.c:438:10: warning: passing arguments to 'OShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- prtype.o --- 800 | PrintBytes(buf, number, name) | ^ | int --- ev_ascii.o --- 438 | OShort (&buf[28],state); /* state */ | ^ --- prtype.o --- prtype.c:810:5: warning: non-void function 'PrintBytes' should return a value [-Wreturn-mismatch] 810 | return; | ^ --- ev_ascii.o --- ev_ascii.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- prtype.o --- prtype.c:828:3: warning: non-void function 'PrintBytes' should return a value [-Wreturn-mismatch] 828 | return; | ^ prtype.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- ev_ascii.o --- 298 | ascii_to_event_buf (line, buf, seq, time) | ^ --- prtype.o --- 800 | PrintBytes(buf, number, name) | ^ prtype.c:840:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 840 | PrintString8(buf, number, name) | ^ | int prtype.c:848:5: warning: non-void function 'PrintString8' should return a value [-Wreturn-mismatch] 848 | return; | ^ prtype.c:840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | PrintString8(buf, number, name) | ^ In file included from prtype.c:11: ./x11.h:475:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 475 | extern PrintString8(); | ^ prtype.c:854:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 854 | } | ^ prtype.c:859:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- ev_ascii.o --- ev_ascii.c:491:28: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 491 | ev->xbutton.button = atoi (scr_spec_str); | ^ --- prtype.o --- 859 | PrintString16(buf, number, name) | ^ | int prtype.c:868:5: warning: non-void function 'PrintString16' should return a value [-Wreturn-mismatch] 868 | return; | ^ prtype.c:873:18: warning: passing arguments to 'IChar2B' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | c = IChar2B(&buf[i]); | ^ --- ev_ascii.o --- ev_ascii.c:446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- prtype.o --- prtype.c:859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- ev_ascii.o --- 446 | ascii_to_XEvent (line, ev) | ^ --- prtype.o --- 859 | PrintString16(buf, number, name) | ^ In file included from prtype.c:11: ./x11.h:476:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 476 | extern PrintString16(); | ^ prtype.c:877:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 877 | } | ^ prtype.c:892:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 892 | PrintValues(control, clength, ctype, values, name) | ^ | int prtype.c:904:18: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 904 | cmask = IByte(control); | ^ prtype.c:906:21: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- ev_ascii.o --- ev_ascii.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- prtype.o --- 906 | cmask = IShort(control); --- ev_ascii.o --- 545 | ascii_to_event_type (line) --- prtype.o --- | ^ --- ev_ascii.o --- | ^ --- prtype.o --- prtype.c:908:20: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 908 | cmask = ILong(control); | ^ prtype.c:912:5: warning: non-void function 'PrintValues' should return a value [-Wreturn-mismatch] 912 | return; | ^ prtype.c:892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | PrintValues(control, clength, ctype, values, name) | ^ prtype.c:932:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 932 | } | ^ --- ev_ascii.o --- ev_ascii.c:637:5: warning: format specifies type 'short *' but the argument has type 'int *' [-Wformat] 634 | if (8 != sscanf(line,"%s %s %s %x %x %4hd %4hd %lu", | ~~~~ | %4d 635 | scr_type, scr_spec_str, --- prtype.o --- prtype.c:943:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- ev_ascii.o --- 636 | scr_state, &scr_win, &scr_subw, 637 | &scr_x,&scr_y, &scr_time)) { | ^~~~~~ --- prtype.o --- 943 | PrintTextList8(buf, length, name) | ^ | int --- ev_ascii.o --- ev_ascii.c:637:12: warning: format specifies type 'short *' but the argument has type 'int *' [-Wformat] --- prtype.o --- prtype.c:953:16: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | n = IByte(&buf[0]); | ^ --- ev_ascii.o --- 634 | if (8 != sscanf(line,"%s %s %s %x %x %4hd %4hd %lu", | ~~~~ --- prtype.o --- prtype.c:943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 943 | PrintTextList8(buf, length, name) | ^ --- ev_ascii.o --- | %4d --- prtype.o --- prtype.c:968:1: warning: non-void function does not return a value [-Wreturn-type] 968 | } | ^ --- ev_ascii.o --- 635 | scr_type, scr_spec_str, 636 | scr_state, &scr_win, &scr_subw, --- prtype.o --- prtype.c:970:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- ev_ascii.o --- 637 | &scr_x,&scr_y, &scr_time)) { --- prtype.o --- 970 | PrintTextList16(buf, length, name) | ^ | int --- ev_ascii.o --- | ^~~~~~ --- prtype.o --- prtype.c:980:16: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 980 | n = IByte(&buf[0]); | ^ --- ev_ascii.o --- ev_ascii.c:639:5: warning: call to undeclared function 'warn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- prtype.o --- prtype.c:970:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- ev_ascii.o --- 639 | warn ("error decoding event script line"); | ^ --- prtype.o --- 970 | PrintTextList16(buf, length, name) | ^ --- ev_ascii.o --- ev_ascii.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- prtype.o --- prtype.c:995:1: warning: non-void function does not return a value [-Wreturn-type] 995 | } --- ev_ascii.o --- 623 | ascii_to_delay (line) | ^ --- prtype.o --- | ^ prtype.c:1005:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- ev_ascii.o --- ev_ascii.c:667:5: warning: call to undeclared function 'warn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- prtype.o --- 1005 | DumpHexBuffer(buf, n) | ^ | int --- ev_ascii.o --- 667 | warn ("error decoding event script line"); | ^ ev_ascii.c:648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- prtype.o --- prtype.c:1005:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] prtype.c:1029:1: warning: non-void function does not return a value [-Wreturn-type] 1029 | } | ^ --- ev_ascii.o --- 648 | ascii_to_x_y_window (line, x, y, window) | ^ 29 warnings generated. --- record.o --- clang -pipe -Os -I/opt/pkg/include -Wno-error=return-type -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c record.c --- prtype.o --- 242 warnings generated. --- xscript._man --- rm -f xscript._man if test -z "" ; then cd `dirname xscript` && ln -s `basename xscript.man` `basename xscript._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'` X.Org" < xscript.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\/' >xscript._man; fi --- record.o --- In file included from record.c:11: ./x11.h:475:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 475 | extern PrintString8(); | ~~~~~~ ^ | int ./x11.h:476:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 476 | extern PrintString16(); | ~~~~~~ ^ | int ./x11.h:477:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 477 | extern PrintListSTR(); | ~~~~~~ ^ | int record.c:44:13: warning: incompatible pointer types passing 'FILE *' (aka 'struct __sFILE *') to parameter of type 'const char *' [-Wincompatible-pointer-types] 44 | perror (file); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:264:26: note: passing argument to parameter here 264 | void perror(const char *) __cold; | ^ record.c:45:5: warning: call to undeclared function 'panic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 45 | panic ("OpenFile failure.\n"); | ^ record.c:54:3: warning: call to undeclared function 'UsingFD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | UsingFD (fid, 0); | ^ record.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | OpenFile (name, priv) | ^ record.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | Dilate (deltat) | ^ record.c:116:15: warning: call to undeclared function 'ascii_to_event_type'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | event = ascii_to_event_type (buf); | ^ record.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | NextScriptEvent (buf, n) | ^ record.c:162:62: warning: format specifies type 'unsigned int' but the argument has type 'XID' (aka 'unsigned long') [-Wformat] 162 | fprintf (stderr, " Timed out waiting for window %8.8x\n", window ); | ~~~~~ ^~~~~~ | %8.8lx record.c:168:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | (*Resource_Handler) (Resource_resource, Resource_userdata); | ^ record.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | ResourceNeverAppeared (timer, window) | ^ record.c:200:25: warning: call to undeclared function 'panic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 200 | if (Resource_Handler) panic ("already waiting for a resource....only one allowed!"); | ^ record.c:205:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | (*handler) (resource, user_data); | ^ record.c:210:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | (*handler) (resource, user_data); | ^ record.c:218:35: warning: passing arguments to 'CreateTimer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | Resource_timeout = CreateTimer (2000, ResourceNeverAppeared, resource); | ^ record.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | WaitForWindowMapped (fd, resource, handler, user_data) | ^ record.c:239:24: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | XID resource = ILong (&buf[n]); | ^ record.c:255:19: warning: passing arguments to 'DeleteTimer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | DeleteTimer (Resource_timeout); | ^ record.c:259:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | (*Resource_Handler) (Resource_resource, Resource_userdata); | ^ record.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | WindowStatusAnnounce (fd, buf, n, status) | ^ record.c:285:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 285 | AnnouncePlaybackError (dpy, erev) | ^ | int record.c:290:14: warning: call to undeclared function 'ascii_to_event_type'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 290 | int type = ascii_to_event_type (script_line); | ^ record.c:294:8: warning: format specifies type 'unsigned int' but the argument has type 'XID' (aka 'unsigned long') [-Wformat] 293 | fprintf (stderr, " Unable to move pointer into window %8.8x\n", | ~~~~~ | %8.8lx 294 | erev->resourceid); | ^~~~~~~~~~~~~~~~ record.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | AnnouncePlaybackError (dpy, erev) | ^ record.c:298:1: warning: non-void function does not return a value [-Wreturn-type] 298 | } | ^ record.c:307:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 307 | SendPlaybackEvent (timer, fd) | ^ | int record.c:313:15: warning: call to undeclared function 'FDPair'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 313 | FD pairfd = FDPair(fd); | ^ record.c:330:7: warning: call to undeclared function 'ascii_to_event_buf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 330 | if (ascii_to_event_buf (script_line, buf, seq, timestamp)) { | ^ record.c:331:5: warning: call to undeclared function 'WriteToClient'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 331 | WriteToClient (fd, buf, 32); | ^ record.c:335:3: warning: call to undeclared function 'ReadPlaybackEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 335 | ReadPlaybackEvent (timer, fd); | ^ record.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | SendPlaybackEvent (timer, fd) | ^ record.c:337:1: warning: non-void function does not return a value [-Wreturn-type] 337 | } | ^ record.c:345:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 345 | WarpPlaybackEvent (session_window, fd) | ^ | int record.c:367:3: warning: call to undeclared function 'ascii_to_x_y_window'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 367 | ascii_to_x_y_window (script_line, &x, &y, &saved_window); | ^ record.c:373:15: warning: passing arguments to 'CreateTimer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | CreateTimer (20L, SendPlaybackEvent, fd); | ^ record.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | WarpPlaybackEvent (session_window, fd) | ^ record.c:375:1: warning: non-void function does not return a value [-Wreturn-type] 375 | } | ^ record.c:383:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 383 | TranslatePlaybackEvent (timer, fd) | ^ | int record.c:396:3: warning: call to undeclared function 'ascii_to_x_y_window'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 396 | ascii_to_x_y_window (script_line, &x, &y, &saved_window); | ^ record.c:397:20: warning: call to undeclared function 'WindowSavedToSession'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 397 | session_window = WindowSavedToSession (saved_window); | ^ record.c:398:44: warning: incompatible function pointer types passing 'int ()' to parameter of type 'void (*)()' [-Wincompatible-function-pointer-types] 398 | WaitForWindowMapped (fd, session_window, WarpPlaybackEvent, fd); | ^~~~~~~~~~~~~~~~~ record.c:398:63: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Wint-conversion] 398 | WaitForWindowMapped (fd, session_window, WarpPlaybackEvent, fd); | ^~ record.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | TranslatePlaybackEvent (timer, fd) | ^ record.c:399:1: warning: non-void function does not return a value [-Wreturn-type] 399 | } | ^ record.c:408:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 408 | ReadPlaybackEvent (timer, fd) | ^ | int record.c:435:13: warning: call to undeclared function 'ascii_to_delay'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 435 | delay = ascii_to_delay (script_line); | ^ record.c:436:13: warning: call to undeclared function 'ascii_to_event_type'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 436 | switch (ascii_to_event_type (script_line)) { | ^ record.c:468:40: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 468 | debug(128,(stderr,"%d=delay %s\n", delay2, script_line)); | ~~ ^~~~~~ | %lu ./scope.h:22:55: note: expanded from macro 'debug' 22 | #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) | ^ record.c:469:17: warning: passing arguments to 'CreateTimer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | CreateTimer (delay2, TranslatePlaybackEvent, fd); | ^ record.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | ReadPlaybackEvent (timer, fd) | ^ record.c:472:1: warning: non-void function does not return a value [-Wreturn-type] 472 | } | ^ record.c:480:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 480 | RecordEvent (fd, buf, n) | ^ | int record.c:486:31: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | register short type = IByte (&buf[0]); /* event type */ | ^ record.c:514:5: warning: call to undeclared function 'event_to_ascii'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 514 | event_to_ascii (buf, RecordFile); | ^ record.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | RecordEvent (fd, buf, n) | ^ record.c:520:1: warning: non-void function does not return a value [-Wreturn-type] 520 | } | ^ 58 warnings generated. --- xscript --- rm -f xscript clang -o xscript -pipe -Os -I/opt/pkg/include -Wno-error=return-type -L/opt/pkg/lib -L/opt/pkg/lib scope.o common.o fd.o server.o decode11.o table11.o print11.o prtype.o ev_ascii.o record.o -lXext -lX11 -lm