=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for xscript-19930228nb2 cc -O -Wno-error=return-type -I/usr/pkg/include -I /usr/X11R7/include -I/usr/X11R7/include -c scope.c scope.c:107:3: warning: implicit declaration of function 'enterprocedure' is invalid in C99 [-Wimplicit-function-declaration] enterprocedure("GetServerport"); ^ scope.c:129:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Usage(xscript) ^ scope.c:158:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(1); ^ scope.c:158:3: note: include the header or explicitly provide a declaration for 'exit' scope.c:166:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ScanArgs(argc, argv) ^ scope.c:191:19: warning: implicit declaration of function 'atoi' is invalid in C99 [-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: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:331:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ scope.c:338:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ scope.c:346:3: warning: implicit declaration of function 'InitializeFD' is invalid in C99 [-Wimplicit-function-declaration] InitializeFD(); ^ scope.c:349:3: warning: implicit declaration of function 'InitializeX11' is invalid in C99 [-Wimplicit-function-declaration] InitializeX11(); ^ scope.c:357:3: warning: implicit declaration of function 'SetUpStdin' is invalid in C99 [-Wimplicit-function-declaration] SetUpStdin(); ^ scope.c:359:3: warning: implicit declaration of function 'SetUpConnectionSocket' is invalid in C99 [-Wimplicit-function-declaration] SetUpConnectionSocket(GetScopePort()); ^ scope.c:360:3: warning: implicit declaration of function 'SetSignalHandling' is invalid in C99 [-Wimplicit-function-declaration] SetSignalHandling(); ^ scope.c:362:3: warning: implicit declaration of function 'MainLoop' is invalid in C99 [-Wimplicit-function-declaration] MainLoop(); ^ scope.c:381:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ReadStdin(fd) ^ 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:390:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ scope.c:392:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SetUpStdin() ^ scope.c:395:3: warning: implicit declaration of function 'UsingFD' is invalid in C99 [-Wimplicit-function-declaration] UsingFD(fileno(stdin), ReadStdin); ^ scope.c:396:1: warning: control reaches end of non-void function [-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' [-Wimplicit-int] SetUpPair(client, server) ^ scope.c:442:2: warning: implicit declaration of function 'warn' is invalid in C99 [-Wimplicit-function-declaration] warn ("recording more than one client does not work very well."); ^ scope.c:457:2: warning: implicit declaration of function 'NotUsingFD' is invalid in C99 [-Wimplicit-function-declaration] NotUsingFD(server); ^ scope.c:459:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ scope.c:462:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CloseConnection(fd) ^ scope.c:465:45: warning: implicit declaration of function 'FDPair' is invalid in C99 [-Wimplicit-function-declaration] debug(4,(stderr, "close %d and %d\n", fd, FDPair(fd))); ^ ./scope.h:22:55: note: expanded from macro 'debug' #define debug(n,f) (void)((debuglevel & n) ? (fprintf f,fflush(stderr)) : 0) ^ scope.c:466:3: warning: implicit declaration of function 'StopClientConnection' is invalid in C99 [-Wimplicit-function-declaration] StopClientConnection(ServerHalf(fd)); ^ scope.c:466:24: warning: implicit declaration of function 'ServerHalf' is invalid in C99 [-Wimplicit-function-declaration] StopClientConnection(ServerHalf(fd)); ^ scope.c:467:3: warning: implicit declaration of function 'StopServerConnection' is invalid in C99 [-Wimplicit-function-declaration] StopServerConnection(ClientHalf(fd)); ^ scope.c:467:24: warning: implicit declaration of function 'ClientHalf' is invalid in C99 [-Wimplicit-function-declaration] StopServerConnection(ClientHalf(fd)); ^ scope.c:474:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ scope.c:507:30: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] (void)sprintf(name, " %d", FDinfo[fd].ClientNumber); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %ld 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, ^~~~~ /usr/include/sys/select.h:71:36: 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, ^~~~~ /usr/include/sys/select.h:71:57: 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, ^~~~~ /usr/include/sys/select.h:72:24: note: passing argument to parameter here fd_set * __restrict, struct timeval * __restrict) __RENAME(__select50); ^ 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:544:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DataFromClient(fd) ^ 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: implicit declaration of function 'PrintTime' is invalid in C99 [-Wimplicit-function-declaration] PrintTime(); ^ scope.c:560:7: warning: non-void function 'DataFromClient' should return a value [-Wreturn-type] return; ^ scope.c:577:5: warning: non-void function 'DataFromClient' should return a value [-Wreturn-type] return; ^ scope.c:583:18: warning: implicit declaration of function 'ConnectToServer' is invalid in C99 [-Wimplicit-function-declaration] ServerFD = ConnectToServer(false); ^ scope.c:618:3: warning: implicit declaration of function 'ReportFromClient' is invalid in C99 [-Wimplicit-function-declaration] ReportFromClient(fd, buf, n); ^ scope.c:619:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ scope.c:626:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] WriteToClient (fd, buf, n) ^ scope.c:660:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ scope.c:669:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DataFromServer(fd) ^ 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:684:7: warning: non-void function 'DataFromServer' should return a value [-Wreturn-type] return; ^ 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: implicit declaration of function 'ReportFromServer' is invalid in C99 [-Wimplicit-function-declaration] ReportFromServer(fd, buf, n); ^ scope.c:728:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ scope.c:740:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] NewConnection(fd) ^ scope.c:746:14: warning: implicit declaration of function 'ConnectToClient' is invalid in C99 [-Wimplicit-function-declaration] ClientFD = ConnectToClient(fd); ^ scope.c:749:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 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); ^~~~ /usr/include/sys/socket.h:642:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ scope.c:768:7: warning: implicit declaration of function 'panic' is invalid in C99 [-Wimplicit-function-declaration] panic("Can't connect to Client"); ^ scope.c:792:3: warning: implicit declaration of function 'StartClientConnection' is invalid in C99 [-Wimplicit-function-declaration] StartClientConnection(ClientFD); ^ scope.c:895:7: warning: implicit declaration of function 'StartServerConnection' is invalid in C99 [-Wimplicit-function-declaration] StartServerConnection(ServerFD); ^ scope.c:946:33: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XMappingEvent *' [-Wincompatible-pointer-types] XRefreshKeyboardMapping ( &ev ); ^~~ /usr/pkgsrc/work/x11/xscript/work/.buildlink/include/X11/Xlib.h:3069:1: note: passing argument to parameter here ); ^ 69 warnings generated. rm -f common.o cc -c -O -Wno-error=return-type -I/usr/pkg/include -I /usr/X11R7/include common.c common.c:20:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] enterprocedure(s) ^ common.c:24:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ common.c:26:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] warn(s) ^ common.c:30:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ common.c:32:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] panic(s) ^ common.c:36:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(1); ^ common.c:36:3: note: include the header or explicitly provide a declaration for 'exit' 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 int)' 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:58:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Free(p) ^ 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: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free(p); ^ common.c:63:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ common.c:151:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SetSignalHandling() ^ common.c:165:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ common.c:191:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SetUpConnectionSocket(iport) ^ common.c:284:3: warning: implicit declaration of function 'UsingFD' is invalid in C99 [-Wimplicit-function-declaration] UsingFD(ConnectionSocket, NewConnection); ^ common.c:285:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 18 warnings generated. cc -O -Wno-error=return-type -I/usr/pkg/include -I /usr/X11R7/include -I/usr/X11R7/include -c fd.c fd.c:89:12: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register i = time_compare (t1, t2); ~~~~~~~~ ^ 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 'time_t' (aka 'long 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 'time_t' (aka 'long 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:205:7: warning: implicit declaration of function 'Free' is invalid in C99 [-Wimplicit-function-declaration] Free (n); ^ fd.c:232:7: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long 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 'time_t' (aka 'long 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:258:17: warning: implicit declaration of function 'panic' is invalid in C99 [-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 'time_t' (aka 'long 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' [-Wimplicit-int] InitializeFD() ^ fd.c:280:3: warning: implicit declaration of function 'enterprocedure' is invalid in C99 [-Wimplicit-function-declaration] enterprocedure("InitializeFD"); ^ fd.c:314:3: warning: implicit declaration of function 'UsingFD' is invalid in C99 [-Wimplicit-function-declaration] UsingFD(fileno(stdin), (int (*)())NULL); ^ fd.c:317:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fd.c:321:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] UsingFD(fd, Handler) ^ fd.c:326:5: warning: implicit declaration of function 'NotUsingFD' is invalid in C99 [-Wimplicit-function-declaration] NotUsingFD(fd); ^ fd.c:343:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fd.c:347:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] NotUsingFD(fd) ^ fd.c:362:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fd.c:366:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] EOFonFD(fd) ^ fd.c:373:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fd.c:385:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] 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, ^~~~~ /usr/include/sys/select.h:71:36: 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, ^~~~~ /usr/include/sys/select.h:71:57: 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, ^~~~~ /usr/include/sys/select.h:72:24: note: passing argument to parameter here fd_set * __restrict, struct timeval * __restrict) __RENAME(__select50); ^ 26 warnings generated. cc -O -Wno-error=return-type -I/usr/pkg/include -I /usr/X11R7/include -I/usr/X11R7/include -c server.c In file included from server.c:12: ./x11.h:475:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern PrintString8(); ~~~~~~ ^ ./x11.h:476:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern PrintString16(); ~~~~~~ ^ ./x11.h:477:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern PrintListSTR(); ~~~~~~ ^ server.c:21:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ReportFromClient(fd, buf, n) ^ server.c:27:7: warning: implicit declaration of function 'PrintTime' is invalid in C99 [-Wimplicit-function-declaration] PrintTime(); ^ 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: implicit declaration of function 'ProcessBuffer' is invalid in C99 [-Wimplicit-function-declaration] ProcessBuffer(fd, buf, n); ^ server.c:32:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ server.c:34:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ReportFromServer(fd, buf, n) ^ 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:45:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ server.c:59:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintTime() ^ 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: control reaches end of non-void function [-Wreturn-type] } ^ server.c:195:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SaveBytes(fd, buf, n) ^ server.c:211:4: warning: implicit declaration of function 'Free' is invalid in C99 [-Wimplicit-function-declaration] Free((char *)CS[fd].SavedBytes); ^ server.c:222:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ server.c:224:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] RemoveSavedBytes(fd, n) ^ server.c:232:5: warning: non-void function 'RemoveSavedBytes' should return a value [-Wreturn-type] return; ^ server.c:243:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ server.c:272:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ProcessBuffer(fd, buf, n) ^ server.c:356:3: warning: non-void function 'ProcessBuffer' should return a value [-Wreturn-type] return; ^ server.c:371:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] StartClientConnection(fd) ^ server.c:374:3: warning: implicit declaration of function 'enterprocedure' is invalid in C99 [-Wimplicit-function-declaration] enterprocedure("StartClientConnection"); ^ server.c:381:3: warning: implicit declaration of function 'FlushReplyQ' is invalid in C99 [-Wimplicit-function-declaration] FlushReplyQ(fd); ^ server.c:389:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ server.c:391:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] StopClientConnection(fd) ^ server.c:399:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 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:434:6: warning: implicit declaration of function 'ServerHalf' is invalid in C99 [-Wimplicit-function-declaration] CS[ServerHalf(fd)].littleEndian = CS[fd].littleEndian; ^ server.c:437:5: warning: implicit declaration of function 'PrintSetUpMessage' is invalid in C99 [-Wimplicit-function-declaration] PrintSetUpMessage(buf); ^ 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:475:7: warning: implicit declaration of function 'DecodeRequest' is invalid in C99 [-Wimplicit-function-declaration] DecodeRequest(fd, buf, n); ^ server.c:477:3: warning: implicit declaration of function 'ProcessGrab' is invalid in C99 [-Wimplicit-function-declaration] ProcessGrab (fd, buf, n); ^ server.c:489:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] StartServerConnection(fd) ^ server.c:504:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ server.c:506:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] StopServerConnection(fd) ^ server.c:514:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 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:543:7: warning: implicit declaration of function 'PrintSetUpReply' is invalid in C99 [-Wimplicit-function-declaration] PrintSetUpReply(buf); ^ server.c:546:37: warning: implicit declaration of function 'WriteToClient' is invalid in C99 [-Wimplicit-function-declaration] if (Playback!= PLAYBACK_INACTIVE) WriteToClient (fd, buf, n); ^ server.c:570:3: warning: implicit declaration of function 'DecodeError' is invalid in C99 [-Wimplicit-function-declaration] DecodeError(fd, buf, n); ^ server.c:589:5: warning: implicit declaration of function 'DecodeEvent' is invalid in C99 [-Wimplicit-function-declaration] DecodeEvent(fd, buf, n); ^ server.c:592:5: warning: implicit declaration of function 'RecordEvent' is invalid in C99 [-Wimplicit-function-declaration] RecordEvent(fd, buf, n); ^ server.c:640:5: warning: implicit declaration of function 'panic' is invalid in C99 [-Wimplicit-function-declaration] panic ("bad Playback value."); ^ server.c:699:5: warning: implicit declaration of function 'DecodeReply' is invalid in C99 [-Wimplicit-function-declaration] DecodeReply(fd, buf, n); ^ 46 warnings generated. cc -O -Wno-error=return-type -I/usr/pkg/include -I /usr/X11R7/include -I/usr/X11R7/include -c decode11.c In file included from decode11.c:11: ./x11.h:475:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern PrintString8(); ~~~~~~ ^ ./x11.h:476:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern PrintString16(); ~~~~~~ ^ ./x11.h:477:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern PrintListSTR(); ~~~~~~ ^ decode11.c:94:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] InitReplyQ() ^ decode11.c:102:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ decode11.c:104:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] FlushReplyQ(fd) ^ decode11.c:122:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ decode11.c:125:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DumpReplyQ(fd) ^ 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:136:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ decode11.c:145:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SequencedReplyExpected(fd, SequenceNumber, RequestType) ^ 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: implicit declaration of function 'FDPair' is invalid in C99 [-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:170:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ decode11.c:229:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ReplyExpected(fd, Request) ^ decode11.c:234:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ decode11.c:240:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] KeepLastReplyExpected() ^ decode11.c:243:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ decode11.c:256:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DecodeRequest(fd, buf, n) ^ decode11.c:264:3: warning: implicit declaration of function 'SetIndentLevel' is invalid in C99 [-Wimplicit-function-declaration] SetIndentLevel(PRINTCLIENT); ^ decode11.c:267:5: warning: implicit declaration of function 'DumpItem' is invalid in C99 [-Wimplicit-function-declaration] DumpItem("Request", fd, buf, n); ^ decode11.c:277:6: warning: implicit declaration of function 'warn' is invalid in C99 [-Wimplicit-function-declaration] warn("Extended request opcode"); ^ decode11.c:281:7: warning: implicit declaration of function 'CreateWindow' is invalid in C99 [-Wimplicit-function-declaration] CreateWindow(buf); ^ decode11.c:284:7: warning: implicit declaration of function 'ChangeWindowAttributes' is invalid in C99 [-Wimplicit-function-declaration] ChangeWindowAttributes(buf); ^ decode11.c:287:7: warning: implicit declaration of function 'GetWindowAttributes' is invalid in C99 [-Wimplicit-function-declaration] GetWindowAttributes(buf); ^ decode11.c:291:7: warning: implicit declaration of function 'DestroyWindow' is invalid in C99 [-Wimplicit-function-declaration] DestroyWindow(buf); ^ decode11.c:294:7: warning: implicit declaration of function 'DestroySubwindows' is invalid in C99 [-Wimplicit-function-declaration] DestroySubwindows(buf); ^ decode11.c:297:7: warning: implicit declaration of function 'ChangeSaveSet' is invalid in C99 [-Wimplicit-function-declaration] ChangeSaveSet(buf); ^ decode11.c:300:7: warning: implicit declaration of function 'ReparentWindow' is invalid in C99 [-Wimplicit-function-declaration] ReparentWindow(buf); ^ decode11.c:303:7: warning: implicit declaration of function 'MapWindow' is invalid in C99 [-Wimplicit-function-declaration] MapWindow(buf); ^ decode11.c:306:7: warning: implicit declaration of function 'MapSubwindows' is invalid in C99 [-Wimplicit-function-declaration] MapSubwindows(buf); ^ decode11.c:309:7: warning: implicit declaration of function 'UnmapWindow' is invalid in C99 [-Wimplicit-function-declaration] UnmapWindow(buf); ^ decode11.c:312:7: warning: implicit declaration of function 'UnmapSubwindows' is invalid in C99 [-Wimplicit-function-declaration] UnmapSubwindows(buf); ^ decode11.c:315:7: warning: implicit declaration of function 'ConfigureWindow' is invalid in C99 [-Wimplicit-function-declaration] ConfigureWindow(buf); ^ decode11.c:318:7: warning: implicit declaration of function 'CirculateWindow' is invalid in C99 [-Wimplicit-function-declaration] CirculateWindow(buf); ^ decode11.c:321:7: warning: implicit declaration of function 'GetGeometry' is invalid in C99 [-Wimplicit-function-declaration] GetGeometry(buf); ^ decode11.c:325:7: warning: implicit declaration of function 'QueryTree' is invalid in C99 [-Wimplicit-function-declaration] QueryTree(buf); ^ decode11.c:329:7: warning: implicit declaration of function 'InternAtom' is invalid in C99 [-Wimplicit-function-declaration] InternAtom(buf); ^ decode11.c:333:7: warning: implicit declaration of function 'GetAtomName' is invalid in C99 [-Wimplicit-function-declaration] GetAtomName(buf); ^ decode11.c:337:7: warning: implicit declaration of function 'ChangeProperty' is invalid in C99 [-Wimplicit-function-declaration] ChangeProperty(buf); ^ decode11.c:340:7: warning: implicit declaration of function 'DeleteProperty' is invalid in C99 [-Wimplicit-function-declaration] DeleteProperty(buf); ^ decode11.c:343:7: warning: implicit declaration of function 'GetProperty' is invalid in C99 [-Wimplicit-function-declaration] GetProperty(buf); ^ decode11.c:347:7: warning: implicit declaration of function 'ListProperties' is invalid in C99 [-Wimplicit-function-declaration] ListProperties(buf); ^ decode11.c:351:7: warning: implicit declaration of function 'SetSelectionOwner' is invalid in C99 [-Wimplicit-function-declaration] SetSelectionOwner(buf); ^ decode11.c:354:7: warning: implicit declaration of function 'GetSelectionOwner' is invalid in C99 [-Wimplicit-function-declaration] GetSelectionOwner(buf); ^ decode11.c:358:7: warning: implicit declaration of function 'ConvertSelection' is invalid in C99 [-Wimplicit-function-declaration] ConvertSelection(buf); ^ decode11.c:361:7: warning: implicit declaration of function 'SendEvent' is invalid in C99 [-Wimplicit-function-declaration] SendEvent(buf); ^ decode11.c:364:7: warning: implicit declaration of function 'GrabPointer' is invalid in C99 [-Wimplicit-function-declaration] GrabPointer(buf); ^ decode11.c:368:7: warning: implicit declaration of function 'UngrabPointer' is invalid in C99 [-Wimplicit-function-declaration] UngrabPointer(buf); ^ decode11.c:371:7: warning: implicit declaration of function 'GrabButton' is invalid in C99 [-Wimplicit-function-declaration] GrabButton(buf); ^ decode11.c:374:7: warning: implicit declaration of function 'UngrabButton' is invalid in C99 [-Wimplicit-function-declaration] UngrabButton(buf); ^ decode11.c:377:7: warning: implicit declaration of function 'ChangeActivePointerGrab' is invalid in C99 [-Wimplicit-function-declaration] ChangeActivePointerGrab(buf); ^ decode11.c:380:7: warning: implicit declaration of function 'GrabKeyboard' is invalid in C99 [-Wimplicit-function-declaration] GrabKeyboard(buf); ^ decode11.c:384:7: warning: implicit declaration of function 'UngrabKeyboard' is invalid in C99 [-Wimplicit-function-declaration] UngrabKeyboard(buf); ^ decode11.c:387:7: warning: implicit declaration of function 'GrabKey' is invalid in C99 [-Wimplicit-function-declaration] GrabKey(buf); ^ decode11.c:390:7: warning: implicit declaration of function 'UngrabKey' is invalid in C99 [-Wimplicit-function-declaration] UngrabKey(buf); ^ decode11.c:393:7: warning: implicit declaration of function 'AllowEvents' is invalid in C99 [-Wimplicit-function-declaration] AllowEvents(buf); ^ decode11.c:396:7: warning: implicit declaration of function 'GrabServer' is invalid in C99 [-Wimplicit-function-declaration] GrabServer(buf); ^ decode11.c:399:7: warning: implicit declaration of function 'UngrabServer' is invalid in C99 [-Wimplicit-function-declaration] UngrabServer(buf); ^ decode11.c:402:7: warning: implicit declaration of function 'QueryPointer' is invalid in C99 [-Wimplicit-function-declaration] QueryPointer(buf); ^ decode11.c:406:7: warning: implicit declaration of function 'GetMotionEvents' is invalid in C99 [-Wimplicit-function-declaration] GetMotionEvents(buf); ^ decode11.c:410:7: warning: implicit declaration of function 'TranslateCoordinates' is invalid in C99 [-Wimplicit-function-declaration] TranslateCoordinates(buf); ^ decode11.c:414:7: warning: implicit declaration of function 'WarpPointer' is invalid in C99 [-Wimplicit-function-declaration] WarpPointer(buf); ^ decode11.c:417:7: warning: implicit declaration of function 'SetInputFocus' is invalid in C99 [-Wimplicit-function-declaration] SetInputFocus(buf); ^ decode11.c:420:7: warning: implicit declaration of function 'GetInputFocus' is invalid in C99 [-Wimplicit-function-declaration] GetInputFocus(buf); ^ decode11.c:424:7: warning: implicit declaration of function 'QueryKeymap' is invalid in C99 [-Wimplicit-function-declaration] QueryKeymap(buf); ^ decode11.c:428:7: warning: implicit declaration of function 'OpenFont' is invalid in C99 [-Wimplicit-function-declaration] OpenFont(buf); ^ decode11.c:431:7: warning: implicit declaration of function 'CloseFont' is invalid in C99 [-Wimplicit-function-declaration] CloseFont(buf); ^ decode11.c:434:7: warning: implicit declaration of function 'QueryFont' is invalid in C99 [-Wimplicit-function-declaration] QueryFont(buf); ^ decode11.c:438:7: warning: implicit declaration of function 'QueryTextExtents' is invalid in C99 [-Wimplicit-function-declaration] QueryTextExtents(buf); ^ decode11.c:442:7: warning: implicit declaration of function 'ListFonts' is invalid in C99 [-Wimplicit-function-declaration] ListFonts(buf); ^ decode11.c:446:7: warning: implicit declaration of function 'ListFontsWithInfo' is invalid in C99 [-Wimplicit-function-declaration] ListFontsWithInfo(buf); ^ decode11.c:450:7: warning: implicit declaration of function 'SetFontPath' is invalid in C99 [-Wimplicit-function-declaration] SetFontPath(buf); ^ decode11.c:453:7: warning: implicit declaration of function 'GetFontPath' is invalid in C99 [-Wimplicit-function-declaration] GetFontPath(buf); ^ decode11.c:457:7: warning: implicit declaration of function 'CreatePixmap' is invalid in C99 [-Wimplicit-function-declaration] CreatePixmap(buf); ^ decode11.c:460:7: warning: implicit declaration of function 'FreePixmap' is invalid in C99 [-Wimplicit-function-declaration] FreePixmap(buf); ^ decode11.c:463:7: warning: implicit declaration of function 'CreateGC' is invalid in C99 [-Wimplicit-function-declaration] CreateGC(buf); ^ decode11.c:466:7: warning: implicit declaration of function 'ChangeGC' is invalid in C99 [-Wimplicit-function-declaration] ChangeGC(buf); ^ decode11.c:469:7: warning: implicit declaration of function 'CopyGC' is invalid in C99 [-Wimplicit-function-declaration] CopyGC(buf); ^ decode11.c:472:7: warning: implicit declaration of function 'SetDashes' is invalid in C99 [-Wimplicit-function-declaration] SetDashes(buf); ^ decode11.c:475:7: warning: implicit declaration of function 'SetClipRectangles' is invalid in C99 [-Wimplicit-function-declaration] SetClipRectangles(buf); ^ decode11.c:478:7: warning: implicit declaration of function 'FreeGC' is invalid in C99 [-Wimplicit-function-declaration] FreeGC(buf); ^ decode11.c:481:7: warning: implicit declaration of function 'ClearArea' is invalid in C99 [-Wimplicit-function-declaration] ClearArea(buf); ^ decode11.c:484:7: warning: implicit declaration of function 'CopyArea' is invalid in C99 [-Wimplicit-function-declaration] CopyArea(buf); ^ decode11.c:487:7: warning: implicit declaration of function 'CopyPlane' is invalid in C99 [-Wimplicit-function-declaration] CopyPlane(buf); ^ decode11.c:490:7: warning: implicit declaration of function 'PolyPoint' is invalid in C99 [-Wimplicit-function-declaration] PolyPoint(buf); ^ decode11.c:493:7: warning: implicit declaration of function 'PolyLine' is invalid in C99 [-Wimplicit-function-declaration] PolyLine(buf); ^ decode11.c:496:7: warning: implicit declaration of function 'PolySegment' is invalid in C99 [-Wimplicit-function-declaration] PolySegment(buf); ^ decode11.c:499:7: warning: implicit declaration of function 'PolyRectangle' is invalid in C99 [-Wimplicit-function-declaration] PolyRectangle(buf); ^ decode11.c:502:7: warning: implicit declaration of function 'PolyArc' is invalid in C99 [-Wimplicit-function-declaration] PolyArc(buf); ^ decode11.c:505:7: warning: implicit declaration of function 'FillPoly' is invalid in C99 [-Wimplicit-function-declaration] FillPoly(buf); ^ decode11.c:508:7: warning: implicit declaration of function 'PolyFillRectangle' is invalid in C99 [-Wimplicit-function-declaration] PolyFillRectangle(buf); ^ decode11.c:511:7: warning: implicit declaration of function 'PolyFillArc' is invalid in C99 [-Wimplicit-function-declaration] PolyFillArc(buf); ^ decode11.c:514:7: warning: implicit declaration of function 'PutImage' is invalid in C99 [-Wimplicit-function-declaration] PutImage(buf); ^ decode11.c:517:7: warning: implicit declaration of function 'GetImage' is invalid in C99 [-Wimplicit-function-declaration] GetImage(buf); ^ decode11.c:521:7: warning: implicit declaration of function 'PolyText8' is invalid in C99 [-Wimplicit-function-declaration] PolyText8(buf); ^ decode11.c:524:7: warning: implicit declaration of function 'PolyText16' is invalid in C99 [-Wimplicit-function-declaration] PolyText16(buf); ^ decode11.c:527:7: warning: implicit declaration of function 'ImageText8' is invalid in C99 [-Wimplicit-function-declaration] ImageText8(buf); ^ decode11.c:530:7: warning: implicit declaration of function 'ImageText16' is invalid in C99 [-Wimplicit-function-declaration] ImageText16(buf); ^ decode11.c:533:7: warning: implicit declaration of function 'CreateColormap' is invalid in C99 [-Wimplicit-function-declaration] CreateColormap(buf); ^ decode11.c:536:7: warning: implicit declaration of function 'FreeColormap' is invalid in C99 [-Wimplicit-function-declaration] FreeColormap(buf); ^ decode11.c:539:7: warning: implicit declaration of function 'CopyColormapAndFree' is invalid in C99 [-Wimplicit-function-declaration] CopyColormapAndFree(buf); ^ decode11.c:542:7: warning: implicit declaration of function 'InstallColormap' is invalid in C99 [-Wimplicit-function-declaration] InstallColormap(buf); ^ decode11.c:545:7: warning: implicit declaration of function 'UninstallColormap' is invalid in C99 [-Wimplicit-function-declaration] UninstallColormap(buf); ^ decode11.c:548:7: warning: implicit declaration of function 'ListInstalledColormaps' is invalid in C99 [-Wimplicit-function-declaration] ListInstalledColormaps(buf); ^ decode11.c:552:7: warning: implicit declaration of function 'AllocColor' is invalid in C99 [-Wimplicit-function-declaration] AllocColor(buf); ^ decode11.c:556:7: warning: implicit declaration of function 'AllocNamedColor' is invalid in C99 [-Wimplicit-function-declaration] AllocNamedColor(buf); ^ decode11.c:560:7: warning: implicit declaration of function 'AllocColorCells' is invalid in C99 [-Wimplicit-function-declaration] AllocColorCells(buf); ^ decode11.c:564:7: warning: implicit declaration of function 'AllocColorPlanes' is invalid in C99 [-Wimplicit-function-declaration] AllocColorPlanes(buf); ^ decode11.c:568:7: warning: implicit declaration of function 'FreeColors' is invalid in C99 [-Wimplicit-function-declaration] FreeColors(buf); ^ decode11.c:571:7: warning: implicit declaration of function 'StoreColors' is invalid in C99 [-Wimplicit-function-declaration] StoreColors(buf); ^ decode11.c:574:7: warning: implicit declaration of function 'StoreNamedColor' is invalid in C99 [-Wimplicit-function-declaration] StoreNamedColor(buf); ^ decode11.c:577:7: warning: implicit declaration of function 'QueryColors' is invalid in C99 [-Wimplicit-function-declaration] QueryColors(buf); ^ decode11.c:581:7: warning: implicit declaration of function 'LookupColor' is invalid in C99 [-Wimplicit-function-declaration] LookupColor(buf); ^ decode11.c:585:7: warning: implicit declaration of function 'CreateCursor' is invalid in C99 [-Wimplicit-function-declaration] CreateCursor(buf); ^ decode11.c:588:7: warning: implicit declaration of function 'CreateGlyphCursor' is invalid in C99 [-Wimplicit-function-declaration] CreateGlyphCursor(buf); ^ decode11.c:591:7: warning: implicit declaration of function 'FreeCursor' is invalid in C99 [-Wimplicit-function-declaration] FreeCursor(buf); ^ decode11.c:594:7: warning: implicit declaration of function 'RecolorCursor' is invalid in C99 [-Wimplicit-function-declaration] RecolorCursor(buf); ^ decode11.c:597:7: warning: implicit declaration of function 'QueryBestSize' is invalid in C99 [-Wimplicit-function-declaration] QueryBestSize(buf); ^ decode11.c:601:7: warning: implicit declaration of function 'QueryExtension' is invalid in C99 [-Wimplicit-function-declaration] QueryExtension(buf); ^ decode11.c:611:7: warning: implicit declaration of function 'ListExtensions' is invalid in C99 [-Wimplicit-function-declaration] ListExtensions(buf); ^ decode11.c:615:7: warning: implicit declaration of function 'ChangeKeyboardMapping' is invalid in C99 [-Wimplicit-function-declaration] ChangeKeyboardMapping(buf); ^ decode11.c:618:7: warning: implicit declaration of function 'GetKeyboardMapping' is invalid in C99 [-Wimplicit-function-declaration] GetKeyboardMapping(buf); ^ decode11.c:622:7: warning: implicit declaration of function 'ChangeKeyboardControl' is invalid in C99 [-Wimplicit-function-declaration] ChangeKeyboardControl(buf); ^ decode11.c:625:7: warning: implicit declaration of function 'GetKeyboardControl' is invalid in C99 [-Wimplicit-function-declaration] GetKeyboardControl(buf); ^ decode11.c:629:7: warning: implicit declaration of function 'Bell' is invalid in C99 [-Wimplicit-function-declaration] Bell(buf); ^ decode11.c:632:7: warning: implicit declaration of function 'ChangePointerControl' is invalid in C99 [-Wimplicit-function-declaration] ChangePointerControl(buf); ^ decode11.c:635:7: warning: implicit declaration of function 'GetPointerControl' is invalid in C99 [-Wimplicit-function-declaration] GetPointerControl(buf); ^ decode11.c:639:7: warning: implicit declaration of function 'SetScreenSaver' is invalid in C99 [-Wimplicit-function-declaration] SetScreenSaver(buf); ^ decode11.c:642:7: warning: implicit declaration of function 'GetScreenSaver' is invalid in C99 [-Wimplicit-function-declaration] GetScreenSaver(buf); ^ decode11.c:646:7: warning: implicit declaration of function 'ChangeHosts' is invalid in C99 [-Wimplicit-function-declaration] ChangeHosts(buf); ^ decode11.c:649:7: warning: implicit declaration of function 'ListHosts' is invalid in C99 [-Wimplicit-function-declaration] ListHosts(buf); ^ decode11.c:653:7: warning: implicit declaration of function 'SetAccessControl' is invalid in C99 [-Wimplicit-function-declaration] SetAccessControl(buf); ^ decode11.c:656:7: warning: implicit declaration of function 'SetCloseDownMode' is invalid in C99 [-Wimplicit-function-declaration] SetCloseDownMode(buf); ^ decode11.c:659:7: warning: implicit declaration of function 'KillClient' is invalid in C99 [-Wimplicit-function-declaration] KillClient(buf); ^ decode11.c:662:7: warning: implicit declaration of function 'RotateProperties' is invalid in C99 [-Wimplicit-function-declaration] RotateProperties(buf); ^ decode11.c:665:7: warning: implicit declaration of function 'ForceScreenSaver' is invalid in C99 [-Wimplicit-function-declaration] ForceScreenSaver(buf); ^ decode11.c:668:7: warning: implicit declaration of function 'SetPointerMapping' is invalid in C99 [-Wimplicit-function-declaration] SetPointerMapping(buf); ^ decode11.c:672:7: warning: implicit declaration of function 'GetPointerMapping' is invalid in C99 [-Wimplicit-function-declaration] GetPointerMapping(buf); ^ decode11.c:676:7: warning: implicit declaration of function 'SetModifierMapping' is invalid in C99 [-Wimplicit-function-declaration] SetModifierMapping(buf); ^ decode11.c:680:7: warning: implicit declaration of function 'GetModifierMapping' is invalid in C99 [-Wimplicit-function-declaration] GetModifierMapping(buf); ^ decode11.c:684:7: warning: implicit declaration of function 'NoOperation' is invalid in C99 [-Wimplicit-function-declaration] NoOperation(buf); ^ decode11.c:690:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ decode11.c:693:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GrabTimeoutProc (timer, message) ^ decode11.c:705:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] GrabTimeout); ^~~~~~~~~~~ decode11.c:710:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit (1); ^ decode11.c:710:3: note: include the header or explicitly provide a declaration for 'exit' decode11.c:828:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DecodeReply(fd, buf, n) ^ decode11.c:838:7: warning: non-void function 'DecodeReply' should return a value [-Wreturn-type] return; ^ decode11.c:858:7: warning: implicit declaration of function 'GetWindowAttributesReply' is invalid in C99 [-Wimplicit-function-declaration] GetWindowAttributesReply(buf); ^ decode11.c:861:7: warning: implicit declaration of function 'GetGeometryReply' is invalid in C99 [-Wimplicit-function-declaration] GetGeometryReply(buf); ^ decode11.c:864:7: warning: implicit declaration of function 'QueryTreeReply' is invalid in C99 [-Wimplicit-function-declaration] QueryTreeReply(buf); ^ decode11.c:867:7: warning: implicit declaration of function 'InternAtomReply' is invalid in C99 [-Wimplicit-function-declaration] InternAtomReply(buf); ^ decode11.c:870:7: warning: implicit declaration of function 'GetAtomNameReply' is invalid in C99 [-Wimplicit-function-declaration] GetAtomNameReply(buf); ^ decode11.c:873:7: warning: implicit declaration of function 'GetPropertyReply' is invalid in C99 [-Wimplicit-function-declaration] GetPropertyReply(buf); ^ decode11.c:876:7: warning: implicit declaration of function 'ListPropertiesReply' is invalid in C99 [-Wimplicit-function-declaration] ListPropertiesReply(buf); ^ decode11.c:879:7: warning: implicit declaration of function 'GetSelectionOwnerReply' is invalid in C99 [-Wimplicit-function-declaration] GetSelectionOwnerReply(buf); ^ decode11.c:882:7: warning: implicit declaration of function 'GrabPointerReply' is invalid in C99 [-Wimplicit-function-declaration] GrabPointerReply(buf); ^ decode11.c:885:7: warning: implicit declaration of function 'GrabKeyboardReply' is invalid in C99 [-Wimplicit-function-declaration] GrabKeyboardReply(buf); ^ decode11.c:888:7: warning: implicit declaration of function 'QueryPointerReply' is invalid in C99 [-Wimplicit-function-declaration] QueryPointerReply(buf); ^ decode11.c:891:7: warning: implicit declaration of function 'GetMotionEventsReply' is invalid in C99 [-Wimplicit-function-declaration] GetMotionEventsReply(buf); ^ decode11.c:894:7: warning: implicit declaration of function 'TranslateCoordinatesReply' is invalid in C99 [-Wimplicit-function-declaration] TranslateCoordinatesReply(buf); ^ decode11.c:897:7: warning: implicit declaration of function 'GetInputFocusReply' is invalid in C99 [-Wimplicit-function-declaration] GetInputFocusReply(buf); ^ decode11.c:900:7: warning: implicit declaration of function 'QueryKeymapReply' is invalid in C99 [-Wimplicit-function-declaration] QueryKeymapReply(buf); ^ decode11.c:903:7: warning: implicit declaration of function 'QueryFontReply' is invalid in C99 [-Wimplicit-function-declaration] QueryFontReply(buf); ^ decode11.c:906:7: warning: implicit declaration of function 'QueryTextExtentsReply' is invalid in C99 [-Wimplicit-function-declaration] QueryTextExtentsReply(buf); ^ decode11.c:909:7: warning: implicit declaration of function 'ListFontsReply' is invalid in C99 [-Wimplicit-function-declaration] ListFontsReply(buf); ^ decode11.c:912:7: warning: implicit declaration of function 'ListFontsWithInfoReply' is invalid in C99 [-Wimplicit-function-declaration] ListFontsWithInfoReply(buf); ^ decode11.c:915:7: warning: implicit declaration of function 'GetFontPathReply' is invalid in C99 [-Wimplicit-function-declaration] GetFontPathReply(buf); ^ decode11.c:918:7: warning: implicit declaration of function 'GetImageReply' is invalid in C99 [-Wimplicit-function-declaration] GetImageReply(buf); ^ decode11.c:921:7: warning: implicit declaration of function 'ListInstalledColormapsReply' is invalid in C99 [-Wimplicit-function-declaration] ListInstalledColormapsReply(buf); ^ decode11.c:924:7: warning: implicit declaration of function 'AllocColorReply' is invalid in C99 [-Wimplicit-function-declaration] AllocColorReply(buf); ^ decode11.c:927:7: warning: implicit declaration of function 'AllocNamedColorReply' is invalid in C99 [-Wimplicit-function-declaration] AllocNamedColorReply(buf); ^ decode11.c:930:7: warning: implicit declaration of function 'AllocColorCellsReply' is invalid in C99 [-Wimplicit-function-declaration] AllocColorCellsReply(buf); ^ decode11.c:933:7: warning: implicit declaration of function 'AllocColorPlanesReply' is invalid in C99 [-Wimplicit-function-declaration] AllocColorPlanesReply(buf); ^ decode11.c:936:7: warning: implicit declaration of function 'QueryColorsReply' is invalid in C99 [-Wimplicit-function-declaration] QueryColorsReply(buf); ^ decode11.c:939:7: warning: implicit declaration of function 'LookupColorReply' is invalid in C99 [-Wimplicit-function-declaration] LookupColorReply(buf); ^ decode11.c:942:7: warning: implicit declaration of function 'QueryBestSizeReply' is invalid in C99 [-Wimplicit-function-declaration] QueryBestSizeReply(buf); ^ decode11.c:945:7: warning: implicit declaration of function 'QueryExtensionReply' is invalid in C99 [-Wimplicit-function-declaration] QueryExtensionReply(buf); ^ decode11.c:948:7: warning: implicit declaration of function 'ListExtensionsReply' is invalid in C99 [-Wimplicit-function-declaration] ListExtensionsReply(buf); ^ decode11.c:951:7: warning: implicit declaration of function 'GetKeyboardMappingReply' is invalid in C99 [-Wimplicit-function-declaration] GetKeyboardMappingReply(buf); ^ decode11.c:954:7: warning: implicit declaration of function 'GetKeyboardControlReply' is invalid in C99 [-Wimplicit-function-declaration] GetKeyboardControlReply(buf); ^ decode11.c:957:7: warning: implicit declaration of function 'GetPointerControlReply' is invalid in C99 [-Wimplicit-function-declaration] GetPointerControlReply(buf); ^ decode11.c:960:7: warning: implicit declaration of function 'GetScreenSaverReply' is invalid in C99 [-Wimplicit-function-declaration] GetScreenSaverReply(buf); ^ decode11.c:963:7: warning: implicit declaration of function 'ListHostsReply' is invalid in C99 [-Wimplicit-function-declaration] ListHostsReply(buf); ^ decode11.c:966:7: warning: implicit declaration of function 'SetPointerMappingReply' is invalid in C99 [-Wimplicit-function-declaration] SetPointerMappingReply(buf); ^ decode11.c:969:7: warning: implicit declaration of function 'GetPointerMappingReply' is invalid in C99 [-Wimplicit-function-declaration] GetPointerMappingReply(buf); ^ decode11.c:972:7: warning: implicit declaration of function 'SetModifierMappingReply' is invalid in C99 [-Wimplicit-function-declaration] SetModifierMappingReply(buf); ^ decode11.c:975:7: warning: implicit declaration of function 'GetModifierMappingReply' is invalid in C99 [-Wimplicit-function-declaration] GetModifierMappingReply(buf); ^ decode11.c:981:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ decode11.c:988:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DecodeError(fd, buf, n) ^ decode11.c:1003:7: warning: implicit declaration of function 'RequestError' is invalid in C99 [-Wimplicit-function-declaration] RequestError(buf); ^ decode11.c:1006:7: warning: implicit declaration of function 'ValueError' is invalid in C99 [-Wimplicit-function-declaration] ValueError(buf); ^ decode11.c:1009:7: warning: implicit declaration of function 'WindowError' is invalid in C99 [-Wimplicit-function-declaration] WindowError(buf); ^ decode11.c:1012:7: warning: implicit declaration of function 'PixmapError' is invalid in C99 [-Wimplicit-function-declaration] PixmapError(buf); ^ decode11.c:1015:7: warning: implicit declaration of function 'AtomError' is invalid in C99 [-Wimplicit-function-declaration] AtomError(buf); ^ decode11.c:1018:7: warning: implicit declaration of function 'CursorError' is invalid in C99 [-Wimplicit-function-declaration] CursorError(buf); ^ decode11.c:1021:7: warning: implicit declaration of function 'FontError' is invalid in C99 [-Wimplicit-function-declaration] FontError(buf); ^ decode11.c:1024:7: warning: implicit declaration of function 'MatchError' is invalid in C99 [-Wimplicit-function-declaration] MatchError(buf); ^ decode11.c:1027:7: warning: implicit declaration of function 'DrawableError' is invalid in C99 [-Wimplicit-function-declaration] DrawableError(buf); ^ decode11.c:1030:7: warning: implicit declaration of function 'AccessError' is invalid in C99 [-Wimplicit-function-declaration] AccessError(buf); ^ decode11.c:1033:7: warning: implicit declaration of function 'AllocError' is invalid in C99 [-Wimplicit-function-declaration] AllocError(buf); ^ decode11.c:1036:7: warning: implicit declaration of function 'ColormapError' is invalid in C99 [-Wimplicit-function-declaration] ColormapError(buf); ^ decode11.c:1039:7: warning: implicit declaration of function 'GContextError' is invalid in C99 [-Wimplicit-function-declaration] GContextError(buf); ^ decode11.c:1042:7: warning: implicit declaration of function 'IDChoiceError' is invalid in C99 [-Wimplicit-function-declaration] IDChoiceError(buf); ^ decode11.c:1045:7: warning: implicit declaration of function 'NameError' is invalid in C99 [-Wimplicit-function-declaration] NameError(buf); ^ decode11.c:1048:7: warning: implicit declaration of function 'LengthError' is invalid in C99 [-Wimplicit-function-declaration] LengthError(buf); ^ decode11.c:1051:7: warning: implicit declaration of function 'ImplementationError' is invalid in C99 [-Wimplicit-function-declaration] ImplementationError(buf); ^ decode11.c:1057:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ decode11.c:1064:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DecodeEvent(fd, buf, n) ^ decode11.c:1084:7: warning: implicit declaration of function 'KeyPressEvent' is invalid in C99 [-Wimplicit-function-declaration] KeyPressEvent(buf); ^ decode11.c:1087:7: warning: implicit declaration of function 'KeyReleaseEvent' is invalid in C99 [-Wimplicit-function-declaration] KeyReleaseEvent(buf); ^ decode11.c:1090:7: warning: implicit declaration of function 'ButtonPressEvent' is invalid in C99 [-Wimplicit-function-declaration] ButtonPressEvent(buf); ^ decode11.c:1093:7: warning: implicit declaration of function 'ButtonReleaseEvent' is invalid in C99 [-Wimplicit-function-declaration] ButtonReleaseEvent(buf); ^ decode11.c:1096:7: warning: implicit declaration of function 'MotionNotifyEvent' is invalid in C99 [-Wimplicit-function-declaration] MotionNotifyEvent(buf); ^ decode11.c:1099:7: warning: implicit declaration of function 'EnterNotifyEvent' is invalid in C99 [-Wimplicit-function-declaration] EnterNotifyEvent(buf); ^ decode11.c:1102:7: warning: implicit declaration of function 'LeaveNotifyEvent' is invalid in C99 [-Wimplicit-function-declaration] LeaveNotifyEvent(buf); ^ decode11.c:1105:7: warning: implicit declaration of function 'FocusInEvent' is invalid in C99 [-Wimplicit-function-declaration] FocusInEvent(buf); ^ decode11.c:1108:7: warning: implicit declaration of function 'FocusOutEvent' is invalid in C99 [-Wimplicit-function-declaration] FocusOutEvent(buf); ^ decode11.c:1111:7: warning: implicit declaration of function 'KeymapNotifyEvent' is invalid in C99 [-Wimplicit-function-declaration] KeymapNotifyEvent(buf); ^ decode11.c:1114:7: warning: implicit declaration of function 'ExposeEvent' is invalid in C99 [-Wimplicit-function-declaration] ExposeEvent(buf); ^ decode11.c:1117:7: warning: implicit declaration of function 'GraphicsExposureEvent' is invalid in C99 [-Wimplicit-function-declaration] GraphicsExposureEvent(buf); ^ decode11.c:1120:7: warning: implicit declaration of function 'NoExposureEvent' is invalid in C99 [-Wimplicit-function-declaration] NoExposureEvent(buf); ^ decode11.c:1123:7: warning: implicit declaration of function 'VisibilityNotifyEvent' is invalid in C99 [-Wimplicit-function-declaration] VisibilityNotifyEvent(buf); ^ decode11.c:1126:7: warning: implicit declaration of function 'CreateNotifyEvent' is invalid in C99 [-Wimplicit-function-declaration] CreateNotifyEvent(buf); ^ decode11.c:1129:7: warning: implicit declaration of function 'DestroyNotifyEvent' is invalid in C99 [-Wimplicit-function-declaration] DestroyNotifyEvent(buf); ^ decode11.c:1132:7: warning: implicit declaration of function 'UnmapNotifyEvent' is invalid in C99 [-Wimplicit-function-declaration] UnmapNotifyEvent(buf); ^ decode11.c:1135:7: warning: implicit declaration of function 'MapNotifyEvent' is invalid in C99 [-Wimplicit-function-declaration] MapNotifyEvent(buf); ^ decode11.c:1138:7: warning: implicit declaration of function 'MapRequestEvent' is invalid in C99 [-Wimplicit-function-declaration] MapRequestEvent(buf); ^ decode11.c:1141:7: warning: implicit declaration of function 'ReparentNotifyEvent' is invalid in C99 [-Wimplicit-function-declaration] ReparentNotifyEvent(buf); ^ decode11.c:1144:7: warning: implicit declaration of function 'ConfigureNotifyEvent' is invalid in C99 [-Wimplicit-function-declaration] ConfigureNotifyEvent(buf); ^ decode11.c:1147:7: warning: implicit declaration of function 'ConfigureRequestEvent' is invalid in C99 [-Wimplicit-function-declaration] ConfigureRequestEvent(buf); ^ decode11.c:1150:7: warning: implicit declaration of function 'GravityNotifyEvent' is invalid in C99 [-Wimplicit-function-declaration] GravityNotifyEvent(buf); ^ decode11.c:1153:7: warning: implicit declaration of function 'ResizeRequestEvent' is invalid in C99 [-Wimplicit-function-declaration] ResizeRequestEvent(buf); ^ decode11.c:1156:7: warning: implicit declaration of function 'CirculateNotifyEvent' is invalid in C99 [-Wimplicit-function-declaration] CirculateNotifyEvent(buf); ^ decode11.c:1159:7: warning: implicit declaration of function 'CirculateRequestEvent' is invalid in C99 [-Wimplicit-function-declaration] CirculateRequestEvent(buf); ^ decode11.c:1162:7: warning: implicit declaration of function 'PropertyNotifyEvent' is invalid in C99 [-Wimplicit-function-declaration] PropertyNotifyEvent(buf); ^ decode11.c:1165:7: warning: implicit declaration of function 'SelectionClearEvent' is invalid in C99 [-Wimplicit-function-declaration] SelectionClearEvent(buf); ^ decode11.c:1168:7: warning: implicit declaration of function 'SelectionRequestEvent' is invalid in C99 [-Wimplicit-function-declaration] SelectionRequestEvent(buf); ^ decode11.c:1171:7: warning: implicit declaration of function 'SelectionNotifyEvent' is invalid in C99 [-Wimplicit-function-declaration] SelectionNotifyEvent(buf); ^ decode11.c:1174:7: warning: implicit declaration of function 'ColormapNotifyEvent' is invalid in C99 [-Wimplicit-function-declaration] ColormapNotifyEvent(buf); ^ decode11.c:1177:7: warning: implicit declaration of function 'ClientMessageEvent' is invalid in C99 [-Wimplicit-function-declaration] ClientMessageEvent(buf); ^ decode11.c:1180:7: warning: implicit declaration of function 'MappingNotifyEvent' is invalid in C99 [-Wimplicit-function-declaration] MappingNotifyEvent(buf); ^ decode11.c:1186:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ decode11.c:1224:5: warning: implicit declaration of function 'WindowStatusAnnounce' is invalid in C99 [-Wimplicit-function-declaration] WindowStatusAnnounce (fd, buf, 12, RES_Mapped); ^ 250 warnings generated. cc -O -Wno-error=return-type -I/usr/pkg/include -I /usr/X11R7/include -I/usr/X11R7/include -c table11.c In file included from table11.c:11: ./x11.h:475:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern PrintString8(); ~~~~~~ ^ ./x11.h:476:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern PrintString16(); ~~~~~~ ^ ./x11.h:477:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern PrintListSTR(); ~~~~~~ ^ table11.c:42:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] InitializeX11() ^ table11.c:44:3: warning: implicit declaration of function 'InitReplyQ' is invalid in C99 [-Wimplicit-function-declaration] InitReplyQ(); ^ table11.c:46:3: warning: implicit declaration of function 'InitBuiltInTypes' is invalid in C99 [-Wimplicit-function-declaration] InitBuiltInTypes(); ^ table11.c:47:3: warning: implicit declaration of function 'InitEnumeratedTypes' is invalid in C99 [-Wimplicit-function-declaration] InitEnumeratedTypes(); ^ table11.c:48:3: warning: implicit declaration of function 'InitSetTypes' is invalid in C99 [-Wimplicit-function-declaration] InitSetTypes(); ^ table11.c:49:3: warning: implicit declaration of function 'InitValuesTypes' is invalid in C99 [-Wimplicit-function-declaration] InitValuesTypes(); ^ table11.c:50:3: warning: implicit declaration of function 'InitRecordTypes' is invalid in C99 [-Wimplicit-function-declaration] InitRecordTypes(); ^ table11.c:51:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ table11.c:76:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DefineEValue(type, value, name) ^ table11.c:104:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ table11.c:114:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DefineValues(type, value, length, ctype, name) ^ table11.c:143:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ table11.c:149:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] InitBuiltInTypes() ^ table11.c:186:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ table11.c:193:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] InitEnumeratedTypes() ^ table11.c:716:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ table11.c:723:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] InitSetTypes() ^ table11.c:816:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ table11.c:826:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintCHAR2B(buf) ^ table11.c:829:3: warning: implicit declaration of function 'PrintField' is invalid in C99 [-Wimplicit-function-declaration] PrintField(buf, 0, 1, CARD8, "byte1"); ^ table11.c:831:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ table11.c:833:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintPOINT(buf) ^ table11.c:841:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintRECTANGLE(buf) ^ table11.c:851:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintARC(buf) ^ table11.c:863:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintHOST(buf) ^ table11.c:874:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintTIMECOORD(buf) ^ table11.c:883:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintFONTPROP(buf) ^ table11.c:891:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintCHARINFO(buf) ^ table11.c:903:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintSEGMENT(buf) ^ table11.c:913:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintCOLORITEM(buf) ^ table11.c:924:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintRGB(buf) ^ table11.c:933:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintFORMAT(buf) ^ table11.c:942:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintSCREEN(buf) ^ table11.c:969:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintDEPTH(buf) ^ table11.c:982:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintVISUALTYPE(buf) ^ table11.c:997:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] InitRecordTypes() ^ table11.c:1014:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ table11.c:1023:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] InitValuesTypes() ^ table11.c:1088:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 42 warnings generated. cc -O -Wno-error=return-type -I/usr/pkg/include -I /usr/X11R7/include -I/usr/X11R7/include -c print11.c In file included from print11.c:13: ./x11.h:475:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern PrintString8(); ~~~~~~ ^ ./x11.h:476:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern PrintString16(); ~~~~~~ ^ ./x11.h:477:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern PrintListSTR(); ~~~~~~ ^ print11.c:81:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintSetUpMessage(buf) ^ print11.c:87:3: warning: implicit declaration of function 'enterprocedure' is invalid in C99 [-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: implicit declaration of function 'SetIndentLevel' is invalid in C99 [-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: implicit declaration of function 'PrintField' is invalid in C99 [-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:100:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:102:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintSetUpReply(buf) ^ print11.c:108:5: warning: implicit declaration of function 'PrintSuccessfulSetUpReply' is invalid in C99 [-Wimplicit-function-declaration] PrintSuccessfulSetUpReply(buf); ^ print11.c:110:5: warning: implicit declaration of function 'PrintFailedSetUpReply' is invalid in C99 [-Wimplicit-function-declaration] PrintFailedSetUpReply(buf); ^ print11.c:111:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ print11.c:113:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintFailedSetUpReply(buf) ^ print11.c:120:5: warning: non-void function 'PrintFailedSetUpReply' should return a value [-Wreturn-type] return; ^ print11.c:127:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:129:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintSuccessfulSetUpReply(buf) ^ print11.c:137:5: warning: non-void function 'PrintSuccessfulSetUpReply' should return a value [-Wreturn-type] return; ^ print11.c:161:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:182:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] RequestError(buf) ^ print11.c:187:5: warning: non-void function 'RequestError' should return a value [-Wreturn-type] return; ^ print11.c:191:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:193:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ValueError(buf) ^ print11.c:198:5: warning: non-void function 'ValueError' should return a value [-Wreturn-type] return; ^ print11.c:203:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:205:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] WindowError(buf) ^ print11.c:210:5: warning: non-void function 'WindowError' should return a value [-Wreturn-type] return; ^ print11.c:215:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:217:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PixmapError(buf) ^ print11.c:222:5: warning: non-void function 'PixmapError' should return a value [-Wreturn-type] return; ^ print11.c:227:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:229:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] AtomError(buf) ^ print11.c:234:5: warning: non-void function 'AtomError' should return a value [-Wreturn-type] return; ^ print11.c:239:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:241:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CursorError(buf) ^ print11.c:246:5: warning: non-void function 'CursorError' should return a value [-Wreturn-type] return; ^ print11.c:251:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:253:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] FontError(buf) ^ print11.c:258:5: warning: non-void function 'FontError' should return a value [-Wreturn-type] return; ^ print11.c:263:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:265:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] MatchError(buf) ^ print11.c:270:5: warning: non-void function 'MatchError' should return a value [-Wreturn-type] return; ^ print11.c:274:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:276:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DrawableError(buf) ^ print11.c:281:5: warning: non-void function 'DrawableError' should return a value [-Wreturn-type] return; ^ print11.c:286:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:288:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] AccessError(buf) ^ print11.c:293:5: warning: non-void function 'AccessError' should return a value [-Wreturn-type] return; ^ print11.c:297:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:299:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] AllocError(buf) ^ print11.c:304:5: warning: non-void function 'AllocError' should return a value [-Wreturn-type] return; ^ print11.c:308:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:310:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ColormapError(buf) ^ print11.c:315:5: warning: non-void function 'ColormapError' should return a value [-Wreturn-type] return; ^ print11.c:320:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:322:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GContextError(buf) ^ print11.c:327:5: warning: non-void function 'GContextError' should return a value [-Wreturn-type] return; ^ print11.c:332:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:334:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] IDChoiceError(buf) ^ print11.c:339:5: warning: non-void function 'IDChoiceError' should return a value [-Wreturn-type] return; ^ print11.c:344:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:346:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] NameError(buf) ^ print11.c:351:5: warning: non-void function 'NameError' should return a value [-Wreturn-type] return; ^ print11.c:355:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:357:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] LengthError(buf) ^ print11.c:362:5: warning: non-void function 'LengthError' should return a value [-Wreturn-type] return; ^ print11.c:366:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:368:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ImplementationError(buf) ^ print11.c:373:5: warning: non-void function 'ImplementationError' should return a value [-Wreturn-type] return; ^ print11.c:377:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:386:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] KeyPressEvent(buf) ^ print11.c:391:5: warning: non-void function 'KeyPressEvent' should return a value [-Wreturn-type] return; ^ print11.c:404:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:406:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] KeyReleaseEvent(buf) ^ print11.c:411:5: warning: non-void function 'KeyReleaseEvent' should return a value [-Wreturn-type] return; ^ print11.c:424:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:426:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ButtonPressEvent(buf) ^ print11.c:431:5: warning: non-void function 'ButtonPressEvent' should return a value [-Wreturn-type] return; ^ print11.c:444:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:446:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ButtonReleaseEvent(buf) ^ print11.c:451:5: warning: non-void function 'ButtonReleaseEvent' should return a value [-Wreturn-type] return; ^ print11.c:464:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:466:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] MotionNotifyEvent(buf) ^ print11.c:471:5: warning: non-void function 'MotionNotifyEvent' should return a value [-Wreturn-type] return; ^ print11.c:484:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:486:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] EnterNotifyEvent(buf) ^ print11.c:491:5: warning: non-void function 'EnterNotifyEvent' should return a value [-Wreturn-type] return; ^ print11.c:505:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:507:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] LeaveNotifyEvent(buf) ^ print11.c:512:5: warning: non-void function 'LeaveNotifyEvent' should return a value [-Wreturn-type] return; ^ print11.c:526:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:528:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] FocusInEvent(buf) ^ print11.c:533:5: warning: non-void function 'FocusInEvent' should return a value [-Wreturn-type] return; ^ print11.c:538:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:540:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] FocusOutEvent(buf) ^ print11.c:545:5: warning: non-void function 'FocusOutEvent' should return a value [-Wreturn-type] return; ^ print11.c:550:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:552:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] KeymapNotifyEvent(buf) ^ print11.c:557:5: warning: non-void function 'KeymapNotifyEvent' should return a value [-Wreturn-type] return; ^ print11.c:558:3: warning: implicit declaration of function 'PrintBytes' is invalid in C99 [-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:559:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:561:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ExposeEvent(buf) ^ print11.c:566:5: warning: non-void function 'ExposeEvent' should return a value [-Wreturn-type] return; ^ print11.c:574:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:576:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GraphicsExposureEvent(buf) ^ print11.c:581:5: warning: non-void function 'GraphicsExposureEvent' should return a value [-Wreturn-type] return; ^ print11.c:591:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:593:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] NoExposureEvent(buf) ^ print11.c:598:5: warning: non-void function 'NoExposureEvent' should return a value [-Wreturn-type] return; ^ print11.c:603:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:605:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] VisibilityNotifyEvent(buf) ^ print11.c:610:5: warning: non-void function 'VisibilityNotifyEvent' should return a value [-Wreturn-type] return; ^ print11.c:614:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:616:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CreateNotifyEvent(buf) ^ print11.c:621:5: warning: non-void function 'CreateNotifyEvent' should return a value [-Wreturn-type] return; ^ print11.c:631:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:633:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DestroyNotifyEvent(buf) ^ print11.c:638:5: warning: non-void function 'DestroyNotifyEvent' should return a value [-Wreturn-type] return; ^ print11.c:642:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:644:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] UnmapNotifyEvent(buf) ^ print11.c:649:5: warning: non-void function 'UnmapNotifyEvent' should return a value [-Wreturn-type] return; ^ print11.c:654:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:656:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] MapNotifyEvent(buf) ^ print11.c:661:5: warning: non-void function 'MapNotifyEvent' should return a value [-Wreturn-type] return; ^ print11.c:666:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:668:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] MapRequestEvent(buf) ^ print11.c:673:5: warning: non-void function 'MapRequestEvent' should return a value [-Wreturn-type] return; ^ print11.c:677:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:679:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ReparentNotifyEvent(buf) ^ print11.c:684:5: warning: non-void function 'ReparentNotifyEvent' should return a value [-Wreturn-type] return; ^ print11.c:692:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:694:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ConfigureNotifyEvent(buf) ^ print11.c:699:5: warning: non-void function 'ConfigureNotifyEvent' should return a value [-Wreturn-type] return; ^ print11.c:710:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:712:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ConfigureRequestEvent(buf) ^ print11.c:717:5: warning: non-void function 'ConfigureRequestEvent' should return a value [-Wreturn-type] return; ^ print11.c:729:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:731:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GravityNotifyEvent(buf) ^ print11.c:736:5: warning: non-void function 'GravityNotifyEvent' should return a value [-Wreturn-type] return; ^ print11.c:742:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:744:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ResizeRequestEvent(buf) ^ print11.c:749:5: warning: non-void function 'ResizeRequestEvent' should return a value [-Wreturn-type] return; ^ print11.c:754:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:756:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CirculateNotifyEvent(buf) ^ print11.c:761:5: warning: non-void function 'CirculateNotifyEvent' should return a value [-Wreturn-type] return; ^ print11.c:767:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:769:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CirculateRequestEvent(buf) ^ print11.c:774:5: warning: non-void function 'CirculateRequestEvent' should return a value [-Wreturn-type] return; ^ print11.c:779:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:781:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PropertyNotifyEvent(buf) ^ print11.c:786:5: warning: non-void function 'PropertyNotifyEvent' should return a value [-Wreturn-type] return; ^ print11.c:792:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:794:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SelectionClearEvent(buf) ^ print11.c:799:5: warning: non-void function 'SelectionClearEvent' should return a value [-Wreturn-type] return; ^ print11.c:804:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:806:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SelectionRequestEvent(buf) ^ print11.c:811:5: warning: non-void function 'SelectionRequestEvent' should return a value [-Wreturn-type] return; ^ print11.c:819:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:821:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SelectionNotifyEvent(buf) ^ print11.c:826:5: warning: non-void function 'SelectionNotifyEvent' should return a value [-Wreturn-type] return; ^ print11.c:833:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:835:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ColormapNotifyEvent(buf) ^ print11.c:840:5: warning: non-void function 'ColormapNotifyEvent' should return a value [-Wreturn-type] return; ^ print11.c:846:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:848:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ClientMessageEvent(buf) ^ print11.c:856:5: warning: non-void function 'ClientMessageEvent' should return a value [-Wreturn-type] return; ^ print11.c:871:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:873:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] MappingNotifyEvent(buf) ^ print11.c:878:5: warning: non-void function 'MappingNotifyEvent' should return a value [-Wreturn-type] return; ^ print11.c:883:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:892:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CreateWindow(buf) ^ print11.c:898:5: warning: non-void function 'CreateWindow' should return a value [-Wreturn-type] return; ^ print11.c:914:3: warning: implicit declaration of function 'PrintValues' is invalid in C99 [-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:915:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:917:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ChangeWindowAttributes(buf) ^ print11.c:923:5: warning: non-void function 'ChangeWindowAttributes' should return a value [-Wreturn-type] return; ^ print11.c:931:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:933:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetWindowAttributes(buf) ^ print11.c:939:5: warning: non-void function 'GetWindowAttributes' should return a value [-Wreturn-type] return; ^ print11.c:945:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:947:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetWindowAttributesReply(buf) ^ print11.c:952:5: warning: non-void function 'GetWindowAttributesReply' should return a value [-Wreturn-type] return; ^ print11.c:970:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:972:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DestroyWindow(buf) ^ print11.c:978:5: warning: non-void function 'DestroyWindow' should return a value [-Wreturn-type] return; ^ print11.c:984:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:986:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DestroySubwindows(buf) ^ print11.c:992:5: warning: non-void function 'DestroySubwindows' should return a value [-Wreturn-type] return; ^ print11.c:998:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1000:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ChangeSaveSet(buf) ^ print11.c:1006:5: warning: non-void function 'ChangeSaveSet' should return a value [-Wreturn-type] return; ^ print11.c:1013:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1015:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ReparentWindow(buf) ^ print11.c:1021:5: warning: non-void function 'ReparentWindow' should return a value [-Wreturn-type] return; ^ print11.c:1030:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1032:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] MapWindow(buf) ^ print11.c:1038:5: warning: non-void function 'MapWindow' should return a value [-Wreturn-type] return; ^ print11.c:1044:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1046:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] MapSubwindows(buf) ^ print11.c:1052:5: warning: non-void function 'MapSubwindows' should return a value [-Wreturn-type] return; ^ print11.c:1058:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1060:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] UnmapWindow(buf) ^ print11.c:1066:5: warning: non-void function 'UnmapWindow' should return a value [-Wreturn-type] return; ^ print11.c:1072:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1074:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] UnmapSubwindows(buf) ^ print11.c:1080:5: warning: non-void function 'UnmapSubwindows' should return a value [-Wreturn-type] return; ^ print11.c:1086:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1088:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ConfigureWindow(buf) ^ print11.c:1094:5: warning: non-void function 'ConfigureWindow' should return a value [-Wreturn-type] return; ^ print11.c:1102:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1104:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CirculateWindow(buf) ^ print11.c:1110:5: warning: non-void function 'CirculateWindow' should return a value [-Wreturn-type] return; ^ print11.c:1117:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1119:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetGeometry(buf) ^ print11.c:1125:5: warning: non-void function 'GetGeometry' should return a value [-Wreturn-type] return; ^ print11.c:1131:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1133:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetGeometryReply(buf) ^ print11.c:1138:5: warning: non-void function 'GetGeometryReply' should return a value [-Wreturn-type] return; ^ print11.c:1148:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1150:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] QueryTree(buf) ^ print11.c:1156:5: warning: non-void function 'QueryTree' should return a value [-Wreturn-type] return; ^ print11.c:1162:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1164:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] QueryTreeReply(buf) ^ print11.c:1170:5: warning: non-void function 'QueryTreeReply' should return a value [-Wreturn-type] return; ^ print11.c:1178:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1180:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] InternAtom(buf) ^ print11.c:1187:5: warning: non-void function 'InternAtom' should return a value [-Wreturn-type] return; ^ print11.c:1196:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1198:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] InternAtomReply(buf) ^ print11.c:1203:5: warning: non-void function 'InternAtomReply' should return a value [-Wreturn-type] return; ^ print11.c:1207:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1209:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetAtomName(buf) ^ print11.c:1215:5: warning: non-void function 'GetAtomName' should return a value [-Wreturn-type] return; ^ print11.c:1221:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1223:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetAtomNameReply(buf) ^ print11.c:1229:5: warning: non-void function 'GetAtomNameReply' should return a value [-Wreturn-type] return; ^ print11.c:1235:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1237:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ChangeProperty(buf) ^ print11.c:1251:5: warning: non-void function 'ChangeProperty' should return a value [-Wreturn-type] return; ^ print11.c:1279:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1281:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DeleteProperty(buf) ^ print11.c:1287:5: warning: non-void function 'DeleteProperty' should return a value [-Wreturn-type] return; ^ print11.c:1294:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1296:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetProperty(buf) ^ print11.c:1302:5: warning: non-void function 'GetProperty' should return a value [-Wreturn-type] return; ^ print11.c:1313:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1315:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetPropertyReply(buf) ^ print11.c:1328:5: warning: non-void function 'GetPropertyReply' should return a value [-Wreturn-type] return; ^ print11.c:1354:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1356:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ListProperties(buf) ^ print11.c:1362:5: warning: non-void function 'ListProperties' should return a value [-Wreturn-type] return; ^ print11.c:1368:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1370:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ListPropertiesReply(buf) ^ print11.c:1376:5: warning: non-void function 'ListPropertiesReply' should return a value [-Wreturn-type] return; ^ print11.c:1382:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1384:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SetSelectionOwner(buf) ^ print11.c:1390:5: warning: non-void function 'SetSelectionOwner' should return a value [-Wreturn-type] return; ^ print11.c:1398:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1400:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetSelectionOwner(buf) ^ print11.c:1406:5: warning: non-void function 'GetSelectionOwner' should return a value [-Wreturn-type] return; ^ print11.c:1412:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1414:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetSelectionOwnerReply(buf) ^ print11.c:1419:5: warning: non-void function 'GetSelectionOwnerReply' should return a value [-Wreturn-type] return; ^ print11.c:1423:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1425:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ConvertSelection(buf) ^ print11.c:1431:5: warning: non-void function 'ConvertSelection' should return a value [-Wreturn-type] return; ^ print11.c:1441:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1443:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SendEvent(buf) ^ print11.c:1449:5: warning: non-void function 'SendEvent' should return a value [-Wreturn-type] return; ^ print11.c:1458:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1460:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GrabPointer(buf) ^ print11.c:1466:5: warning: non-void function 'GrabPointer' should return a value [-Wreturn-type] return; ^ print11.c:1479:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1481:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GrabPointerReply(buf) ^ print11.c:1486:5: warning: non-void function 'GrabPointerReply' should return a value [-Wreturn-type] return; ^ print11.c:1490:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1492:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] UngrabPointer(buf) ^ print11.c:1498:5: warning: non-void function 'UngrabPointer' should return a value [-Wreturn-type] return; ^ print11.c:1504:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1506:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GrabButton(buf) ^ print11.c:1512:5: warning: non-void function 'GrabButton' should return a value [-Wreturn-type] return; ^ print11.c:1526:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1528:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] UngrabButton(buf) ^ print11.c:1534:5: warning: non-void function 'UngrabButton' should return a value [-Wreturn-type] return; ^ print11.c:1542:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1544:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ChangeActivePointerGrab(buf) ^ print11.c:1550:5: warning: non-void function 'ChangeActivePointerGrab' should return a value [-Wreturn-type] return; ^ print11.c:1558:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1560:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GrabKeyboard(buf) ^ print11.c:1566:5: warning: non-void function 'GrabKeyboard' should return a value [-Wreturn-type] return; ^ print11.c:1576:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1578:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GrabKeyboardReply(buf) ^ print11.c:1583:5: warning: non-void function 'GrabKeyboardReply' should return a value [-Wreturn-type] return; ^ print11.c:1587:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1589:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] UngrabKeyboard(buf) ^ print11.c:1595:5: warning: non-void function 'UngrabKeyboard' should return a value [-Wreturn-type] return; ^ print11.c:1601:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1603:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GrabKey(buf) ^ print11.c:1609:5: warning: non-void function 'GrabKey' should return a value [-Wreturn-type] return; ^ print11.c:1620:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1622:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] UngrabKey(buf) ^ print11.c:1628:5: warning: non-void function 'UngrabKey' should return a value [-Wreturn-type] return; ^ print11.c:1636:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1638:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] AllowEvents(buf) ^ print11.c:1644:5: warning: non-void function 'AllowEvents' should return a value [-Wreturn-type] return; ^ print11.c:1651:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1653:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GrabServer(buf) ^ print11.c:1659:5: warning: non-void function 'GrabServer' should return a value [-Wreturn-type] return; ^ print11.c:1664:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1666:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] UngrabServer(buf) ^ print11.c:1672:5: warning: non-void function 'UngrabServer' should return a value [-Wreturn-type] return; ^ print11.c:1677:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1679:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] QueryPointer(buf) ^ print11.c:1685:5: warning: non-void function 'QueryPointer' should return a value [-Wreturn-type] return; ^ print11.c:1691:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1693:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] QueryPointerReply(buf) ^ print11.c:1698:5: warning: non-void function 'QueryPointerReply' should return a value [-Wreturn-type] return; ^ print11.c:1709:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1711:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetMotionEvents(buf) ^ print11.c:1717:5: warning: non-void function 'GetMotionEvents' should return a value [-Wreturn-type] return; ^ print11.c:1725:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1727:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetMotionEventsReply(buf) ^ print11.c:1733:5: warning: non-void function 'GetMotionEventsReply' should return a value [-Wreturn-type] return; ^ print11.c:1739:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1741:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] TranslateCoordinates(buf) ^ print11.c:1747:5: warning: non-void function 'TranslateCoordinates' should return a value [-Wreturn-type] return; ^ print11.c:1756:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1758:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] TranslateCoordinatesReply(buf) ^ print11.c:1763:5: warning: non-void function 'TranslateCoordinatesReply' should return a value [-Wreturn-type] return; ^ print11.c:1770:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1772:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] WarpPointer(buf) ^ print11.c:1778:5: warning: non-void function 'WarpPointer' should return a value [-Wreturn-type] return; ^ print11.c:1791:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1793:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SetInputFocus(buf) ^ print11.c:1799:5: warning: non-void function 'SetInputFocus' should return a value [-Wreturn-type] return; ^ print11.c:1807:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1809:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetInputFocus(buf) ^ print11.c:1815:5: warning: non-void function 'GetInputFocus' should return a value [-Wreturn-type] return; ^ print11.c:1820:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1822:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetInputFocusReply(buf) ^ print11.c:1827:5: warning: non-void function 'GetInputFocusReply' should return a value [-Wreturn-type] return; ^ print11.c:1832:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1834:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] QueryKeymap(buf) ^ print11.c:1840:5: warning: non-void function 'QueryKeymap' should return a value [-Wreturn-type] return; ^ print11.c:1845:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1847:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] QueryKeymapReply(buf) ^ print11.c:1852:5: warning: non-void function 'QueryKeymapReply' should return a value [-Wreturn-type] return; ^ print11.c:1856:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1858:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] OpenFont(buf) ^ print11.c:1866:5: warning: non-void function 'OpenFont' should return a value [-Wreturn-type] return; ^ print11.c:1875:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1877:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CloseFont(buf) ^ print11.c:1883:5: warning: non-void function 'CloseFont' should return a value [-Wreturn-type] return; ^ print11.c:1889:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1891:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] QueryFont(buf) ^ print11.c:1897:5: warning: non-void function 'QueryFont' should return a value [-Wreturn-type] return; ^ print11.c:1903:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1905:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] QueryFontReply(buf) ^ print11.c:1914:5: warning: non-void function 'QueryFontReply' should return a value [-Wreturn-type] return; ^ print11.c:1936:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1938:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] QueryTextExtents(buf) ^ print11.c:1946:5: warning: non-void function 'QueryTextExtents' should return a value [-Wreturn-type] return; ^ print11.c:1957:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1959:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] QueryTextExtentsReply(buf) ^ print11.c:1964:5: warning: non-void function 'QueryTextExtentsReply' should return a value [-Wreturn-type] return; ^ print11.c:1975:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1977:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ListFonts(buf) ^ print11.c:1985:5: warning: non-void function 'ListFonts' should return a value [-Wreturn-type] return; ^ print11.c:1994:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:1996:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ListFontsReply(buf) ^ print11.c:2003:5: warning: non-void function 'ListFontsReply' should return a value [-Wreturn-type] return; ^ print11.c:2009:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2011:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ListFontsWithInfo(buf) ^ print11.c:2019:5: warning: non-void function 'ListFontsWithInfo' should return a value [-Wreturn-type] return; ^ print11.c:2028:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2030:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ListFontsWithInfoReply(buf) ^ print11.c:2036:20: warning: non-void function 'ListFontsWithInfoReply' should return a value [-Wreturn-type] if (Verbose < 1) return; ^ print11.c:2040:7: warning: implicit declaration of function 'ListFontsWithInfoReply1' is invalid in C99 [-Wimplicit-function-declaration] ListFontsWithInfoReply1(buf); ^ print11.c:2041:7: warning: implicit declaration of function 'KeepLastReplyExpected' is invalid in C99 [-Wimplicit-function-declaration] KeepLastReplyExpected(); ^ print11.c:2044:5: warning: implicit declaration of function 'ListFontsWithInfoReply2' is invalid in C99 [-Wimplicit-function-declaration] ListFontsWithInfoReply2(buf); ^ print11.c:2045:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2047:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ListFontsWithInfoReply1(buf) ^ print11.c:2072:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ print11.c:2074:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ListFontsWithInfoReply2(buf) ^ print11.c:2080:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ print11.c:2082:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SetFontPath(buf) ^ print11.c:2089:5: warning: non-void function 'SetFontPath' should return a value [-Wreturn-type] return; ^ print11.c:2097:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2099:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetFontPath(buf) ^ print11.c:2105:5: warning: non-void function 'GetFontPath' should return a value [-Wreturn-type] return; ^ print11.c:2110:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2112:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetFontPathReply(buf) ^ print11.c:2118:5: warning: non-void function 'GetFontPathReply' should return a value [-Wreturn-type] return; ^ print11.c:2124:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2126:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CreatePixmap(buf) ^ print11.c:2132:5: warning: non-void function 'CreatePixmap' should return a value [-Wreturn-type] return; ^ print11.c:2142:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2144:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] FreePixmap(buf) ^ print11.c:2150:5: warning: non-void function 'FreePixmap' should return a value [-Wreturn-type] return; ^ print11.c:2156:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2158:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CreateGC(buf) ^ print11.c:2164:5: warning: non-void function 'CreateGC' should return a value [-Wreturn-type] return; ^ print11.c:2173:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2175:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ChangeGC(buf) ^ print11.c:2181:5: warning: non-void function 'ChangeGC' should return a value [-Wreturn-type] return; ^ print11.c:2189:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2191:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CopyGC(buf) ^ print11.c:2197:5: warning: non-void function 'CopyGC' should return a value [-Wreturn-type] return; ^ print11.c:2205:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2207:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SetDashes(buf) ^ print11.c:2214:5: warning: non-void function 'SetDashes' should return a value [-Wreturn-type] return; ^ print11.c:2224:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2226:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SetClipRectangles(buf) ^ print11.c:2234:5: warning: non-void function 'SetClipRectangles' should return a value [-Wreturn-type] return; ^ print11.c:2245:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2247:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] FreeGC(buf) ^ print11.c:2253:5: warning: non-void function 'FreeGC' should return a value [-Wreturn-type] return; ^ print11.c:2259:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2261:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ClearArea(buf) ^ print11.c:2267:5: warning: non-void function 'ClearArea' should return a value [-Wreturn-type] return; ^ print11.c:2278:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2280:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CopyArea(buf) ^ print11.c:2286:5: warning: non-void function 'CopyArea' should return a value [-Wreturn-type] return; ^ print11.c:2300:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2302:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CopyPlane(buf) ^ print11.c:2308:5: warning: non-void function 'CopyPlane' should return a value [-Wreturn-type] return; ^ print11.c:2323:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2325:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PolyPoint(buf) ^ print11.c:2332:5: warning: non-void function 'PolyPoint' should return a value [-Wreturn-type] return; ^ print11.c:2342:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2344:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PolyLine(buf) ^ print11.c:2351:5: warning: non-void function 'PolyLine' should return a value [-Wreturn-type] return; ^ print11.c:2361:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2363:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PolySegment(buf) ^ print11.c:2370:5: warning: non-void function 'PolySegment' should return a value [-Wreturn-type] return; ^ print11.c:2379:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2381:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PolyRectangle(buf) ^ print11.c:2388:5: warning: non-void function 'PolyRectangle' should return a value [-Wreturn-type] return; ^ print11.c:2397:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2399:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PolyArc(buf) ^ print11.c:2406:5: warning: non-void function 'PolyArc' should return a value [-Wreturn-type] return; ^ print11.c:2415:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2417:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] FillPoly(buf) ^ print11.c:2424:5: warning: non-void function 'FillPoly' should return a value [-Wreturn-type] return; ^ print11.c:2435:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2437:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PolyFillRectangle(buf) ^ print11.c:2444:5: warning: non-void function 'PolyFillRectangle' should return a value [-Wreturn-type] return; ^ print11.c:2453:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2455:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PolyFillArc(buf) ^ print11.c:2462:5: warning: non-void function 'PolyFillArc' should return a value [-Wreturn-type] return; ^ print11.c:2471:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2473:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PutImage(buf) ^ print11.c:2480:5: warning: non-void function 'PutImage' should return a value [-Wreturn-type] return; ^ print11.c:2509:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2511:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetImage(buf) ^ print11.c:2517:5: warning: non-void function 'GetImage' should return a value [-Wreturn-type] return; ^ print11.c:2529:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2531:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetImageReply(buf) ^ print11.c:2538:5: warning: non-void function 'GetImageReply' should return a value [-Wreturn-type] return; ^ print11.c:2549:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2551:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PolyText8(buf) ^ print11.c:2559:5: warning: non-void function 'PolyText8' should return a value [-Wreturn-type] return; ^ print11.c:2569:3: warning: implicit declaration of function 'PrintTextList8' is invalid in C99 [-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:2570:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2572:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PolyText16(buf) ^ print11.c:2580:5: warning: non-void function 'PolyText16' should return a value [-Wreturn-type] return; ^ print11.c:2590:3: warning: implicit declaration of function 'PrintTextList16' is invalid in C99 [-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:2591:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2593:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ImageText8(buf) ^ print11.c:2600:5: warning: non-void function 'ImageText8' should return a value [-Wreturn-type] return; ^ print11.c:2612:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2614:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ImageText16(buf) ^ print11.c:2621:5: warning: non-void function 'ImageText16' should return a value [-Wreturn-type] return; ^ print11.c:2633:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2635:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CreateColormap(buf) ^ print11.c:2641:5: warning: non-void function 'CreateColormap' should return a value [-Wreturn-type] return; ^ print11.c:2650:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2652:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] FreeColormap(buf) ^ print11.c:2658:5: warning: non-void function 'FreeColormap' should return a value [-Wreturn-type] return; ^ print11.c:2664:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2666:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CopyColormapAndFree(buf) ^ print11.c:2672:5: warning: non-void function 'CopyColormapAndFree' should return a value [-Wreturn-type] return; ^ print11.c:2679:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2681:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] InstallColormap(buf) ^ print11.c:2687:5: warning: non-void function 'InstallColormap' should return a value [-Wreturn-type] return; ^ print11.c:2693:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2695:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] UninstallColormap(buf) ^ print11.c:2701:5: warning: non-void function 'UninstallColormap' should return a value [-Wreturn-type] return; ^ print11.c:2707:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2709:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ListInstalledColormaps(buf) ^ print11.c:2715:5: warning: non-void function 'ListInstalledColormaps' should return a value [-Wreturn-type] return; ^ print11.c:2721:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2723:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ListInstalledColormapsReply(buf) ^ print11.c:2729:5: warning: non-void function 'ListInstalledColormapsReply' should return a value [-Wreturn-type] return; ^ print11.c:2735:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2737:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] AllocColor(buf) ^ print11.c:2743:5: warning: non-void function 'AllocColor' should return a value [-Wreturn-type] return; ^ print11.c:2752:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2754:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] AllocColorReply(buf) ^ print11.c:2759:5: warning: non-void function 'AllocColorReply' should return a value [-Wreturn-type] return; ^ print11.c:2766:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2768:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] AllocNamedColor(buf) ^ print11.c:2775:5: warning: non-void function 'AllocNamedColor' should return a value [-Wreturn-type] return; ^ print11.c:2784:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2786:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] AllocNamedColorReply(buf) ^ print11.c:2791:5: warning: non-void function 'AllocNamedColorReply' should return a value [-Wreturn-type] return; ^ print11.c:2801:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2803:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] AllocColorCells(buf) ^ print11.c:2809:5: warning: non-void function 'AllocColorCells' should return a value [-Wreturn-type] return; ^ print11.c:2818:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2820:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] AllocColorCellsReply(buf) ^ print11.c:2828:5: warning: non-void function 'AllocColorCellsReply' should return a value [-Wreturn-type] return; ^ print11.c:2837:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2839:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] AllocColorPlanes(buf) ^ print11.c:2845:5: warning: non-void function 'AllocColorPlanes' should return a value [-Wreturn-type] return; ^ print11.c:2856:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2858:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] AllocColorPlanesReply(buf) ^ print11.c:2864:5: warning: non-void function 'AllocColorPlanesReply' should return a value [-Wreturn-type] return; ^ print11.c:2873:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2875:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] FreeColors(buf) ^ print11.c:2883:5: warning: non-void function 'FreeColors' should return a value [-Wreturn-type] return; ^ print11.c:2892:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2894:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] StoreColors(buf) ^ print11.c:2901:5: warning: non-void function 'StoreColors' should return a value [-Wreturn-type] return; ^ print11.c:2909:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2911:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] StoreNamedColor(buf) ^ print11.c:2918:5: warning: non-void function 'StoreNamedColor' should return a value [-Wreturn-type] return; ^ print11.c:2929:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2931:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] QueryColors(buf) ^ print11.c:2938:5: warning: non-void function 'QueryColors' should return a value [-Wreturn-type] return; ^ print11.c:2946:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2948:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] QueryColorsReply(buf) ^ print11.c:2954:5: warning: non-void function 'QueryColorsReply' should return a value [-Wreturn-type] return; ^ print11.c:2960:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2962:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] LookupColor(buf) ^ print11.c:2969:5: warning: non-void function 'LookupColor' should return a value [-Wreturn-type] return; ^ print11.c:2978:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2980:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] LookupColorReply(buf) ^ print11.c:2985:5: warning: non-void function 'LookupColorReply' should return a value [-Wreturn-type] return; ^ print11.c:2994:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:2996:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CreateCursor(buf) ^ print11.c:3002:5: warning: non-void function 'CreateCursor' should return a value [-Wreturn-type] return; ^ print11.c:3018:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3020:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CreateGlyphCursor(buf) ^ print11.c:3026:5: warning: non-void function 'CreateGlyphCursor' should return a value [-Wreturn-type] return; ^ print11.c:3042:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3044:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] FreeCursor(buf) ^ print11.c:3050:5: warning: non-void function 'FreeCursor' should return a value [-Wreturn-type] return; ^ print11.c:3056:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3058:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] RecolorCursor(buf) ^ print11.c:3064:5: warning: non-void function 'RecolorCursor' should return a value [-Wreturn-type] return; ^ print11.c:3076:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3078:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] QueryBestSize(buf) ^ print11.c:3084:5: warning: non-void function 'QueryBestSize' should return a value [-Wreturn-type] return; ^ print11.c:3093:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3095:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] QueryBestSizeReply(buf) ^ print11.c:3100:5: warning: non-void function 'QueryBestSizeReply' should return a value [-Wreturn-type] return; ^ print11.c:3105:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3107:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] QueryExtension(buf) ^ print11.c:3114:5: warning: non-void function 'QueryExtension' should return a value [-Wreturn-type] return; ^ print11.c:3123:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3125:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] QueryExtensionReply(buf) ^ print11.c:3134:5: warning: non-void function 'QueryExtensionReply' should return a value [-Wreturn-type] return; ^ print11.c:3148:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3150:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ListExtensions(buf) ^ print11.c:3156:5: warning: non-void function 'ListExtensions' should return a value [-Wreturn-type] return; ^ print11.c:3161:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3163:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ListExtensionsReply(buf) ^ print11.c:3170:5: warning: non-void function 'ListExtensionsReply' should return a value [-Wreturn-type] return; ^ print11.c:3176:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3178:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ChangeKeyboardMapping(buf) ^ print11.c:3186:5: warning: non-void function 'ChangeKeyboardMapping' should return a value [-Wreturn-type] return; ^ print11.c:3197:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3199:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetKeyboardMapping(buf) ^ print11.c:3205:5: warning: non-void function 'GetKeyboardMapping' should return a value [-Wreturn-type] return; ^ print11.c:3212:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3214:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetKeyboardMappingReply(buf) ^ print11.c:3220:5: warning: non-void function 'GetKeyboardMappingReply' should return a value [-Wreturn-type] return; ^ print11.c:3226:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3228:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ChangeKeyboardControl(buf) ^ print11.c:3234:5: warning: non-void function 'ChangeKeyboardControl' should return a value [-Wreturn-type] return; ^ print11.c:3241:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3243:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetKeyboardControl(buf) ^ print11.c:3249:5: warning: non-void function 'GetKeyboardControl' should return a value [-Wreturn-type] return; ^ print11.c:3254:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3256:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetKeyboardControlReply(buf) ^ print11.c:3261:5: warning: non-void function 'GetKeyboardControlReply' should return a value [-Wreturn-type] return; ^ print11.c:3271:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3273:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Bell(buf) ^ print11.c:3279:5: warning: non-void function 'Bell' should return a value [-Wreturn-type] return; ^ print11.c:3285:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3287:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ChangePointerControl(buf) ^ print11.c:3293:5: warning: non-void function 'ChangePointerControl' should return a value [-Wreturn-type] return; ^ print11.c:3303:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3305:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetPointerControl(buf) ^ print11.c:3311:5: warning: non-void function 'GetPointerControl' should return a value [-Wreturn-type] return; ^ print11.c:3316:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3318:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetPointerControlReply(buf) ^ print11.c:3323:5: warning: non-void function 'GetPointerControlReply' should return a value [-Wreturn-type] return; ^ print11.c:3329:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3331:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SetScreenSaver(buf) ^ print11.c:3337:5: warning: non-void function 'SetScreenSaver' should return a value [-Wreturn-type] return; ^ print11.c:3346:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3348:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetScreenSaver(buf) ^ print11.c:3354:5: warning: non-void function 'GetScreenSaver' should return a value [-Wreturn-type] return; ^ print11.c:3359:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3361:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetScreenSaverReply(buf) ^ print11.c:3366:5: warning: non-void function 'GetScreenSaverReply' should return a value [-Wreturn-type] return; ^ print11.c:3373:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3375:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ChangeHosts(buf) ^ print11.c:3382:5: warning: non-void function 'ChangeHosts' should return a value [-Wreturn-type] return; ^ print11.c:3392:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3394:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ListHosts(buf) ^ print11.c:3400:5: warning: non-void function 'ListHosts' should return a value [-Wreturn-type] return; ^ print11.c:3405:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3407:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ListHostsReply(buf) ^ print11.c:3413:5: warning: non-void function 'ListHostsReply' should return a value [-Wreturn-type] return; ^ print11.c:3420:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3422:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SetAccessControl(buf) ^ print11.c:3428:5: warning: non-void function 'SetAccessControl' should return a value [-Wreturn-type] return; ^ print11.c:3434:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3436:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SetCloseDownMode(buf) ^ print11.c:3442:5: warning: non-void function 'SetCloseDownMode' should return a value [-Wreturn-type] return; ^ print11.c:3448:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3450:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] KillClient(buf) ^ print11.c:3456:5: warning: non-void function 'KillClient' should return a value [-Wreturn-type] return; ^ print11.c:3462:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3464:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] RotateProperties(buf) ^ print11.c:3471:5: warning: non-void function 'RotateProperties' should return a value [-Wreturn-type] return; ^ print11.c:3481:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3483:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ForceScreenSaver(buf) ^ print11.c:3489:5: warning: non-void function 'ForceScreenSaver' should return a value [-Wreturn-type] return; ^ print11.c:3495:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3497:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SetPointerMapping(buf) ^ print11.c:3504:5: warning: non-void function 'SetPointerMapping' should return a value [-Wreturn-type] return; ^ print11.c:3512:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3514:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SetPointerMappingReply(buf) ^ print11.c:3519:5: warning: non-void function 'SetPointerMappingReply' should return a value [-Wreturn-type] return; ^ print11.c:3523:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3525:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetPointerMapping(buf) ^ print11.c:3531:5: warning: non-void function 'GetPointerMapping' should return a value [-Wreturn-type] return; ^ print11.c:3536:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3538:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetPointerMappingReply(buf) ^ print11.c:3544:5: warning: non-void function 'GetPointerMappingReply' should return a value [-Wreturn-type] return; ^ print11.c:3550:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3552:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SetModifierMapping(buf) ^ print11.c:3559:5: warning: non-void function 'SetModifierMapping' should return a value [-Wreturn-type] return; ^ print11.c:3574:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3576:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SetModifierMappingReply(buf) ^ print11.c:3581:5: warning: non-void function 'SetModifierMappingReply' should return a value [-Wreturn-type] return; ^ print11.c:3585:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3587:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetModifierMapping(buf) ^ print11.c:3593:5: warning: non-void function 'GetModifierMapping' should return a value [-Wreturn-type] return; ^ print11.c:3598:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3600:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] GetModifierMappingReply(buf) ^ print11.c:3606:5: warning: non-void function 'GetModifierMappingReply' should return a value [-Wreturn-type] return; ^ print11.c:3612:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ print11.c:3614:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] NoOperation(buf) ^ print11.c:3620:5: warning: non-void function 'NoOperation' should return a value [-Wreturn-type] return; ^ print11.c:3625:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 660 warnings generated. cc -O -Wno-error=return-type -I/usr/pkg/include -I /usr/X11R7/include -I/usr/X11R7/include -c prtype.c In file included from prtype.c:11: ./x11.h:475:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern PrintString8(); ~~~~~~ ^ ./x11.h:476:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern PrintString16(); ~~~~~~ ^ ./x11.h:477:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern PrintListSTR(); ~~~~~~ ^ prtype.c:93:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SetIndentLevel(which) ^ prtype.c:103:5: warning: non-void function 'SetIndentLevel' should return a value [-Wreturn-type] return; ^ prtype.c:111:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ prtype.c:113:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ModifyIndentLevel(amount) ^ prtype.c:117:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ prtype.c:131:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DumpItem(name, fd, buf, n) ^ prtype.c:138:5: warning: non-void function 'DumpItem' should return a value [-Wreturn-type] return; ^ prtype.c:142:3: warning: implicit declaration of function 'DumpHexBuffer' is invalid in C99 [-Wimplicit-function-declaration] DumpHexBuffer(buf, n); ^ prtype.c:144:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ prtype.c:151:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintINT8(buf) ^ prtype.c:162:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintINT16(buf) ^ prtype.c:169:25: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(stdout, "%d", n); ~~ ^ %ld prtype.c:173:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintINT32(buf) ^ prtype.c:178:25: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(stdout, "%d", n); ~~ ^ %ld prtype.c:184:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintCARD8(buf) ^ prtype.c:190:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ prtype.c:192:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintCARD16(buf) ^ prtype.c:201:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintCARD32(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:212:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintBYTE(buf) ^ prtype.c:222:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintCHAR8(buf) ^ prtype.c:232:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintSTRING16(buf) ^ prtype.c:241:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintSTR(buf) ^ prtype.c:256:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintWINDOW(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:268:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintWINDOWD(buf) ^ prtype.c:282:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintWINDOWNR(buf) ^ prtype.c:297:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintPIXMAP(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:309:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintPIXMAPNPR(buf) ^ prtype.c:323:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintPIXMAPC(buf) ^ prtype.c:336:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintCURSOR(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:349:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintFONT(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:362:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintGCONTEXT(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:372:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintCOLORMAP(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:384:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintCOLORMAPC(buf) ^ prtype.c:397:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintDRAWABLE(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:406:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintFONTABLE(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:441:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintATOM(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:453:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintATOMT(buf) ^ prtype.c:466:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintVISUALID(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:478:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintVISUALIDC(buf) ^ prtype.c:491:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintTIMESTAMP(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:504:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintRESOURCEID(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:517:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintKEYSYM(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:526:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintKEYCODE(buf) ^ prtype.c:535:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintKEYCODEA(buf) ^ prtype.c:548:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintBUTTON(buf) ^ prtype.c:557:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintBUTTONA(buf) ^ prtype.c:572:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintEVENTFORM(buf) ^ prtype.c:576:3: warning: implicit declaration of function 'DecodeEvent' is invalid in C99 [-Wimplicit-function-declaration] DecodeEvent(-1, buf, (long)-1); ^ prtype.c:577:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ prtype.c:581:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintENUMERATED(buf, length, ValueList) ^ prtype.c:603:41: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(stdout, "**INVALID** (%d)", n); ~~ ^ %ld prtype.c:604:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ prtype.c:608:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintSET(buf, length, ValueList) ^ prtype.c:653:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ prtype.c:661:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintField(buf, start, length, FieldType, name) ^ prtype.c:669:5: warning: non-void function 'PrintField' should return a value [-Wreturn-type] return; ^ prtype.c:694:6: warning: non-void function 'PrintField' should return a value [-Wreturn-type] return; ^ prtype.c:701:1: warning: control may reach end of non-void function [-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:762:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintListSTR(buf, number, name) ^ 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:800:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintBytes(buf, number, name) ^ 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:840:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintString8(buf, number, name) ^ prtype.c:848:5: warning: non-void function 'PrintString8' should return a value [-Wreturn-type] return; ^ prtype.c:854:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ prtype.c:859:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintString16(buf, number, name) ^ prtype.c:868:5: warning: non-void function 'PrintString16' should return a value [-Wreturn-type] return; ^ prtype.c:877:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ prtype.c:892:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintValues(control, clength, ctype, values, name) ^ prtype.c:912:5: warning: non-void function 'PrintValues' should return a value [-Wreturn-type] return; ^ prtype.c:932:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ prtype.c:943:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintTextList8(buf, length, name) ^ prtype.c:968:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ prtype.c:970:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] PrintTextList16(buf, length, name) ^ prtype.c:995:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ prtype.c:1005:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DumpHexBuffer(buf, n) ^ prtype.c:1029:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 99 warnings generated. cc -O -Wno-error=return-type -I/usr/pkg/include -I /usr/X11R7/include -I/usr/X11R7/include -c ev_ascii.c ev_ascii.c:150:37: warning: implicit declaration of function 'IByte' is invalid in C99 [-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: implicit declaration of function 'ILong' is invalid in C99 [-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: implicit declaration of function 'IShort' is invalid in C99 [-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: implicit declaration of function 'IBool' is invalid in C99 [-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:344:14: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] detail = atoi (scr_spec_str); ^ ev_ascii.c:427:3: warning: implicit declaration of function 'OByte' is invalid in C99 [-Wimplicit-function-declaration] OByte (&buf[0], type); /* event type */ ^ ev_ascii.c:430:3: warning: implicit declaration of function 'OLong' is invalid in C99 [-Wimplicit-function-declaration] OLong (&buf[4], time); /* timestamp */ ^ 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: implicit declaration of function 'warn' is invalid in C99 [-Wimplicit-function-declaration] warn ("error decoding event script line"); ^ 10 warnings generated. cc -O -Wno-error=return-type -I/usr/pkg/include -I /usr/X11R7/include -I/usr/X11R7/include -c record.c In file included from record.c:11: ./x11.h:475:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern PrintString8(); ~~~~~~ ^ ./x11.h:476:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern PrintString16(); ~~~~~~ ^ ./x11.h:477:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern PrintListSTR(); ~~~~~~ ^ record.c:44:13: warning: incompatible pointer types passing 'FILE *' (aka 'struct __sFILE *') to parameter of type 'const char *' [-Wincompatible-pointer-types] perror (file); ^~~~ /usr/include/stdio.h:245:26: note: passing argument to parameter here void perror(const char *); ^ record.c:45:5: warning: implicit declaration of function 'panic' is invalid in C99 [-Wimplicit-function-declaration] panic ("OpenFile failure.\n"); ^ record.c:54:3: warning: implicit declaration of function 'UsingFD' is invalid in C99 [-Wimplicit-function-declaration] UsingFD (fid, 0); ^ record.c:116:15: warning: implicit declaration of function 'ascii_to_event_type' is invalid in C99 [-Wimplicit-function-declaration] event = ascii_to_event_type (buf); ^ 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:285:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] AnnouncePlaybackError (dpy, erev) ^ record.c:294:8: warning: format specifies type 'unsigned int' but the argument has type 'XID' (aka 'unsigned long') [-Wformat] erev->resourceid); ^~~~~~~~~~~~~~~~ record.c:298:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ record.c:307:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SendPlaybackEvent (timer, fd) ^ record.c:313:15: warning: implicit declaration of function 'FDPair' is invalid in C99 [-Wimplicit-function-declaration] FD pairfd = FDPair(fd); ^ record.c:330:7: warning: implicit declaration of function 'ascii_to_event_buf' is invalid in C99 [-Wimplicit-function-declaration] if (ascii_to_event_buf (script_line, buf, seq, timestamp)) { ^ record.c:331:5: warning: implicit declaration of function 'WriteToClient' is invalid in C99 [-Wimplicit-function-declaration] WriteToClient (fd, buf, 32); ^ record.c:335:3: warning: implicit declaration of function 'ReadPlaybackEvent' is invalid in C99 [-Wimplicit-function-declaration] ReadPlaybackEvent (timer, fd); ^ record.c:337:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ record.c:345:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] WarpPlaybackEvent (session_window, fd) ^ record.c:367:3: warning: implicit declaration of function 'ascii_to_x_y_window' is invalid in C99 [-Wimplicit-function-declaration] ascii_to_x_y_window (script_line, &x, &y, &saved_window); ^ record.c:375:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ record.c:383:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] TranslatePlaybackEvent (timer, fd) ^ record.c:397:20: warning: implicit declaration of function 'WindowSavedToSession' is invalid in C99 [-Wimplicit-function-declaration] session_window = WindowSavedToSession (saved_window); ^ record.c:398:44: warning: incompatible pointer types passing 'int ()' to parameter of type 'void (*)()' [-Wincompatible-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:399:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ record.c:408:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ReadPlaybackEvent (timer, fd) ^ record.c:435:13: warning: implicit declaration of function 'ascii_to_delay' is invalid in C99 [-Wimplicit-function-declaration] delay = ascii_to_delay (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:472:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ record.c:480:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] RecordEvent (fd, buf, n) ^ record.c:514:5: warning: implicit declaration of function 'event_to_ascii' is invalid in C99 [-Wimplicit-function-declaration] event_to_ascii (buf, RecordFile); ^ record.c:520:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 32 warnings generated. bmake: don't know how to make /usr/pkg/lib/libXext.a. Stop bmake: stopped in /usr/pkgsrc/work/x11/xscript/work/test-distrib/src *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/x11/xscript *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/x11/xscript