WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xscript-19930228nb2 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 scope.c:107:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] enterprocedure("GetServerport"); ^ scope.c:118:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] enterprocedure("GetScopePort"); ^ scope.c:129:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Usage(xscript) ^ int 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] 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 C2x [-Wdeprecated-non-prototype] Usage(xscript) ^ scope.c:166:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] debuglevel = atoi(++*argv); ^ scope.c:223:47: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] debug(1,(stderr, "ServerOutPort = %d\n", ServerOutPort)); ~~ ^~~~~~~~~~~~~ %ld ./scope.h:22:55: note: expanded from macro 'debug' #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] debug(1,(stderr, "ServerDisplay=%d\n", ServerDisplay)); ~~ ^~~~~~~~~~~~~ %ld ./scope.h:22:55: note: expanded from macro 'debug' #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] debug(1,(stderr, "ServerInPort = %d\n", ServerInPort)); ~~ ^~~~~~~~~~~~ %ld ./scope.h:22:55: note: expanded from macro 'debug' #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 C2x [-Wdeprecated-non-prototype] (void)strcpy(ServerHostName, OfficialName(*argv)); ^ scope.c:294:38: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] debug(1,(stderr, "Wait = %d\n", Wait)); ~~ ^~~~ %ld ./scope.h:22:55: note: expanded from macro 'debug' #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] debug(1,(stderr, "TimeDilation = %d\n", TimeDilation)); ~~ ^~~~~~~~~~~~ %ld ./scope.h:22:55: note: expanded from macro 'debug' #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] debug(1,(stderr, "DoubleClickTime = %d\n", DoubleClickTime)); ~~ ^~~~~~~~~~~~~~~ %ld ./scope.h:22:55: note: expanded from macro 'debug' #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] ServerInPort); ^~~~~~~~~~~~ scope.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScanArgs(argc, argv) ^ scope.c:331:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ scope.c:338:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] InitializeFD(); ^ scope.c:349:3: warning: call to undeclared function 'InitializeX11'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] InitializeX11(); ^ scope.c:357:3: warning: call to undeclared function 'SetUpStdin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] SetUpStdin(); ^ scope.c:359:3: warning: call to undeclared function 'SetUpConnectionSocket'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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] SetSignalHandling(); ^ scope.c:362:3: warning: call to undeclared function 'MainLoop'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] MainLoop(); ^ scope.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ scope.c:381:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] enterprocedure("ReadStdin"); ^ scope.c:389:50: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] debug(4,(stderr, "read %d bytes from stdin\n", n)); ~~ ^ %ld ./scope.h:22:55: note: expanded from macro 'debug' #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 C2x [-Wdeprecated-non-prototype] ReadStdin(fd) ^ scope.c:390:1: warning: non-void function does not return a value [-Wreturn-type] } ^ scope.c:392:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] UsingFD(fileno(stdin), ReadStdin); ^ scope.c:396:1: warning: non-void function does not return a value [-Wreturn-type] } ^ scope.c:403:67: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] SetUpPair(client, server) ^ scope.c:459:1: warning: non-void function does not return a value [-Wreturn-type] } ^ scope.c:462:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] CloseConnection(fd) ^ scope.c:474:1: warning: non-void function does not return a value [-Wreturn-type] } ^ scope.c:478:4: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] FD ServerHalf(fd) ^ scope.c:507:30: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] (void)sprintf(name, " %d", FDinfo[fd].ClientNumber); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %ld /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char *ClientName (); ^ scope.c:530:55: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] debug(128,(stderr, "select %d, wfds = 0%o\n", fd+1, wfds)); ~~ ^~~~ %lo ./scope.h:22:55: note: expanded from macro 'debug' #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] nfds = select (fd+1, &rfds, &wfds, &xfds, ^~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/_select.h:43:41: note: passing argument to parameter here 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] nfds = select (fd+1, &rfds, &wfds, &xfds, ^~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/_select.h:43:62: note: passing argument to parameter here 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] nfds = select (fd+1, &rfds, &wfds, &xfds, ^~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/_select.h:44:24: note: passing argument to parameter here fd_set * __restrict, struct timeval * __restrict) ^ scope.c:533:61: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] debug(128,(stderr, "select nfds = 0%o, wfds 0%o\n", nfds, wfds)); ~~ ^~~~ %lo ./scope.h:22:55: note: expanded from macro 'debug' #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 C2x [-Wdeprecated-non-prototype] WaitUntilWriteable (fd) ^ scope.c:544:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] enterprocedure("DataFromClient"); ^ scope.c:553:53: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] debug(4,(stderr, "read %d bytes from Client%s\n", n, ClientName(fd))); ~~ ^ %ld ./scope.h:22:55: note: expanded from macro 'debug' #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] PrintTime(); ^ scope.c:560:7: warning: non-void function 'DataFromClient' should return a value [-Wreturn-type] return; ^ scope.c:564:7: warning: call to undeclared function 'PrintTime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] PrintTime(); ^ scope.c:577:5: warning: non-void function 'DataFromClient' should return a value [-Wreturn-type] return; ^ scope.c:583:18: warning: call to undeclared function 'ConnectToServer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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] 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 C2x [-Wdeprecated-non-prototype] DataFromClient(fd) ^ scope.c:619:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ scope.c:626:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] scope.c:660:1: warning: non-void function does not return a value [-Wreturn-type] } ^ scope.c:669:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] enterprocedure("DataFromServer"); ^ scope.c:678:53: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] debug(4,(stderr, "read %d bytes from Server%s\n", n, ClientName(fd))); ~~ ^ %ld ./scope.h:22:55: note: expanded from macro 'debug' #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] PrintTime(); ^ scope.c:684:7: warning: non-void function 'DataFromServer' should return a value [-Wreturn-type] return; ^ scope.c:689:2: warning: call to undeclared function 'PrintTime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] PrintTime(); ^ scope.c:703:7: warning: non-void function 'DataFromServer' should return a value [-Wreturn-type] return; ^ scope.c:710:7: warning: non-void function 'DataFromServer' should return a value [-Wreturn-type] return; ^ scope.c:726:3: warning: call to undeclared function 'ReportFromServer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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 C2x [-Wdeprecated-non-prototype] DataFromServer(fd) ^ scope.c:728:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ scope.c:740:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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 C2x [-Wdeprecated-non-prototype] NewConnection(fd) ^ scope.c:749:1: warning: non-void function does not return a value [-Wreturn-type] } ^ scope.c:761:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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] ClientFD = accept(ConnectionSocket, (struct sockaddr *)&from, &len); ^~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/socket.h:720:73: note: passing argument to parameter here 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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] 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] XRefreshKeyboardMapping ( &ev ); ^~~ /Users/pbulk/build/x11/xscript/work/.buildlink/include/X11/Xlib.h:3079:1: note: passing argument to parameter here ); ^ scope.c:927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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] 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] 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] UsingFD (displayFD, DataOnXDisplay); ^ 118 warnings generated. 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] 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 C2x [-Wdeprecated-non-prototype] common.c:24:1: warning: non-void function does not return a value [-Wreturn-type] } ^ common.c:26:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] common.c:30:1: warning: non-void function does not return a value [-Wreturn-type] } ^ common.c:32:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] panic(s) ^ common.c:45:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 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 C2x [-Wdeprecated-non-prototype] p = (char *)malloc((unsigned int)n); ^ common.c:52:42: warning: format specifies type 'unsigned int' but the argument has type 'char *' [-Wformat] debug(64,(stderr, "%x = malloc(%d)\n", p, n)); ~~ ^ %s ./scope.h:22:55: note: expanded from macro 'debug' #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] debug(64,(stderr, "%x = malloc(%d)\n", p, n)); ~~ ^ %ld ./scope.h:22:55: note: expanded from macro 'debug' #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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] Free(p) ^ int common.c:61:36: warning: format specifies type 'unsigned int' but the argument has type 'char *' [-Wformat] debug(64,(stderr, "%x = free\n", p)); ~~ ^ %s ./scope.h:22:55: note: expanded from macro 'debug' #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] 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 C2x [-Wdeprecated-non-prototype] Free(p) ^ common.c:63:1: warning: non-void function does not return a value [-Wreturn-type] } ^ common.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] SignalUSR1(n) ^ common.c:151:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] SetSignalHandling() ^ int common.c:165:1: warning: non-void function does not return a value [-Wreturn-type] } ^ common.c:191:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] SetUpConnectionSocket(iport) ^ int common.c:284:3: warning: call to undeclared function 'UsingFD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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 C2x [-Wdeprecated-non-prototype] SetUpConnectionSocket(iport) ^ common.c:285:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 34 warnings generated. 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 fd.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] result, ^~~~~~ ./scope.h:22:55: note: expanded from macro 'debug' #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] delay, ^~~~~ ./scope.h:22:55: note: expanded from macro 'debug' #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] t->time.tv_sec, ^~~~~~~~~~~~~~ ./scope.h:22:55: note: expanded from macro 'debug' #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] t->time.tv_sec, ^~~~~~~~~~~~~~ ./scope.h:22:55: note: expanded from macro 'debug' #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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void DeleteTimer(); ^ fd.c:232:7: warning: format specifies type 'int' but the argument has type '__darwin_time_t' (aka 'long') [-Wformat] now.tv_sec, ^~~~~~~~~~ ./scope.h:22:55: note: expanded from macro 'debug' #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] t->timer, ^~~~~~~~ ./scope.h:22:55: note: expanded from macro 'debug' #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] t->time.tv_sec, ^~~~~~~~~~~~~~ ./scope.h:22:55: note: expanded from macro 'debug' #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 C2x [-Wdeprecated-non-prototype] (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] 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] 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] diff.tv_sec, ^~~~~~~~~~~ ./scope.h:22:55: note: expanded from macro 'debug' #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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] UsingFD(fileno(stdin), (int (*)())NULL); ^ fd.c:317:1: warning: non-void function does not return a value [-Wreturn-type] } ^ fd.c:321:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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 C2x [-Wdeprecated-non-prototype] UsingFD(fd, Handler) ^ fd.c:343:1: warning: non-void function does not return a value [-Wreturn-type] } ^ fd.c:347:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] fd.c:362:1: warning: non-void function does not return a value [-Wreturn-type] } ^ fd.c:366:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] EOFonFD(fd) ^ fd.c:373:1: warning: non-void function does not return a value [-Wreturn-type] } ^ fd.c:385:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] &rfds, &wfds, &xfds, ^~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/_select.h:43:41: note: passing argument to parameter here 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] &rfds, &wfds, &xfds, ^~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/_select.h:43:62: note: passing argument to parameter here 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] &rfds, &wfds, &xfds, ^~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/_select.h:44:24: note: passing argument to parameter here 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] 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] 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 C2x [-Wdeprecated-non-prototype] (FDD[fd].InputHandler)(fd); ^ 46 warnings generated. 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 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] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] ClientName(fd), n, (n == 1 ? "byte" : "bytes")); ^ server.c:29:24: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 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] 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 C2x [-Wdeprecated-non-prototype] ReportFromClient(fd, buf, n) ^ server.c:32:1: warning: non-void function does not return a value [-Wreturn-type] } ^ server.c:34:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] n, (n == 1 ? "byte" : "bytes"), ClientName(fd)); ^ server.c:42:8: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 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] 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 C2x [-Wdeprecated-non-prototype] ReportFromServer(fd, buf, n) ^ server.c:45:1: warning: non-void function does not return a value [-Wreturn-type] } ^ server.c:59:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] PrintTime() ^ int server.c:80:34: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(stdout, "%2d.%02ld: ", sec, hsec); ~~~ ^~~ %2ld server.c:81:1: warning: non-void function does not return a value [-Wreturn-type] } ^ server.c:92:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] SaveBytes(fd, buf, n) ^ server.c:222:1: warning: non-void function does not return a value [-Wreturn-type] } ^ server.c:224:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] RemoveSavedBytes(fd, n) ^ int server.c:232:5: warning: non-void function 'RemoveSavedBytes' should return a value [-Wreturn-type] return; ^ server.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RemoveSavedBytes(fd, n) ^ server.c:243:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ server.c:272:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] (fd, BytesToProcess, CS[fd].NumberofBytesNeeded); ^ server.c:356:3: warning: non-void function 'ProcessBuffer' should return a value [-Wreturn-type] return; ^ server.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] StartClientConnection(fd) ^ server.c:389:1: warning: non-void function does not return a value [-Wreturn-type] } ^ server.c:391:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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 C2x [-Wdeprecated-non-prototype] StopClientConnection(fd) ^ server.c:399:1: warning: non-void function does not return a value [-Wreturn-type] } ^ server.c:409:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] enterprocedure("StartSetUpMessage"); ^ server.c:423:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CS[fd].NumberofBytesNeeded - n)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scope.h:22:55: note: expanded from macro 'debug' #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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] enterprocedure("StartRequest"); ^ server.c:459:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CS[fd].NumberofBytesNeeded - n)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scope.h:22:55: note: expanded from macro 'debug' #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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] long FinishRequest (); ^ server.c:489:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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 C2x [-Wdeprecated-non-prototype] StartServerConnection(fd) ^ server.c:504:1: warning: non-void function does not return a value [-Wreturn-type] } ^ server.c:506:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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 C2x [-Wdeprecated-non-prototype] StopServerConnection(fd) ^ server.c:514:1: warning: non-void function does not return a value [-Wreturn-type] } ^ server.c:523:3: warning: call to undeclared function 'enterprocedure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] enterprocedure("StartSetUpReply"); ^ server.c:528:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] CS[fd].NumberofBytesNeeded - n)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./scope.h:22:55: note: expanded from macro 'debug' #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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] long FinishReply (); ^ 115 warnings generated. 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 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] InitReplyQ() ^ int decode11.c:102:1: warning: non-void function does not return a value [-Wreturn-type] } ^ decode11.c:104:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] decode11.c:122:1: warning: non-void function does not return a value [-Wreturn-type] } ^ decode11.c:125:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] DumpReplyQ(fd) ^ int decode11.c:129:8: warning: format specifies type 'unsigned int' but the argument has type 'struct QueueEntry *' [-Wformat] 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] 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] 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] p, p->Next, p->SequenceNumber, p->Request); ^~~~~~~ decode11.c:134:20: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 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 C2x [-Wdeprecated-non-prototype] DumpReplyQ(fd) ^ decode11.c:136:1: warning: non-void function does not return a value [-Wreturn-type] } ^ decode11.c:145:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] SequencedReplyExpected(fd, SequenceNumber, RequestType) ^ int decode11.c:153:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] SequenceNumber, RequestType, fd)); ^~~~~~~~~~~~~~ ./scope.h:22:55: note: expanded from macro 'debug' #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] fd = FDPair(fd); ^ decode11.c:159:36: warning: non-void function 'SequencedReplyExpected' should return a value [-Wreturn-type] if (fd < 0 || fd >= StaticMaxFD) return; ^ decode11.c:169:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] p->SequenceNumber, p->Request, fd)); ^~~~~~~~~~~~~~~~~ ./scope.h:22:55: note: expanded from macro 'debug' #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 C2x [-Wdeprecated-non-prototype] SequencedReplyExpected(fd, SequenceNumber, RequestType) ^ decode11.c:170:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ decode11.c:180:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] decode11.c:234:1: warning: non-void function does not return a value [-Wreturn-type] } ^ decode11.c:240:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] KeepLastReplyExpected() ^ int decode11.c:243:1: warning: non-void function does not return a value [-Wreturn-type] } ^ decode11.c:256:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] bcopy ((char *)&(CS[fd].SequenceNumber), (char *)SBf, sizeof(long)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_strings.h:46:3: note: expanded from macro 'bcopy' __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] } ^ decode11.c:693:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] GrabTimeoutProc (timer, message) ^ int decode11.c:705:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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] warn("Unexpected reply"); ^ decode11.c:838:7: warning: non-void function 'DecodeReply' should return a value [-Wreturn-type] return; ^ decode11.c:841:3: warning: call to undeclared function 'SetIndentLevel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] DecodeReply(fd, buf, n) ^ decode11.c:981:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ decode11.c:988:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] (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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] DecodeError(fd, buf, n) ^ decode11.c:1057:1: warning: non-void function does not return a value [-Wreturn-type] } ^ decode11.c:1064:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] DecodeEvent(fd, buf, n) ^ decode11.c:1186:1: warning: non-void function does not return a value [-Wreturn-type] } ^ decode11.c:1212:25: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] MonitorEvent(fd, buf, n) ^ 292 warnings generated. 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 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] 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] 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] 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] 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] InitReplyQ(); ^ table11.c:46:3: warning: call to undeclared function 'InitBuiltInTypes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] InitBuiltInTypes(); ^ table11.c:47:3: warning: call to undeclared function 'InitEnumeratedTypes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] InitEnumeratedTypes(); ^ table11.c:48:3: warning: call to undeclared function 'InitSetTypes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] InitSetTypes(); ^ table11.c:49:3: warning: call to undeclared function 'InitValuesTypes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] InitValuesTypes(); ^ table11.c:50:3: warning: call to undeclared function 'InitRecordTypes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] InitRecordTypes(); ^ table11.c:51:1: warning: non-void function does not return a value [-Wreturn-type] } ^ table11.c:60:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] DefineEValue(type, value, name) ^ table11.c:104:1: warning: non-void function does not return a value [-Wreturn-type] } ^ table11.c:114:35: warning: parameter 'ctype' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] DefineValues(type, value, length, ctype, name) ^ table11.c:114:27: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] DefineValues(type, value, length, ctype, name) ^ table11.c:114:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] DefineValues(type, value, length, ctype, name) ^ table11.c:143:1: warning: non-void function does not return a value [-Wreturn-type] } ^ table11.c:149:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] InitBuiltInTypes() ^ int table11.c:186:1: warning: non-void function does not return a value [-Wreturn-type] } ^ table11.c:193:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] InitEnumeratedTypes() ^ int table11.c:716:1: warning: non-void function does not return a value [-Wreturn-type] } ^ table11.c:723:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] InitSetTypes() ^ int table11.c:816:1: warning: non-void function does not return a value [-Wreturn-type] } ^ table11.c:826:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] PrintCHAR2B(buf) ^ table11.c:831:1: warning: non-void function does not return a value [-Wreturn-type] } ^ table11.c:833:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] PrintPOINT(buf) ^ table11.c:841:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] PrintRECTANGLE(buf) ^ table11.c:851:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] PrintARC(buf) ^ table11.c:863:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] PrintHOST(buf) ^ table11.c:874:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] PrintTIMECOORD(buf) ^ table11.c:883:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] PrintFONTPROP(buf) ^ table11.c:891:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] PrintCHARINFO(buf) ^ table11.c:903:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] PrintSEGMENT(buf) ^ table11.c:913:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] PrintCOLORITEM(buf) ^ table11.c:924:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] PrintRGB(buf) ^ table11.c:933:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] PrintFORMAT(buf) ^ table11.c:942:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] PrintSCREEN(buf) ^ table11.c:969:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] PrintDEPTH(buf) ^ table11.c:982:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] PrintVISUALTYPE(buf) ^ table11.c:997:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] InitRecordTypes() ^ int table11.c:1014:1: warning: non-void function does not return a value [-Wreturn-type] } ^ table11.c:1023:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] InitValuesTypes() ^ int table11.c:1088:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 85 warnings generated. 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 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] 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] 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] 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] 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] enterprocedure("PrintSetUpMessage"); ^ print11.c:89:5: warning: non-void function 'PrintSetUpMessage' should return a value [-Wreturn-type] return; ^ print11.c:90:3: warning: call to undeclared function 'SetIndentLevel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] print_set_indent_level(PRINTCLIENT); ^ print11.c:73:35: note: expanded from macro 'print_set_indent_level' #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] print_field_1up(buf, 0, 1, BYTEMODE, "byte-order"); ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] print_str8_1up(&buf[12], (long)n, "authorization-protocol-name"); ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] print_str8_1up(&buf[pad((long)(12+n))], (long)d, "authorization-protocol-data"); ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' #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 C2x [-Wdeprecated-non-prototype] PrintSetUpMessage(buf) ^ print11.c:100:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:102:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] print_set_indent_level(PRINTSERVER); ^ print11.c:73:35: note: expanded from macro 'print_set_indent_level' #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 C2x [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] PrintSetUpReply(buf) ^ print11.c:111:1: warning: non-void function does not return a value [-Wreturn-type] } ^ print11.c:113:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, 0, "SetUp Failed"); ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] print_str8_1up(&buf[8], (long)n, "reason"); ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' #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 C2x [-Wdeprecated-non-prototype] PrintFailedSetUpReply(buf) ^ print11.c:127:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:129:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] PrintSuccessfulSetUpReply(buf) ^ int print11.c:137:5: warning: non-void function 'PrintSuccessfulSetUpReply' should return a value [-Wreturn-type] return; ^ print11.c:138:3: warning: call to undeclared function 'PrintField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] print_field_1up(buf, 2, 2, CARD16, "protocol-major-version"); ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] print_str8_1up(&buf[40], (long)v, "vendor"); ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' #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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] (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' #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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] (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' #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 C2x [-Wdeprecated-non-prototype] PrintSuccessfulSetUpReply(buf) ^ print11.c:161:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:182:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Request */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RequestError(buf) ^ print11.c:191:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:193:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Value */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ValueError(buf) ^ print11.c:203:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:205:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Window */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WindowError(buf) ^ print11.c:215:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:217:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Pixmap */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PixmapError(buf) ^ print11.c:227:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:229:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Atom */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AtomError(buf) ^ print11.c:239:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:241:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Cursor */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CursorError(buf) ^ print11.c:251:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:253:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Font */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FontError(buf) ^ print11.c:263:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:265:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Match */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MatchError(buf) ^ print11.c:274:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:276:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Drawable */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DrawableError(buf) ^ print11.c:286:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:288:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Access */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AccessError(buf) ^ print11.c:297:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:299:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Alloc */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AllocError(buf) ^ print11.c:308:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:310:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Colormap */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ColormapError(buf) ^ print11.c:320:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:322:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* GContext */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GContextError(buf) ^ print11.c:332:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:334:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* IDChoice */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IDChoiceError(buf) ^ print11.c:344:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:346:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Name */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NameError(buf) ^ print11.c:355:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:357:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Length */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LengthError(buf) ^ print11.c:366:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:368:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 1, 1, ERROR, ERRORHEADER) /* Implementation */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImplementationError(buf) ^ print11.c:377:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:386:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* KeyPress */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] KeyPressEvent(buf) ^ print11.c:404:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:406:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* KeyRelease */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] KeyReleaseEvent(buf) ^ print11.c:424:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:426:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* ButtonPress */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ButtonPressEvent(buf) ^ print11.c:444:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:446:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* ButtonRelease */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ButtonReleaseEvent(buf) ^ print11.c:464:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:466:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* MotionNotify */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MotionNotifyEvent(buf) ^ print11.c:484:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:486:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* EnterNotify */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EnterNotifyEvent(buf) ^ print11.c:505:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:507:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* LeaveNotify */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LeaveNotifyEvent(buf) ^ print11.c:526:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:528:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* FocusIn */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FocusInEvent(buf) ^ print11.c:538:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:540:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* FocusOut */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FocusOutEvent(buf) ^ print11.c:550:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:552:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* KeymapNotify */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:558:3: warning: call to undeclared function 'PrintBytes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] print_bytes_1up(&buf[1], (long)31,"keys"); ^ print11.c:71:32: note: expanded from macro 'print_bytes_1up' #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 C2x [-Wdeprecated-non-prototype] KeymapNotifyEvent(buf) ^ print11.c:559:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:561:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* Expose */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExposeEvent(buf) ^ print11.c:574:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:576:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* GraphicsExposure */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GraphicsExposureEvent(buf) ^ print11.c:591:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:593:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* NoExposure */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NoExposureEvent(buf) ^ print11.c:603:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:605:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* VisibilityNotify */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VisibilityNotifyEvent(buf) ^ print11.c:614:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:616:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* CreateNotify */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateNotifyEvent(buf) ^ print11.c:631:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:633:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* DestroyNotify */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyNotifyEvent(buf) ^ print11.c:642:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:644:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* UnmapNotify */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapNotifyEvent(buf) ^ print11.c:654:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:656:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* MapNotify */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:656:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MapNotifyEvent(buf) ^ print11.c:666:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:668:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* MapRequest */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MapRequestEvent(buf) ^ print11.c:677:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:679:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* ReparentNotify */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReparentNotifyEvent(buf) ^ print11.c:692:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:694:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* ConfigureNotify */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureNotifyEvent(buf) ^ print11.c:710:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:712:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* ConfigureRequest */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureRequestEvent(buf) ^ print11.c:729:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:731:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* GravityNotify */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GravityNotifyEvent(buf) ^ print11.c:742:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:744:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* ResizeRequest */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:744:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResizeRequestEvent(buf) ^ print11.c:754:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:756:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* CirculateNotify */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:756:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CirculateNotifyEvent(buf) ^ print11.c:767:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:769:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* CirculateRequest */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CirculateRequestEvent(buf) ^ print11.c:779:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:781:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* PropertyNotify */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PropertyNotifyEvent(buf) ^ print11.c:792:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:794:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* SelectionClear */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionClearEvent(buf) ^ print11.c:804:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:806:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* SelectionRequest */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionRequestEvent(buf) ^ print11.c:819:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:821:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* SelectionNotify */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionNotifyEvent(buf) ^ print11.c:833:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:835:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* ColormapNotify */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ColormapNotifyEvent(buf) ^ print11.c:846:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:848:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* ClientMessage */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] print_str8_1up(&buf[12], 20L, "data"); ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' #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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[12], 10L, INT16, "data"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[12], 5L, INT32, "data"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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] print_bytes_1up(&buf[12], 20L, "data"); ^ print11.c:71:32: note: expanded from macro 'print_bytes_1up' #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 C2x [-Wdeprecated-non-prototype] ClientMessageEvent(buf) ^ print11.c:871:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:873:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, EVENT, EVENTHEADER) /* MappingNotify */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:873:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MappingNotifyEvent(buf) ^ print11.c:883:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:892:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* CreateWindow */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:914:3: warning: call to undeclared function 'PrintValues'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] print_values_1up(&buf[28], 4, WINDOW_BITMASK, &buf[32], "value-list"); ^ print11.c:72:37: note: expanded from macro 'print_values_1up' #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 C2x [-Wdeprecated-non-prototype] CreateWindow(buf) ^ print11.c:915:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:917:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ChangeWindowAttributes */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:930:3: warning: call to undeclared function 'PrintValues'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] print_values_1up(&buf[8], 4, WINDOW_BITMASK, &buf[12], "value-list"); ^ print11.c:72:37: note: expanded from macro 'print_values_1up' #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 C2x [-Wdeprecated-non-prototype] ChangeWindowAttributes(buf) ^ print11.c:931:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:933:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetWindowAttributes */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetWindowAttributes(buf) ^ print11.c:945:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:947:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetWindowAttributes */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:947:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetWindowAttributesReply(buf) ^ print11.c:970:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:972:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* DestroyWindow */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:972:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyWindow(buf) ^ print11.c:984:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:986:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* DestroySubwindows */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:986:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroySubwindows(buf) ^ print11.c:998:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1000:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ChangeSaveSet */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1000:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeSaveSet(buf) ^ print11.c:1013:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1015:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ReparentWindow */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReparentWindow(buf) ^ print11.c:1030:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1032:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* MapWindow */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1032:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MapWindow(buf) ^ print11.c:1044:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1046:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* MapSubwindows */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1046:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MapSubwindows(buf) ^ print11.c:1058:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1060:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* UnmapWindow */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1060:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapWindow(buf) ^ print11.c:1072:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1074:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* UnmapSubwindows */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnmapSubwindows(buf) ^ print11.c:1086:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1088:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ConfigureWindow */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1101:3: warning: call to undeclared function 'PrintValues'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] print_values_1up(&buf[8], 2, CONFIGURE_BITMASK, &buf[12], "value-list"); ^ print11.c:72:37: note: expanded from macro 'print_values_1up' #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 C2x [-Wdeprecated-non-prototype] ConfigureWindow(buf) ^ print11.c:1102:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1104:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* CirculateWindow */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CirculateWindow(buf) ^ print11.c:1117:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1119:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetGeometry */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetGeometry(buf) ^ print11.c:1131:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1133:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetGeometry */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetGeometryReply(buf) ^ print11.c:1148:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1150:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* QueryTree */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueryTree(buf) ^ print11.c:1162:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1164:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* QueryTree */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[32], (long)n, WINDOW, "children"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] QueryTreeReply(buf) ^ print11.c:1178:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1180:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* InternAtom */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] print_str8_1up(&buf[8], (long)n, "name"); ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' #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 C2x [-Wdeprecated-non-prototype] InternAtom(buf) ^ print11.c:1196:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1198:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* InternAtom */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InternAtomReply(buf) ^ print11.c:1207:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1209:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetAtomName */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetAtomName(buf) ^ print11.c:1221:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1223:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetAtomName */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] print_str8_1up(&buf[32], (long)n, "name"); ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' #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 C2x [-Wdeprecated-non-prototype] GetAtomNameReply(buf) ^ print11.c:1235:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1237:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ChangeProperty */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] print_str8_1up(&buf[24], n * format/8, "data"); ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' #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 C2x [-Wdeprecated-non-prototype] print_str8_1up(&buf[24], n * format/8, "data(partial)"); ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' #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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[24], n, INT16, "data"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[24], n, INT32, "data"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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] print_bytes_1up(&buf[24], n * format/8, "data"); ^ print11.c:71:32: note: expanded from macro 'print_bytes_1up' #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 C2x [-Wdeprecated-non-prototype] ChangeProperty(buf) ^ print11.c:1279:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1281:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* DeleteProperty */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteProperty(buf) ^ print11.c:1294:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1296:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetProperty */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetProperty(buf) ^ print11.c:1313:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1315:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetProperty */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] print_str8_1up(&buf[32], n * format/8, "data"); ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' #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 C2x [-Wdeprecated-non-prototype] print_str8_1up(&buf[32], n * format/8, "data(partial)"); ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' #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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[32], n, INT16, "data"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[32], n, INT32, "data"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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] print_bytes_1up(&buf[32], n * format/8, "data"); ^ print11.c:71:32: note: expanded from macro 'print_bytes_1up' #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 C2x [-Wdeprecated-non-prototype] GetPropertyReply(buf) ^ print11.c:1354:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1356:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ListProperties */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ListProperties(buf) ^ print11.c:1368:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1370:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* ListProperties */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[32], (long)n, ATOM, "atoms"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] ListPropertiesReply(buf) ^ print11.c:1382:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1384:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* SetSelectionOwner */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetSelectionOwner(buf) ^ print11.c:1398:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1400:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetSelectionOwner */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetSelectionOwner(buf) ^ print11.c:1412:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1414:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetSelectionOwner */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetSelectionOwnerReply(buf) ^ print11.c:1423:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1425:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ConvertSelection */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConvertSelection(buf) ^ print11.c:1441:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1443:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* SendEvent */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SendEvent(buf) ^ print11.c:1458:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1460:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GrabPointer */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GrabPointer(buf) ^ print11.c:1479:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1481:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GrabPointer */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GrabPointerReply(buf) ^ print11.c:1490:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1492:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* UngrabPointer */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UngrabPointer(buf) ^ print11.c:1504:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1506:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GrabButton */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GrabButton(buf) ^ print11.c:1526:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1528:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* UngrabButton */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UngrabButton(buf) ^ print11.c:1542:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1544:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ChangeActivePointerGrab */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeActivePointerGrab(buf) ^ print11.c:1558:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1560:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GrabKeyboard */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GrabKeyboard(buf) ^ print11.c:1576:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1578:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GrabKeyboard */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1578:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GrabKeyboardReply(buf) ^ print11.c:1587:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1589:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* UngrabKeyboard */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UngrabKeyboard(buf) ^ print11.c:1601:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1603:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GrabKey */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GrabKey(buf) ^ print11.c:1620:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1622:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* UngrabKey */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UngrabKey(buf) ^ print11.c:1636:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1638:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* AllowEvents */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AllowEvents(buf) ^ print11.c:1651:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1653:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GrabServer */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GrabServer(buf) ^ print11.c:1664:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1666:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* UngrabServer */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UngrabServer(buf) ^ print11.c:1677:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1679:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* QueryPointer */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueryPointer(buf) ^ print11.c:1691:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1693:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* QueryPointer */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueryPointerReply(buf) ^ print11.c:1709:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1711:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetMotionEvents */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetMotionEvents(buf) ^ print11.c:1725:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1727:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetMotionEvents */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[32], n, TIMECOORD, "events"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] GetMotionEventsReply(buf) ^ print11.c:1739:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1741:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* TranslateCoordinates */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TranslateCoordinates(buf) ^ print11.c:1756:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1758:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* TranslateCoordinates */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TranslateCoordinatesReply(buf) ^ print11.c:1770:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1772:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* WarpPointer */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1772:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WarpPointer(buf) ^ print11.c:1791:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1793:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* SetInputFocus */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetInputFocus(buf) ^ print11.c:1807:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1809:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetInputFocus */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1809:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetInputFocus(buf) ^ print11.c:1820:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1822:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetInputFocus */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetInputFocusReply(buf) ^ print11.c:1832:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1834:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* QueryKeymap */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueryKeymap(buf) ^ print11.c:1845:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1847:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* QueryKeymap */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1855:3: warning: call to undeclared function 'PrintBytes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] print_bytes_1up(&buf[8], 32L, "keys"); ^ print11.c:71:32: note: expanded from macro 'print_bytes_1up' #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 C2x [-Wdeprecated-non-prototype] QueryKeymapReply(buf) ^ print11.c:1856:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1858:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* OpenFont */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] print_str8_1up(&buf[12], (long)n, "name"); ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' #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 C2x [-Wdeprecated-non-prototype] OpenFont(buf) ^ print11.c:1875:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1877:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* CloseFont */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CloseFont(buf) ^ print11.c:1889:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1891:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* QueryFont */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueryFont(buf) ^ print11.c:1903:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1905:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* QueryFont */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] k = print_list_1up(&buf[60], (long)n, FONTPROP, "properties"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[60 + k], (long)m, CHARINFO, "char-infos"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] QueryFontReply(buf) ^ print11.c:1936:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1938:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* QueryTextExtents */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] print_str16_1up(&buf[8], (long)n, "string"); ^ print11.c:68:45: note: expanded from macro 'print_str16_1up' #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 C2x [-Wdeprecated-non-prototype] QueryTextExtents(buf) ^ print11.c:1957:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1959:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* QueryTextExtents */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:1959:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueryTextExtentsReply(buf) ^ print11.c:1975:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1977:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ListFonts */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] print_str8_1up(&buf[8], (long)n, "pattern"); ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' #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 C2x [-Wdeprecated-non-prototype] ListFonts(buf) ^ print11.c:1994:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:1996:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* ListFonts */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] print_list_str_1up(&buf[32], (long)n, "names"); ^ print11.c:66:47: note: expanded from macro 'print_list_str_1up' #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 C2x [-Wdeprecated-non-prototype] ListFontsReply(buf) ^ print11.c:2009:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2011:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ListFontsWithInfo */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] print_str8_1up(&buf[8], (long)n, "pattern"); ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' #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 C2x [-Wdeprecated-non-prototype] ListFontsWithInfo(buf) ^ print11.c:2028:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2030:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* ListFontsWithInfo */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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] 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] KeepLastReplyExpected(); ^ print11.c:2044:5: warning: call to undeclared function 'ListFontsWithInfoReply2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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 C2x [-Wdeprecated-non-prototype] ListFontsWithInfoReply(buf) ^ print11.c:2045:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2047:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_2up(buf, 1, 1, DVALUE1(n), "length of name in bytes"); ^ print11.c:62:53: note: expanded from macro 'print_field_2up' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[60], (long)m, FONTPROP, "properties"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] print_str8_1up(&buf[60 + 8 * m], (long)n, "name"); ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' #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 C2x [-Wdeprecated-non-prototype] ListFontsWithInfoReply1(buf) ^ print11.c:2072:1: warning: non-void function does not return a value [-Wreturn-type] } ^ print11.c:2074:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 1, 1, CONST1(0), "last-reply indicator"); ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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 C2x [-Wdeprecated-non-prototype] ListFontsWithInfoReply2(buf) ^ print11.c:2080:1: warning: non-void function does not return a value [-Wreturn-type] } ^ print11.c:2082:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* SetFontPath */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] print_list_str_1up(&buf[8], (long)n, "paths"); ^ print11.c:66:47: note: expanded from macro 'print_list_str_1up' #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 C2x [-Wdeprecated-non-prototype] SetFontPath(buf) ^ print11.c:2097:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2099:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetFontPath */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:2099:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetFontPath(buf) ^ print11.c:2110:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2112:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetFontPath */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] print_list_str_1up(&buf[32], (long)n, "paths"); ^ print11.c:66:47: note: expanded from macro 'print_list_str_1up' #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 C2x [-Wdeprecated-non-prototype] GetFontPathReply(buf) ^ print11.c:2124:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2126:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* CreatePixmap */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:2126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreatePixmap(buf) ^ print11.c:2142:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2144:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* FreePixmap */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:2144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreePixmap(buf) ^ print11.c:2156:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2158:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* CreateGC */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:2172:3: warning: call to undeclared function 'PrintValues'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] print_values_1up(&buf[12], 4, GC_BITMASK, &buf[16], "value-list"); ^ print11.c:72:37: note: expanded from macro 'print_values_1up' #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 C2x [-Wdeprecated-non-prototype] CreateGC(buf) ^ print11.c:2173:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2175:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ChangeGC */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:2188:3: warning: call to undeclared function 'PrintValues'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] print_values_1up(&buf[8], 4, GC_BITMASK, &buf[12], "value-list"); ^ print11.c:72:37: note: expanded from macro 'print_values_1up' #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 C2x [-Wdeprecated-non-prototype] ChangeGC(buf) ^ print11.c:2189:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2191:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* CopyGC */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:2191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CopyGC(buf) ^ print11.c:2205:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2207:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* SetDashes */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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] print_bytes_1up(&buf[12], (long)n, "dashes"); ^ print11.c:71:32: note: expanded from macro 'print_bytes_1up' #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 C2x [-Wdeprecated-non-prototype] SetDashes(buf) ^ print11.c:2224:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2226:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* SetClipRectangles */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[12], (long)n, RECTANGLE, "rectangles"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] SetClipRectangles(buf) ^ print11.c:2245:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2247:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* FreeGC */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:2247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeGC(buf) ^ print11.c:2259:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2261:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ClearArea */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:2261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClearArea(buf) ^ print11.c:2278:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2280:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* CopyArea */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:2280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CopyArea(buf) ^ print11.c:2300:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2302:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* CopyPlane */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:2302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CopyPlane(buf) ^ print11.c:2323:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2325:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* PolyPoint */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[12], (long)n, POINT, "points"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] PolyPoint(buf) ^ print11.c:2342:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2344:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* PolyLine */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[12], (long)n, POINT, "points"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] PolyLine(buf) ^ print11.c:2361:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2363:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* PolySegment */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[12], (long)n, SEGMENT, "segments"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] PolySegment(buf) ^ print11.c:2379:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2381:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* PolyRectangle */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[12], (long)n, RECTANGLE, "rectangles"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] PolyRectangle(buf) ^ print11.c:2397:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2399:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* PolyArc */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[12], (long)n, ARC, "arcs"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] PolyArc(buf) ^ print11.c:2415:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2417:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* FillPoly */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[16], (long)n, POINT, "points"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] FillPoly(buf) ^ print11.c:2435:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2437:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* PolyFillRectangle */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[12], (long)n, RECTANGLE, "rectangles"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] PolyFillRectangle(buf) ^ print11.c:2453:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2455:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* PolyFillArc */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[12], (long)n, ARC, "arcs"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] PolyFillArc(buf) ^ print11.c:2471:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2473:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* PutImage */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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] print_bytes_1up(&buf[24], (long)n, "data"); ^ print11.c:71:32: note: expanded from macro 'print_bytes_1up' #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 C2x [-Wdeprecated-non-prototype] PutImage(buf) ^ print11.c:2509:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2511:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetImage */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:2511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetImage(buf) ^ print11.c:2529:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2531:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetImage */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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] print_bytes_1up(&buf[32], n, "data"); ^ print11.c:71:32: note: expanded from macro 'print_bytes_1up' #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 C2x [-Wdeprecated-non-prototype] GetImageReply(buf) ^ print11.c:2549:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2551:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* PolyText8 */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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] print_text_list8_1up(&buf[16], n, "items"); ^ print11.c:69:37: note: expanded from macro 'print_text_list8_1up' #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 C2x [-Wdeprecated-non-prototype] PolyText8(buf) ^ print11.c:2570:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2572:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* PolyText16 */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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] print_text_list16_1up(&buf[16], n, "items"); ^ print11.c:70:38: note: expanded from macro 'print_text_list16_1up' #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 C2x [-Wdeprecated-non-prototype] PolyText16(buf) ^ print11.c:2591:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2593:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ImageText8 */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] print_str8_1up(&buf[16], (long)n, "string"); ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' #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 C2x [-Wdeprecated-non-prototype] ImageText8(buf) ^ print11.c:2612:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2614:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ImageText16 */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] print_str16_1up(&buf[16], (long)n, "string"); ^ print11.c:68:45: note: expanded from macro 'print_str16_1up' #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 C2x [-Wdeprecated-non-prototype] ImageText16(buf) ^ print11.c:2633:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2635:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* CreateColormap */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:2635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateColormap(buf) ^ print11.c:2650:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2652:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* FreeColormap */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:2652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeColormap(buf) ^ print11.c:2664:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2666:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* CopyColormapAndFree */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:2666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CopyColormapAndFree(buf) ^ print11.c:2679:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2681:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* InstallColormap */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:2681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InstallColormap(buf) ^ print11.c:2693:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2695:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* UninstallColormap */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:2695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UninstallColormap(buf) ^ print11.c:2707:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2709:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ListInstalledColormaps */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:2709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ListInstalledColormaps(buf) ^ print11.c:2721:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2723:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* ListInstalledColormaps */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[32], (long)n, COLORMAP, "cmaps"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] ListInstalledColormapsReply(buf) ^ print11.c:2735:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2737:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* AllocColor */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:2737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AllocColor(buf) ^ print11.c:2752:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2754:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* AllocColor */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:2754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AllocColorReply(buf) ^ print11.c:2766:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2768:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* AllocNamedColor */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] print_str8_1up(&buf[12], (long)n, "name"); ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' #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 C2x [-Wdeprecated-non-prototype] AllocNamedColor(buf) ^ print11.c:2784:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2786:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* AllocNamedColor */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:2786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AllocNamedColorReply(buf) ^ print11.c:2801:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2803:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* AllocColorCells */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:2803:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AllocColorCells(buf) ^ print11.c:2818:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2820:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* AllocColorCells */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] k = print_list_1up(&buf[32], (long)n, CARD32, "pixels"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[32 + k], (long)m, CARD32, "masks"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] AllocColorCellsReply(buf) ^ print11.c:2837:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2839:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* AllocColorPlanes */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:2839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AllocColorPlanes(buf) ^ print11.c:2856:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2858:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* AllocColorPlanes */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[32], (long)n, CARD32, "pixels"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] AllocColorPlanesReply(buf) ^ print11.c:2873:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2875:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* FreeColors */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[12], (long)n, CARD32, "pixels"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] FreeColors(buf) ^ print11.c:2892:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2894:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* StoreColors */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[8], (long)n, COLORITEM, "items"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] StoreColors(buf) ^ print11.c:2909:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2911:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* StoreNamedColor */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] print_str8_1up(&buf[16], (long)n, "name"); ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' #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 C2x [-Wdeprecated-non-prototype] StoreNamedColor(buf) ^ print11.c:2929:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2931:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* QueryColors */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[8], (long)n, CARD32, "pixels"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] QueryColors(buf) ^ print11.c:2946:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2948:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* QueryColors */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[32], (long)n, RGB, "colors"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] QueryColorsReply(buf) ^ print11.c:2960:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2962:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* LookupColor */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] print_str8_1up(&buf[12], (long)n, "name"); ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' #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 C2x [-Wdeprecated-non-prototype] LookupColor(buf) ^ print11.c:2978:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2980:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* LookupColor */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:2980:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LookupColorReply(buf) ^ print11.c:2994:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:2996:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* CreateCursor */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:2996:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateCursor(buf) ^ print11.c:3018:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3020:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* CreateGlyphCursor */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3020:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateGlyphCursor(buf) ^ print11.c:3042:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3044:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* FreeCursor */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeCursor(buf) ^ print11.c:3056:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3058:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* RecolorCursor */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RecolorCursor(buf) ^ print11.c:3076:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3078:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* QueryBestSize */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3078:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueryBestSize(buf) ^ print11.c:3093:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3095:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* QueryBestSize */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3095:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueryBestSizeReply(buf) ^ print11.c:3105:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3107:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* QueryExtension */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] print_str8_1up(&buf[8], (long)n, "name"); ^ print11.c:67:43: note: expanded from macro 'print_str8_1up' #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 C2x [-Wdeprecated-non-prototype] QueryExtension(buf) ^ print11.c:3123:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3125:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* QueryExtension */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueryExtensionReply(buf) ^ print11.c:3148:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3150:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ListExtensions */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ListExtensions(buf) ^ print11.c:3161:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3163:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* ListExtensions */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] print_list_str_1up(&buf[32], (long)n, "names"); ^ print11.c:66:47: note: expanded from macro 'print_list_str_1up' #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 C2x [-Wdeprecated-non-prototype] ListExtensionsReply(buf) ^ print11.c:3176:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3178:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ChangeKeyboardMapping */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[8], (long)(n * m), KEYSYM, "keysyms"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] ChangeKeyboardMapping(buf) ^ print11.c:3197:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3199:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetKeyboardMapping */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetKeyboardMapping(buf) ^ print11.c:3212:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3214:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetKeyboardMapping */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] print_list_2up(&buf[32], n, KEYSYM, "keysyms"); ^ print11.c:65:59: note: expanded from macro 'print_list_2up' #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 C2x [-Wdeprecated-non-prototype] GetKeyboardMappingReply(buf) ^ print11.c:3226:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3228:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ChangeKeyboardControl */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3240:3: warning: call to undeclared function 'PrintValues'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] print_values_1up(&buf[4], 4, KEYBOARD_BITMASK, &buf[8], "value-list"); ^ print11.c:72:37: note: expanded from macro 'print_values_1up' #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 C2x [-Wdeprecated-non-prototype] ChangeKeyboardControl(buf) ^ print11.c:3241:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3243:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetKeyboardControl */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetKeyboardControl(buf) ^ print11.c:3254:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3256:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetKeyboardControl */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3270:3: warning: call to undeclared function 'PrintBytes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] print_bytes_1up(&buf[20], 32L, "auto-repeats"); ^ print11.c:71:32: note: expanded from macro 'print_bytes_1up' #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 C2x [-Wdeprecated-non-prototype] GetKeyboardControlReply(buf) ^ print11.c:3271:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3273:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* Bell */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bell(buf) ^ print11.c:3285:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3287:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ChangePointerControl */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangePointerControl(buf) ^ print11.c:3303:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3305:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetPointerControl */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetPointerControl(buf) ^ print11.c:3316:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3318:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetPointerControl */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetPointerControlReply(buf) ^ print11.c:3329:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3331:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* SetScreenSaver */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetScreenSaver(buf) ^ print11.c:3346:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3348:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetScreenSaver */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetScreenSaver(buf) ^ print11.c:3359:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3361:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetScreenSaver */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetScreenSaverReply(buf) ^ print11.c:3373:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3375:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ChangeHosts */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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] print_bytes_1up(&buf[8], (long)n, "address"); ^ print11.c:71:32: note: expanded from macro 'print_bytes_1up' #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 C2x [-Wdeprecated-non-prototype] ChangeHosts(buf) ^ print11.c:3392:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3394:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ListHosts */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3394:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ListHosts(buf) ^ print11.c:3405:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3407:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* ListHosts */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[32], (long)n, HOST, "hosts"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] ListHostsReply(buf) ^ print11.c:3420:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3422:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* SetAccessControl */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetAccessControl(buf) ^ print11.c:3434:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3436:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* SetCloseDownMode */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetCloseDownMode(buf) ^ print11.c:3448:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3450:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* KillClient */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] KillClient(buf) ^ print11.c:3462:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3464:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* RotateProperties */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[12], (long)n, ATOM, "properties"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] RotateProperties(buf) ^ print11.c:3481:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3483:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* ForceScreenSaver */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ForceScreenSaver(buf) ^ print11.c:3495:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3497:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* SetPointerMapping */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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] print_bytes_1up(&buf[4], (long)n,"map"); ^ print11.c:71:32: note: expanded from macro 'print_bytes_1up' #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 C2x [-Wdeprecated-non-prototype] SetPointerMapping(buf) ^ print11.c:3512:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3514:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* SetPointerMapping */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetPointerMappingReply(buf) ^ print11.c:3523:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3525:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetPointerMapping */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetPointerMapping(buf) ^ print11.c:3536:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3538:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetPointerMapping */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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] print_bytes_1up(&buf[32], (long)n,"map"); ^ print11.c:71:32: note: expanded from macro 'print_bytes_1up' #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 C2x [-Wdeprecated-non-prototype] GetPointerMappingReply(buf) ^ print11.c:3550:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3552:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* SetModifierMapping */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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] print_bytes_1up(&buf[4 + 0 * n], (long)n,"Shift keycodes"); ^ print11.c:71:32: note: expanded from macro 'print_bytes_1up' #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 C2x [-Wdeprecated-non-prototype] SetModifierMapping(buf) ^ print11.c:3574:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3576:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* SetModifierMapping */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetModifierMappingReply(buf) ^ print11.c:3585:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3587:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* GetModifierMapping */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetModifierMapping(buf) ^ print11.c:3598:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3600:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(RBf, 0, 1, REPLY, REPLYHEADER) /* GetModifierMapping */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (void)print_list_1up(&buf[32], (long)n, KEYCODE, "keycodes"); ^ print11.c:64:42: note: expanded from macro 'print_list_1up' #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 C2x [-Wdeprecated-non-prototype] GetModifierMappingReply(buf) ^ print11.c:3612:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ print11.c:3614:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] print_field_1up(buf, 0, 1, REQUEST, REQUESTHEADER) /* NoOperation */ ; ^ print11.c:63:36: note: expanded from macro 'print_field_1up' #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-type] return; ^ print11.c:3614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NoOperation(buf) ^ print11.c:3625:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 1246 warnings generated. 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 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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] SetIndentLevel(which) ^ int prtype.c:103:5: warning: non-void function 'SetIndentLevel' should return a value [-Wreturn-type] return; ^ prtype.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetIndentLevel(which) ^ prtype.c:111:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ prtype.c:113:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] prtype.c:117:1: warning: non-void function does not return a value [-Wreturn-type] } ^ prtype.c:131:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] DumpItem(name, fd, buf, n) ^ int prtype.c:138:5: warning: non-void function 'DumpItem' should return a value [-Wreturn-type] return; ^ prtype.c:142:3: warning: call to undeclared function 'DumpHexBuffer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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 C2x [-Wdeprecated-non-prototype] DumpItem(name, fd, buf, n) ^ prtype.c:144:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ prtype.c:151:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] long n = IShort (buf); ^ prtype.c:169:25: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] long n = ILong (buf); ^ prtype.c:178:25: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int PrintCARD8(); ^ prtype.c:190:1: warning: non-void function does not return a value [-Wreturn-type] } ^ prtype.c:192:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] unsigned long n = ILong (buf); ^ prtype.c:206:27: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] long n = ILong (buf); ^ prtype.c:264:33: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] long n = ILong (buf); ^ prtype.c:305:33: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] long n = ILong (buf); ^ prtype.c:344:33: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] long n = ILong (buf); ^ prtype.c:357:33: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] long n = ILong (buf); ^ prtype.c:367:31: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] long n = ILong (buf); ^ prtype.c:380:33: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] long n = ILong (buf); ^ prtype.c:402:31: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] long n = ILong (buf); ^ prtype.c:411:31: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] long n = ILong (buf); ^ prtype.c:449:33: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] long n = ILong (buf); ^ prtype.c:474:33: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] long n = ILong (buf); ^ prtype.c:499:33: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] long n = ILong (buf); ^ prtype.c:512:33: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] long n = ILong (buf); ^ prtype.c:522:31: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] unsigned short n = IByte (buf); ^ prtype.c:548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintBUTTON(buf) ^ 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] PrintBUTTONA(buf) ^ int prtype.c:561:21: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int PrintEVENTFORM(); ^ prtype.c:577:1: warning: non-void function does not return a value [-Wreturn-type] } ^ prtype.c:581:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] PrintENUMERATED(buf, length, ValueList) ^ int prtype.c:590:14: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n = IByte(buf); ^ prtype.c:592:17: warning: passing arguments to 'IShort' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] n = ILong(buf); ^ prtype.c:603:41: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(stdout, "**INVALID** (%d)", n); ~~ ^ %ld prtype.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int PrintENUMERATED(); ^ prtype.c:604:1: warning: non-void function does not return a value [-Wreturn-type] } ^ prtype.c:608:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] n = IShort(buf); ^ prtype.c:623:16: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n = ILong(buf); ^ prtype.c:608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int PrintSET(); ^ prtype.c:653:1: warning: non-void function does not return a value [-Wreturn-type] } ^ prtype.c:661:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] PrintField(buf, start, length, FieldType, name) ^ int prtype.c:669:5: warning: non-void function 'PrintField' should return a value [-Wreturn-type] return; ^ prtype.c:674:5: warning: call to undeclared function 'DumpHexBuffer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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 C2x [-Wdeprecated-non-prototype] (*TD[FieldType].PrintProc)(&buf[start]); ^ prtype.c:694:6: warning: non-void function 'PrintField' should return a value [-Wreturn-type] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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] } ^ prtype.c:724:51: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern long PrintList(); ^ prtype.c:762:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] PrintListSTR(buf, number, name) ^ int prtype.c:772:5: warning: non-void function 'PrintListSTR' should return a value [-Wreturn-type] return; ^ prtype.c:774:51: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(stdout, "%s%20s: (%d)\n", Leader, name, number); ~~ ^~~~~~ %ld prtype.c:776:5: warning: non-void function 'PrintListSTR' should return a value [-Wreturn-type] return; ^ prtype.c:790:3: warning: non-void function 'PrintListSTR' should return a value [-Wreturn-type] return; ^ prtype.c:762:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintListSTR(buf, number, name) ^ In file included from prtype.c:11: ./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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern PrintListSTR(); ^ prtype.c:800:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] PrintBytes(buf, number, name) ^ int prtype.c:810:5: warning: non-void function 'PrintBytes' should return a value [-Wreturn-type] return; ^ prtype.c:828:3: warning: non-void function 'PrintBytes' should return a value [-Wreturn-type] return; ^ prtype.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] PrintString8(buf, number, name) ^ int prtype.c:848:5: warning: non-void function 'PrintString8' should return a value [-Wreturn-type] return; ^ prtype.c:840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern PrintString8(); ^ prtype.c:854:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ prtype.c:859:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] PrintString16(buf, number, name) ^ int prtype.c:868:5: warning: non-void function 'PrintString16' should return a value [-Wreturn-type] 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 C2x [-Wdeprecated-non-prototype] c = IChar2B(&buf[i]); ^ prtype.c:859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern PrintString16(); ^ prtype.c:877:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ prtype.c:892:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] cmask = IShort(control); ^ prtype.c:908:20: warning: passing arguments to 'ILong' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmask = ILong(control); ^ prtype.c:912:5: warning: non-void function 'PrintValues' should return a value [-Wreturn-type] return; ^ prtype.c:892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] } ^ prtype.c:943:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] PrintTextList8(buf, length, name) ^ int prtype.c:953:16: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n = IByte(&buf[0]); ^ prtype.c:943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintTextList8(buf, length, name) ^ prtype.c:968:1: warning: non-void function does not return a value [-Wreturn-type] } ^ prtype.c:970:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] PrintTextList16(buf, length, name) ^ int prtype.c:980:16: warning: passing arguments to 'IByte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n = IByte(&buf[0]); ^ prtype.c:970:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintTextList16(buf, length, name) ^ prtype.c:995:1: warning: non-void function does not return a value [-Wreturn-type] } ^ prtype.c:1005:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] DumpHexBuffer(buf, n) ^ int prtype.c:1005:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prtype.c:1029:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 242 warnings generated. 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 ev_ascii.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] deltatime (input) ^ ev_ascii.c:36:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char * state_to_ascii(state, scr_state) ^ ev_ascii.c:64:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long int ascii_to_state (scr_state) ^ ev_ascii.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WindowSessionToSaved (win, file) ^ ev_ascii.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WindowSavedToSession (win) ^ ev_ascii.c:150:37: warning: call to undeclared function 'IByte'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] register unsigned short evtype = BYTE(0); ^ ev_ascii.c:139:20: note: expanded from macro 'BYTE' #define BYTE(n) IByte(&buf[(n)]) ^ ev_ascii.c:185:18: warning: call to undeclared function 'ILong'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] scr_time = LONG(4); ^ ev_ascii.c:141:20: note: expanded from macro 'LONG' #define LONG(n) ILong(&buf[(n)]) ^ ev_ascii.c:189:18: warning: call to undeclared function 'IShort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] scr_xroot = SHORT(20); ^ ev_ascii.c:140:20: note: expanded from macro 'SHORT' #define SHORT(n) IShort(&buf[(n)]) ^ ev_ascii.c:195:18: warning: call to undeclared function 'IBool'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] evsame = BOOL(30); ^ ev_ascii.c:142:20: note: expanded from macro 'BOOL' #define BOOL(n) IBool(&buf[(n)]) ^ ev_ascii.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] event_to_ascii(buf, file) ^ ev_ascii.c:344:14: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] detail = atoi (scr_spec_str); ^ ev_ascii.c:427:3: warning: call to undeclared function 'OByte'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] OByte (&buf[0], type); /* event type */ ^ 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 C2x [-Wdeprecated-non-prototype] OShort (&buf[2], seq); /* sequence number */ ^ ev_ascii.c:430:3: warning: call to undeclared function 'OLong'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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 C2x [-Wdeprecated-non-prototype] OShort (&buf[20],scr_x); /* root_x -- KLUDGE */ ^ 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 C2x [-Wdeprecated-non-prototype] OShort (&buf[22],scr_y); /* root_y -- KLUDGE */ ^ 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] OShort (&buf[26],scr_y); /* event_y */ ^ 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 C2x [-Wdeprecated-non-prototype] OShort (&buf[28],state); /* state */ ^ ev_ascii.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ascii_to_event_buf (line, buf, seq, time) ^ ev_ascii.c:491:28: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ev->xbutton.button = atoi (scr_spec_str); ^ ev_ascii.c:446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ascii_to_XEvent (line, ev) ^ ev_ascii.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ascii_to_event_type (line) ^ ev_ascii.c:637:5: warning: format specifies type 'short *' but the argument has type 'int *' [-Wformat] &scr_x,&scr_y, &scr_time)) { ^~~~~~ ev_ascii.c:637:12: warning: format specifies type 'short *' but the argument has type 'int *' [-Wformat] &scr_x,&scr_y, &scr_time)) { ^~~~~~ ev_ascii.c:639:5: warning: call to undeclared function 'warn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] warn ("error decoding event script line"); ^ ev_ascii.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ascii_to_delay (line) ^ ev_ascii.c:667:5: warning: call to undeclared function 'warn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 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 C2x [-Wdeprecated-non-prototype] ascii_to_x_y_window (line, x, y, window) ^ 29 warnings generated. 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 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] 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] 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] 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] perror (file); ^~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:166:26: note: passing argument to parameter here 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] NextScriptEvent (buf, n) ^ record.c:162:62: warning: format specifies type 'unsigned int' but the argument has type 'XID' (aka 'unsigned long') [-Wformat] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] AnnouncePlaybackError (dpy, erev) ^ record.c:298:1: warning: non-void function does not return a value [-Wreturn-type] } ^ record.c:307:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] SendPlaybackEvent (timer, fd) ^ record.c:337:1: warning: non-void function does not return a value [-Wreturn-type] } ^ record.c:345:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] WarpPlaybackEvent (session_window, fd) ^ record.c:375:1: warning: non-void function does not return a value [-Wreturn-type] } ^ record.c:383:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] TranslatePlaybackEvent (timer, fd) ^ record.c:399:1: warning: non-void function does not return a value [-Wreturn-type] } ^ record.c:408:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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] 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] switch (ascii_to_event_type (script_line)) { ^ record.c:468:40: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] debug(128,(stderr,"%d=delay %s\n", delay2, script_line)); ~~ ^~~~~~ %lu ./scope.h:22:55: note: expanded from macro 'debug' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ReadPlaybackEvent (timer, fd) ^ record.c:472:1: warning: non-void function does not return a value [-Wreturn-type] } ^ record.c:480:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] RecordEvent (fd, buf, n) ^ record.c:520:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 58 warnings generated. 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 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