=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/xmon", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xmon-1.5.6 --- decode11.o --- --- linkl.o --- --- decode11.o --- clang -g -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c decode11.c --- linkl.o --- clang -g -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c linkl.c linkl.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | initList(list) | ^ linkl.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | prependToList(list, contents) | ^ linkl.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | appendToList(list, contents) | ^ linkl.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | deleteFirst(list) | ^ linkl.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | deleteLast(list) | ^ linkl.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | deleteCurrent(list) | ^ linkl.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | AppendToCurrent(list, contents) | ^ linkl.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | PrependToCurrent(list, contents) | ^ linkl.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | deleteList(list) | ^ linkl.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | freeList(list) | ^ linkl.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | freeCurrent(list) | ^ linkl.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | freeMatchingLeaf(list, contents) | ^ linkl.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | findMatchingLeaf(list, contents) | ^ linkl.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- decode11.o --- decode11.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- linkl.o --- 200 | indexOfContents(list, contents) --- decode11.o --- 312 | DecodeRequest(client, buf, n) | ^ --- linkl.o --- | ^ linkl.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | getIndexedContents(list, index) | ^ linkl.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | freeLeaf(list, leaf) | ^ linkl.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | deleteLeaf(list, leaf) | ^ linkl.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | linkl_panic(s) | ^ --- decode11.o --- decode11.c:794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 794 | DecodeReply(server, buf, n, Request) | ^ decode11.c:798:16: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] 798 | short Request; | ^ ./xmond.h:107:81: note: previous declaration is here 107 | Global void DecodeReply P((Server *server , unsigned char *buf , long n , short Request )); | ^ decode11.c:979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 979 | DecodeError(server, buf, n) | ^ decode11.c:1076:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1076 | DecodeEvent(server, buf, n, real_event) | ^ decode11.c:1080:15: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'Bool' (aka 'short') declared in a previous prototype [-Wknr-promoted-parameter] 1080 | Bool real_event; | ^ ./xmond.h:109:80: note: previous declaration is here 109 | Global void DecodeEvent P((Server *server , unsigned char *buf , long n , Bool real_event )); | ^ decode11.c:1273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1273 | SequencedReplyExpected(client, RequestType) | ^ decode11.c:1275:16: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] 1275 | short RequestType; | ^ decode11.c:49:62: note: previous declaration is here 49 | static void SequencedReplyExpected P((Client *client , short RequestType )); | ^ decode11.c:1300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1300 | CheckReplyTable (server, SequenceNumber, checkZero) | ^ decode11.c:1302:16: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] 1302 | short SequenceNumber; | ^ ./xmond.h:111:56: note: previous declaration is here --- linkl.o --- 18 warnings generated. --- decode11.o --- 111 | Global short CheckReplyTable P((Server *server , short SequenceNumber , Bool checkZero )); | ^ decode11.c:1303:15: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'Bool' (aka 'short') declared in a previous prototype [-Wknr-promoted-parameter] 1303 | Bool checkZero; | ^ ./xmond.h:111:78: note: previous declaration is here 111 | Global short CheckReplyTable P((Server *server , short SequenceNumber , Bool checkZero )); | ^ decode11.c:1356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1356 | ReplyExpected(client, Request) | ^ decode11.c:1358:16: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] 1358 | short Request; | ^ decode11.c:50:53: note: previous declaration is here 50 | static void ReplyExpected P((Client *client , short Request )); | ^ --- print11.o --- clang -g -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c print11.c --- decode11.o --- 13 warnings generated. --- server.o --- clang -g -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c server.c --- print11.o --- print11.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | PrintSetUpMessage(buf) | ^ print11.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | PrintSetUpReply(buf) | ^ print11.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | RequestError(buf) | ^ print11.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | ValueError(buf) | ^ print11.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | WindowError(buf) | ^ print11.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | PixmapError(buf) | ^ print11.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | AtomError(buf) | ^ print11.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | CursorError(buf) | ^ print11.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | FontError(buf) | ^ print11.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | MatchError(buf) | ^ print11.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | DrawableError(buf) | ^ print11.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | AccessError(buf) | ^ print11.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | AllocError(buf) | ^ print11.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | ColormapError(buf) | ^ print11.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | GContextError(buf) | ^ print11.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | IDChoiceError(buf) | ^ print11.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | NameError(buf) | ^ print11.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | LengthError(buf) | ^ print11.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | ImplementationError(buf) | ^ print11.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | PrintEventName(buf) | ^ print11.c:321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | KeyPressEvent(buf) | ^ print11.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | KeyReleaseEvent(buf) | ^ print11.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | ButtonPressEvent(buf) | ^ print11.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | ButtonReleaseEvent(buf) | ^ print11.c:405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | MotionNotifyEvent(buf) | ^ print11.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | EnterNotifyEvent(buf) | ^ print11.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | LeaveNotifyEvent(buf) | ^ print11.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | FocusInEvent(buf) | ^ print11.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | FocusOutEvent(buf) | ^ print11.c:496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | KeymapNotifyEvent(buf) | ^ print11.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | ExposeEvent(buf) | ^ print11.c:522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | GraphicsExposureEvent(buf) | ^ print11.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | NoExposureEvent(buf) | ^ print11.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | VisibilityNotifyEvent(buf) | ^ print11.c:565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | CreateNotifyEvent(buf) | ^ print11.c:583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | DestroyNotifyEvent(buf) | ^ print11.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | UnmapNotifyEvent(buf) | ^ print11.c:608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | MapNotifyEvent(buf) | ^ print11.c:621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | MapRequestEvent(buf) | ^ print11.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- server.o --- server.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- print11.o --- 633 | ReparentNotifyEvent(buf) | ^ --- server.o --- 91 | pad (n) | ^ server.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | ILong (buf) | ^ --- print11.o --- print11.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | ConfigureNotifyEvent(buf) | ^ --- server.o --- server.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | IShort (buf) | ^ server.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | IByte (buf) | ^ --- print11.o --- print11.c:668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | ConfigureRequestEvent(buf) | ^ --- server.o --- server.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | IBool(buf) | ^ server.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | LongToBuf(value, buf) | ^ --- print11.o --- print11.c:688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | GravityNotifyEvent(buf) | ^ --- server.o --- server.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | ShortToBuf(value, buf) | ^ --- print11.o --- print11.c:702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | ResizeRequestEvent(buf) | ^ --- server.o --- server.c:156:24: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'unsigned short' declared in a previous prototype [-Wknr-promoted-parameter] 156 | unsigned short value; | ^ ./xmond.h:335:42: note: previous declaration is here --- print11.o --- print11.c:715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | CirculateNotifyEvent(buf) | ^ print11.c:729:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- server.o --- 335 | Global void ShortToBuf P((unsigned short value , unsigned char *buf )); | ^ --- print11.o --- 729 | CirculateRequestEvent(buf) | ^ print11.c:742:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- server.o --- server.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- print11.o --- 742 | PropertyNotifyEvent(buf) | ^ --- server.o --- 177 | StartClientConnection(client) | ^ --- print11.o --- print11.c:756:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | SelectionClearEvent(buf) | ^ print11.c:769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | SelectionRequestEvent(buf) | ^ --- server.o --- server.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- print11.o --- print11.c:785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | SelectionNotifyEvent(buf) | ^ --- server.o --- 197 | StartServerConnection(server) | ^ --- print11.o --- print11.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | ColormapNotifyEvent(buf) | ^ --- server.o --- server.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | StartSetUpMessage (private_data, buf, n) | ^ --- print11.o --- print11.c:814:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 814 | ClientMessageEvent(buf) | ^ --- server.o --- server.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- print11.o --- print11.c:828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- server.o --- 250 | FinishSetUpMessage (private_data, buf, n) | ^ --- print11.o --- 828 | MappingNotifyEvent(buf) | ^ --- server.o --- server.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- print11.o --- print11.c:845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | CreateWindow(buf) | ^ --- server.o --- 268 | StartRequest (private_data, buf, n) | ^ server.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- print11.o --- print11.c:871:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- server.o --- 283 | FinishRequest (private_data, buf, n) | ^ --- print11.o --- 871 | ChangeWindowAttributes(buf) | ^ --- server.o --- server.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | StartSetUpReply (private_data, buf, n) | ^ --- print11.o --- print11.c:888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | GetWindowAttributes(buf) | ^ --- server.o --- server.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- print11.o --- print11.c:903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- server.o --- 311 | FinishSetUpReply (private_data, buf, n) | ^ --- print11.o --- 903 | GetWindowAttributesReply(buf) | ^ --- server.o --- server.c:326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | ServerPacket (private_data, buf, n) | ^ server.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- print11.o --- print11.c:929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 929 | DestroyWindow(buf) | ^ --- server.o --- 343 | ErrorPacket (server, buf, n) | ^ server.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | EventPacket (server, buf, n) | ^ --- print11.o --- print11.c:944:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- server.o --- server.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- print11.o --- 944 | DestroySubwindows(buf) | ^ --- server.o --- 384 | ReplyPacket (server, buf, n) | ^ server.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- print11.o --- print11.c:959:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- server.o --- 400 | FinishReply (private_data, buf, n) | ^ --- print11.o --- 959 | ChangeSaveSet(buf) | ^ print11.c:975:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 975 | ReparentWindow(buf) | ^ print11.c:993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | MapWindow(buf) | ^ print11.c:1008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1008 | MapSubwindows(buf) | ^ print11.c:1023:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | UnmapWindow(buf) | ^ print11.c:1038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | UnmapSubwindows(buf) | ^ print11.c:1053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1053 | ConfigureWindow(buf) | ^ print11.c:1070:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1070 | CirculateWindow(buf) | ^ print11.c:1086:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1086 | GetGeometry(buf) | ^ print11.c:1101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1101 | GetGeometryReply(buf) | ^ print11.c:1119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1119 | QueryTree(buf) | ^ print11.c:1134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1134 | QueryTreeReply(buf) | ^ print11.c:1151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1151 | InternAtom(buf) | ^ print11.c:1170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1170 | InternAtomReply(buf) | ^ print11.c:1182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1182 | GetAtomName(buf) | ^ print11.c:1197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1197 | GetAtomNameReply(buf) | ^ print11.c:1212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1212 | ChangeProperty(buf) | ^ print11.c:1243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1243 | DeleteProperty(buf) | ^ print11.c:1259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1259 | GetProperty(buf) | ^ print11.c:1279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1279 | GetPropertyReply(buf) | ^ print11.c:1305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1305 | ListProperties(buf) | ^ print11.c:1320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1320 | ListPropertiesReply(buf) | ^ print11.c:1335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1335 | SetSelectionOwner(buf) | ^ print11.c:1352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1352 | GetSelectionOwner(buf) | ^ print11.c:1367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1367 | GetSelectionOwnerReply(buf) | ^ print11.c:1379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1379 | ConvertSelection(buf) | ^ print11.c:1398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1398 | SendEvent(buf) | ^ print11.c:1416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1416 | GrabPointer(buf) | ^ print11.c:1438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1438 | GrabPointerReply(buf) | ^ print11.c:1450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1450 | UngrabPointer(buf) | ^ print11.c:1465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1465 | GrabButton(buf) | ^ print11.c:1488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1488 | UngrabButton(buf) | ^ print11.c:1505:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1505 | ChangeActivePointerGrab(buf) | ^ print11.c:1522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1522 | GrabKeyboard(buf) | ^ print11.c:1541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1541 | GrabKeyboardReply(buf) | ^ --- server.o --- 21 warnings generated. --- print11.o --- print11.c:1553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1553 | UngrabKeyboard(buf) | ^ print11.c:1568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1568 | GrabKey(buf) | ^ print11.c:1588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1588 | UngrabKey(buf) | ^ print11.c:1605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1605 | AllowEvents(buf) | ^ print11.c:1621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1621 | GrabServer(buf) | ^ print11.c:1635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1635 | UngrabServer(buf) | ^ print11.c:1649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1649 | QueryPointer(buf) | ^ print11.c:1664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1664 | QueryPointerReply(buf) | ^ print11.c:1683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1683 | GetMotionEvents(buf) | ^ print11.c:1700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1700 | GetMotionEventsReply(buf) | ^ print11.c:1715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1715 | TranslateCoordinates(buf) | ^ print11.c:1733:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1733 | TranslateCoordinatesReply(buf) | ^ print11.c:1748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1748 | WarpPointer(buf) | ^ print11.c:1770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1770 | SetInputFocus(buf) | ^ print11.c:1787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1787 | GetInputFocus(buf) | ^ print11.c:1801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1801 | GetInputFocusReply(buf) | ^ print11.c:1814:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1814 | QueryKeymap(buf) | ^ print11.c:1828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1828 | QueryKeymapReply(buf) | ^ print11.c:1840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1840 | OpenFont(buf) | ^ print11.c:1859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1859 | CloseFont(buf) | ^ print11.c:1874:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1874 | QueryFont(buf) | ^ --- fd.o --- --- print11.o --- print11.c:1889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1889 | QueryFontReply(buf) | ^ print11.c:1921:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1921 | QueryTextExtents(buf) | ^ print11.c:1943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1943 | QueryTextExtentsReply(buf) | ^ print11.c:1962:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1962 | ListFonts(buf) | ^ print11.c:1981:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1981 | ListFontsReply(buf) | ^ print11.c:1997:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1997 | ListFontsWithInfo(buf) | ^ print11.c:2016:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2016 | ListFontsWithInfoReply(buf) | ^ print11.c:2037:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2037 | ListFontsWithInfoReply1(buf) | ^ print11.c:2065:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2065 | ListFontsWithInfoReply2(buf) | ^ print11.c:2074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2074 | SetFontPath(buf) | ^ print11.c:2092:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2092 | GetFontPath(buf) | ^ print11.c:2106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2106 | GetFontPathReply(buf) | ^ print11.c:2121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2121 | CreatePixmap(buf) | ^ print11.c:2140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2140 | FreePixmap(buf) | ^ print11.c:2155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2155 | CreateGC(buf) | ^ print11.c:2173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2173 | ChangeGC(buf) | ^ print11.c:2190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2190 | CopyGC(buf) | ^ print11.c:2207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2207 | SetDashes(buf) | ^ print11.c:2227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2227 | SetClipRectangles(buf) | ^ --- fd.o --- clang -g -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c fd.c --- print11.o --- print11.c:2249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2249 | FreeGC(buf) | ^ print11.c:2264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2264 | ClearArea(buf) | ^ print11.c:2284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2284 | CopyArea(buf) | ^ print11.c:2307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2307 | CopyPlane(buf) | ^ print11.c:2331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2331 | PolyPoint(buf) | ^ print11.c:2351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2351 | PolyLine(buf) | ^ print11.c:2371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2371 | PolySegment(buf) | ^ print11.c:2390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2390 | PolyRectangle(buf) | ^ print11.c:2409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2409 | PolyArc(buf) | ^ print11.c:2428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2428 | FillPoly(buf) | ^ print11.c:2449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2449 | PolyFillRectangle(buf) | ^ print11.c:2468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2468 | PolyFillArc(buf) | ^ print11.c:2487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2487 | PutImage(buf) | ^ print11.c:2528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2528 | GetImage(buf) | ^ print11.c:2549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2549 | GetImageReply(buf) | ^ print11.c:2572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2572 | PolyText8(buf) | ^ print11.c:2594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2594 | PolyText16(buf) | ^ print11.c:2616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2616 | ImageText8(buf) | ^ print11.c:2638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2638 | ImageText16(buf) | ^ print11.c:2660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2660 | CreateColormap(buf) | ^ print11.c:2678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2678 | FreeColormap(buf) | ^ print11.c:2693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2693 | CopyColormapAndFree(buf) | ^ print11.c:2709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2709 | InstallColormap(buf) | ^ print11.c:2724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2724 | UninstallColormap(buf) | ^ print11.c:2739:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2739 | ListInstalledColormaps(buf) | ^ print11.c:2754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2754 | ListInstalledColormapsReply(buf) | ^ print11.c:2769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2769 | AllocColor(buf) | ^ print11.c:2787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2787 | AllocColorReply(buf) | ^ print11.c:2802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2802 | AllocNamedColor(buf) | ^ print11.c:2821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2821 | AllocNamedColorReply(buf) | ^ print11.c:2839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2839 | AllocColorCells(buf) | ^ print11.c:2857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2857 | AllocColorCellsReply(buf) | ^ print11.c:2877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2877 | AllocColorPlanes(buf) | ^ print11.c:2897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2897 | AllocColorPlanesReply(buf) | ^ print11.c:2915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2915 | FreeColors(buf) | ^ print11.c:2935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2935 | StoreColors(buf) | ^ print11.c:2953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2953 | StoreNamedColor(buf) | ^ print11.c:2974:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2974 | QueryColors(buf) | ^ print11.c:2992:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2992 | QueryColorsReply(buf) | ^ print11.c:3007:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3007 | LookupColor(buf) | ^ print11.c:3026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3026 | LookupColorReply(buf) | ^ print11.c:3043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3043 | CreateCursor(buf) | ^ print11.c:3068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3068 | CreateGlyphCursor(buf) | ^ print11.c:3093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3093 | FreeCursor(buf) | ^ print11.c:3108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3108 | RecolorCursor(buf) | ^ print11.c:3129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3129 | QueryBestSize(buf) | ^ print11.c:3147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3147 | QueryBestSizeReply(buf) | ^ print11.c:3160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3160 | QueryExtension(buf) | ^ print11.c:3178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3178 | QueryExtensionReply(buf) | ^ print11.c:3193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3193 | ListExtensions(buf) | ^ print11.c:3207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3207 | ListExtensionsReply(buf) | ^ print11.c:3223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3223 | ChangeKeyboardMapping(buf) | ^ print11.c:3245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3245 | GetKeyboardMapping(buf) | ^ print11.c:3261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3261 | GetKeyboardMappingReply(buf) | ^ print11.c:3276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3276 | ChangeKeyboardControl(buf) | ^ print11.c:3292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3292 | GetKeyboardControl(buf) | ^ print11.c:3306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3306 | GetKeyboardControlReply(buf) | ^ print11.c:3324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3324 | Bell(buf) | ^ print11.c:3339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3339 | ChangePointerControl(buf) | ^ print11.c:3358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3358 | GetPointerControl(buf) | ^ print11.c:3372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3372 | GetPointerControlReply(buf) | ^ print11.c:3386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3386 | SetScreenSaver(buf) | ^ print11.c:3404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3404 | GetScreenSaver(buf) | ^ print11.c:3418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3418 | GetScreenSaverReply(buf) | ^ print11.c:3433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3433 | ChangeHosts(buf) | ^ print11.c:3453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3453 | ListHosts(buf) | ^ print11.c:3467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3467 | ListHostsReply(buf) | ^ print11.c:3483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3483 | SetAccessControl(buf) | ^ print11.c:3498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3498 | SetCloseDownMode(buf) | ^ print11.c:3513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3513 | KillClient(buf) | ^ print11.c:3528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3528 | RotateProperties(buf) | ^ print11.c:3548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3548 | ForceScreenSaver(buf) | ^ print11.c:3563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3563 | SetPointerMapping(buf) | ^ print11.c:3581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3581 | SetPointerMappingReply(buf) | ^ print11.c:3593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3593 | GetPointerMapping(buf) | ^ print11.c:3607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3607 | GetPointerMappingReply(buf) | ^ print11.c:3622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3622 | SetModifierMapping(buf) | ^ print11.c:3647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3647 | SetModifierMappingReply(buf) | ^ print11.c:3659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3659 | GetModifierMapping(buf) | ^ print11.c:3673:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3673 | GetModifierMappingReply(buf) | ^ print11.c:3699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3699 | NoOperation(buf) | ^ print11.c:3713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3713 | PrintFailedSetUpReply(buf) | ^ print11.c:3730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3730 | PrintSuccessfulSetUpReply(buf) | ^ 217 warnings generated. --- main.o --- clang -g -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c main.c --- fd.o --- fd.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | UsingFD(fd, Handler, private_data) | ^ fd.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | NotUsingFD(fd) | ^ 2 warnings generated. --- prtype.o --- clang -g -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c prtype.c --- main.o --- main.c:77:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 77 | extern char *getenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:162:18: note: conflicting prototype is here 162 | char *_LIBC_CSTR getenv(const char *); | ^ main.c:130:45: warning: cast to 'Pointer' (aka 'char *') from smaller integer type 'int' [-Wint-to-pointer-cast] 130 | (void)UsingFD(fileno(stdin), ReadStdin, (Pointer)(int)fileno(stdin)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | main(argc, argv) | ^ main.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | CloseConnection(client) | ^ main.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | ScanArgs(argc, argv) | ^ main.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | SetUpConnectionSocket(iport) | ^ main.c:400:52: warning: cast to 'Pointer' (aka 'char *') from smaller integer type 'int' [-Wint-to-pointer-cast] 400 | (void)UsingFD(ConnectionSocket, NewConnection, (Pointer)ConnectionSocket); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:469:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | (FDD[fd].InputHandler)(FDD[fd].private_data); | ^ main.c:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | SendBuffer(fd, buffer) | ^ main.c:607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | ReadStdin(private_data) | ^ main.c:612:16: warning: cast to smaller integer type 'int' from 'Pointer' (aka 'char *') [-Wpointer-to-int-cast] 612 | int fd = (int)private_data; | ^~~~~~~~~~~~~~~~~ main.c:668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | do_command(ptr) | ^ main.c:819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | NewConnection(private_data) | ^ main.c:822:19: warning: cast to smaller integer type 'int' from 'Pointer' (aka 'char *') [-Wpointer-to-int-cast] 822 | int XPort = (int)private_data; | ^~~~~~~~~~~~~~~~~ main.c:853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | DataFromClient(private_data) | ^ main.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | DataFromServer(private_data) | ^ main.c:921:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 921 | ReadAndProcessData(private_data, read_fdd, write_fdd, is_server) | ^ main.c:925:15: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'Bool' (aka 'short') declared in a previous prototype [-Wknr-promoted-parameter] 925 | Bool is_server; | ^ main.c:65:114: note: previous declaration is here 65 | static Bool ReadAndProcessData P((Pointer private_data , FDDescriptor *read_fdd , FDDescriptor *write_fdd , Bool is_server )); | ^ main.c:970:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 970 | "Server bytes", fd, inbuffer->data, | ^~~~~~~~~~~~~~ ./xmond.h:349:62: note: passing argument to parameter 'buf' here 349 | Global void DumpItem P((char *name , int fd , unsigned char *buf , long n )); | ^ main.c:982:52: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 982 | DumpItem(is_server ? "Server" : "Client", fd, read_buf, num_read); | ^~~~~~~~ ./xmond.h:349:62: note: passing argument to parameter 'buf' here 349 | Global void DumpItem P((char *name , int fd , unsigned char *buf , long n )); | ^ main.c:1006:20: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1006 | private_data, process_buf, inbuffer->num_Needed | ^~~~~~~~~~~ main.c:1032:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1032 | SaveBytes(buffer, buf, n) | ^ main.c:1059:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1059 | RemoveSavedBytes(buffer, n) | ^ main.c:1079:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1079 | ConnectToClient(ConnectionSocket) | ^ main.c:1096:67: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 1096 | ClientFD = accept(ConnectionSocket, (struct sockaddr *)&from, &len); | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:708:73: note: passing argument to parameter here 708 | int accept(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ main.c:1131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1131 | ConnectToServer(hostName) | ^ main.c:1228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1228 | OfficialName(name) | ^ main.c:1241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1241 | SignalINT(n) | ^ main.c:1250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1250 | SignalTERM(n) | ^ main.c:1259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1259 | enterprocedure(s) | ^ main.c:1266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1266 | panic(s) | ^ main.c:1275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1275 | ANYSET(src) | ^ 32 warnings generated. --- table11.o --- clang -g -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c table11.c --- prtype.o --- prtype.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | printrep (c) | ^ prtype.c:80:17: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'unsigned short' declared in a previous prototype [-Wknr-promoted-parameter] 80 | unsigned short c; | ^ prtype.c:39:41: note: previous declaration is here 39 | static char *printrep P((unsigned short c )); | ^ prtype.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | SetIndentLevel(which) | ^ prtype.c:122:8: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] 122 | short which; | ^ ./xmond.h:347:37: note: previous declaration is here 347 | Global void SetIndentLevel P((short which )); | ^ prtype.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | ModifyIndentLevel(amount) | ^ prtype.c:143:8: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] 143 | short amount; | ^ ./xmond.h:348:40: note: previous declaration is here 348 | Global void ModifyIndentLevel P((short amount )); | ^ prtype.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | DumpItem(name, fd, buf, n) | ^ prtype.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | PrintINT8(buf) | ^ prtype.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | PrintINT16(buf) | ^ prtype.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | PrintINT32(buf) | ^ prtype.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | PrintCARD8(buf) | ^ prtype.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | PrintCARD16(buf) | ^ prtype.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | PrintCARD32(buf) | ^ prtype.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | PrintBYTE(buf) | ^ prtype.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | PrintCHAR8(buf) | ^ prtype.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | PrintSTRING16(buf) | ^ prtype.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | PrintSTR(buf) | ^ prtype.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | PrintWINDOW(buf) | ^ prtype.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | PrintWINDOWD(buf) | ^ prtype.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | PrintWINDOWNR(buf) | ^ prtype.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | PrintPIXMAP(buf) | ^ prtype.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | PrintPIXMAPNPR(buf) | ^ prtype.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | PrintPIXMAPC(buf) | ^ prtype.c:374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | PrintCURSOR(buf) | ^ prtype.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | PrintFONT(buf) | ^ prtype.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | PrintGCONTEXT(buf) | ^ prtype.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | PrintCOLORMAP(buf) | ^ prtype.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | PrintCOLORMAPC(buf) | ^ prtype.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | PrintDRAWABLE(buf) | ^ prtype.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | PrintFONTABLE(buf) | ^ prtype.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | PrintATOM(buf) | ^ prtype.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | PrintATOMT(buf) | ^ prtype.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | PrintVISUALID(buf) | ^ prtype.c:505:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | PrintVISUALIDC(buf) | ^ prtype.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | PrintTIMESTAMP(buf) | ^ prtype.c:533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | PrintRESOURCEID(buf) | ^ prtype.c:547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | PrintKEYSYM(buf) | ^ prtype.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | PrintKEYCODE(buf) | ^ prtype.c:567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | PrintKEYCODEA(buf) | ^ prtype.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | PrintBUTTON(buf) | ^ prtype.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | PrintBUTTONA(buf) | ^ prtype.c:611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | PrintEVENTFORM(buf) | ^ prtype.c:620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | PrintENUMERATED(buf, length, ValueList) | ^ prtype.c:622:8: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] 622 | short length; | ^ ./xmond.h:385:58: note: previous declaration is here 385 | Global int PrintENUMERATED P((unsigned char *buf , short length , ValueListEntryType *ValueList )); | ^ prtype.c:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | PrintSET(buf, length, ValueList) | ^ prtype.c:649:8: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] 649 | short length; | ^ ./xmond.h:386:51: note: previous declaration is here 386 | Global int PrintSET P((unsigned char *buf , short length , ValueListEntryType *ValueList )); | ^ prtype.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | PrintField(buf, start, length, FieldType, name) | ^ prtype.c:700:13: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] 700 | short start; | ^ ./xmond.h:387:54: note: previous declaration is here 387 | Global void PrintField P((unsigned char *buf , short start , short length , short FieldType , char *name )); | ^ prtype.c:701:13: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] 701 | short length; | ^ ./xmond.h:387:68: note: previous declaration is here 387 | Global void PrintField P((unsigned char *buf , short start , short length , short FieldType , char *name )); | ^ prtype.c:702:13: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] 702 | short FieldType; | ^ ./xmond.h:387:83: note: previous declaration is here 387 | Global void PrintField P((unsigned char *buf , short start , short length , short FieldType , char *name )); | ^ prtype.c:748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 748 | PrintList(buf, number, ListType, name) | ^ prtype.c:751:8: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] 751 | short ListType; | ^ ./xmond.h:388:66: note: previous declaration is here 388 | Global int PrintList P((unsigned char *buf , long number , short ListType , char *name )); | ^ prtype.c:798:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 798 | PrintListSTR(buf, number, name) | ^ prtype.c:830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | PrintBytes(buf, number, name) | ^ prtype.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | PrintString8(buf, number, name) | ^ prtype.c:896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | PrintString16(buf, number, name) | ^ prtype.c:927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | PrintValues(control, clength, ctype, values, name) | ^ prtype.c:929:8: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] 929 | short clength; | ^ ./xmond.h:393:59: note: previous declaration is here 393 | Global void PrintValues P((unsigned char *control , short clength , short ctype , unsigned char *values , char *name )); | ^ prtype.c:930:8: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] 930 | short ctype; | ^ ./xmond.h:393:75: note: previous declaration is here 393 | Global void PrintValues P((unsigned char *control , short clength , short ctype , unsigned char *values , char *name )); | ^ prtype.c:977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | PrintTextList8(buf, length, name) | ^ prtype.c:979:8: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] 979 | short length; | ^ ./xmond.h:394:58: note: previous declaration is here 394 | Global void PrintTextList8 P((unsigned char *buf , short length , char *name )); | ^ prtype.c:1005:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1005 | PrintTextList16(buf, length, name) | ^ prtype.c:1007:8: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] 1007 | short length; | ^ ./xmond.h:395:59: note: previous declaration is here 395 | Global void PrintTextList16 P((unsigned char *buf , short length , char *name )); | ^ prtype.c:1033:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | DumpHexBuffer(buf, n) | ^ prtype.c:1060:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1060 | DumpAsciiBuffer(buf, n) | ^ 65 warnings generated. --- widgeti.o --- clang -g -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c widgeti.c --- table11.o --- table11.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | DefineType(typeid, class, name, printproc) | ^ table11.c:79:16: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] 79 | short typeid; | ^ table11.c:41:33: note: previous declaration is here 41 | static TYPE DefineType P((short typeid , short class , char *name , PrintHandlerType printproc )); | ^ table11.c:80:16: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter] 80 | short class; | ^ table11.c:41:48: note: previous declaration is here 41 | static TYPE DefineType P((short typeid , short class , char *name , PrintHandlerType printproc )); | ^ table11.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | DefineEValue(type, value, name) | ^ table11.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | DefineValues(type, value, length, ctype, name) | ^ table11.c:831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | PrintCHAR2B(buf) | ^ table11.c:840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | PrintPOINT(buf) | ^ table11.c:849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 849 | PrintRECTANGLE(buf) | ^ table11.c:860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 860 | PrintARC(buf) | ^ table11.c:873:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | PrintHOST(buf) | ^ table11.c:885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | PrintTIMECOORD(buf) | ^ table11.c:895:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 895 | PrintFONTPROP(buf) | ^ table11.c:904:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 904 | PrintCHARINFO(buf) | ^ table11.c:917:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 917 | PrintSEGMENT(buf) | ^ table11.c:928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | PrintCOLORITEM(buf) | ^ table11.c:940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | PrintRGB(buf) | ^ table11.c:950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 950 | PrintFORMAT(buf) | ^ table11.c:960:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 960 | PrintSCREEN(buf) | ^ table11.c:988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 988 | PrintDEPTH(buf) | ^ table11.c:1002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1002 | PrintVISUALTYPE(buf) | ^ 20 warnings generated. --- xmonui.o --- clang -g -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c xmonui.c --- widgeti.o --- widgeti.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | init_widgeti(name, app_class, argcp, argv) | ^ widgeti.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | create_form(parent, fromH, fromV, borderWidth) | ^ widgeti.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | create_label(parent, fromH, fromV, width, borderWidth, string) | ^ widgeti.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | create_command_button(parent, fromH, fromV, string, callback, data) | ^ widgeti.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | create_one_of_many_toggle(label, parent, fromH, fromV, strings, callback) | ^ widgeti.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | set_toggle_state(widget, data) | ^ widgeti.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | get_toggle_state(widget) | ^ widgeti.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | create_viewlist | ^ widgeti.c:291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | set_viewlist(widget, list, nitems, longest) | ^ 9 warnings generated. --- xmon._man --- rm -f xmon._man if test -z "" ; then cd `dirname xmon` && ln -s `basename xmon.man` `basename xmon._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'` X.Org" < xmon.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\/' >xmon._man; fi --- xmond --- rm -f xmond clang -o xmond -g -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib decode11.o linkl.o print11.o server.o fd.o main.o prtype.o table11.o --- xmonui.o --- xmonui.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | quit_cb(w, client_data, call_data) | ^ xmonui.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | toggle_cb(widget, client_data, call_data) | ^ xmonui.c:207:10: warning: cast to smaller integer type 'int' from 'caddr_t' (aka 'char *') [-Wpointer-to-int-cast] 207 | if (!(Bool)call_data) | ^~~~~~~~~~~~~~~ xmonui.c:215:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 215 | printf(toggledata[toggle_count].output_string); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xmonui.c:215:10: note: treat the string as an argument to avoid this 215 | printf(toggledata[toggle_count].output_string); | ^ | "%s", xmonui.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | list_cb(widget, client_data, call_data) | ^ xmonui.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | count_cb(widget, client_data, call_data) | ^ xmonui.c:291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | build_toggle(parent, toggle_index, vert) | ^ xmonui.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | build_list(parent, list_index, horiz) | ^ xmonui.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | build_counting_buttons(parent, vert, label, output_strings) | ^ xmonui.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | main(argc, argv) | ^ 10 warnings generated. --- xmonui --- rm -f xmonui clang -o xmonui -g -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib widgeti.o xmonui.o -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lXt -lSM -lICE -lXext -lXext -lX11 ld: warning: ignoring duplicate libraries: '-lICE', '-lSM', '-lX11', '-lXext', '-lXt'