=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/depot", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for depot-5.14 # All started at Tue Oct 27 16:00:20 UTC 2026 ### Making all in /var/tmp/work/sysutils/depot/work/depot-5.14/man ### Done with /var/tmp/work/sysutils/depot/work/depot-5.14/man ### Making all in /var/tmp/work/sysutils/depot/work/depot-5.14/src ### Making all in /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib mkdir objdir mkdir build-include mkdir build-lib ### Making all in /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/include /var/tmp/work/sysutils/depot/work/.tools/bin/install -c depotlib.h ../build-include/depotlib.h /var/tmp/work/sysutils/depot/work/.tools/bin/install -c depot_autoconf.h ../build-include/depot_autoconf.h /var/tmp/work/sysutils/depot/work/.tools/bin/install -c cmu-copyright.h ../build-include/cmu-copyright.h ### Done with /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/include ### Making all in /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/util clang -O -DHAVE_CONFIG_H -I../build-include/ -c file.c In file included from file.c:36: ./util.h:85: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] 85 | extern char *strerror(); | ^ file.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 | efopen(filename, type) | ^ In file included from file.c:36: ./util.h:60: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 subsequent definition [-Wdeprecated-non-prototype] 60 | extern FILE *efopen(); | ^ file.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | efdopen(fd, type) | ^ In file included from file.c:36: ./util.h:61: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 subsequent definition [-Wdeprecated-non-prototype] 61 | extern FILE *efdopen(); | ^ file.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | efgetunsigned(fp) | ^ In file included from file.c:36: ./util.h:62:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | extern unsigned efgetunsigned(); | ^ file.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | efgetlong(fp) | ^ In file included from file.c:36: ./util.h:63:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | extern long efgetlong(); | ^ file.c:180:30: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | buffer = (char *) emalloc(buffersize * sizeof(char)); | ^ file.c:198:30: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | buffer = (char *) erealloc((void *) buffer, | ^ file.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 | efgetstring(fp, quotechar) | ^ In file included from file.c:36: ./util.h:64:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | char *efgetstring(); | ^ file.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | fdgetc(fd, pos) | ^ In file included from file.c:36: ./util.h:65:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | extern int fdgetc(); | ^ file.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | quotedfputs(string, quotechar, fp) | ^ In file included from file.c:36: ./util.h:66:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | extern int quotedfputs(); | ^ 17 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c malloc.c In file included from malloc.c:36: ./util.h:85: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] 85 | extern char *strerror(); | ^ malloc.c:40:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | void *emalloc(size) | ^ In file included from malloc.c:36: ./util.h:73: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 subsequent definition [-Wdeprecated-non-prototype] 73 | extern void *emalloc(); | ^ malloc.c:57:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | void *ecalloc(nelem, size) | ^ In file included from malloc.c:36: ./util.h:74: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 subsequent definition [-Wdeprecated-non-prototype] 74 | extern void *ecalloc(); | ^ malloc.c:74:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | void *erealloc(ptr, size) | ^ In file included from malloc.c:36: ./util.h:75: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 subsequent definition [-Wdeprecated-non-prototype] 75 | extern void *erealloc(); | ^ 7 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c math.c In file included from math.c:38: ./util.h:85: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] 85 | extern char *strerror(); | ^ math.c:43:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | long StringToNumber(string, base) | ^ In file included from math.c:38: ./util.h:78:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | extern long StringToNumber(); | ^ 3 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c message.c In file included from message.c:38: ./util.h:85: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] 85 | extern char *strerror(); | ^ 1 warning generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c passwd.c In file included from passwd.c:38: ./util.h:85: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] 85 | extern char *strerror(); | ^ passwd.c:57:28: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | if (String_Comparator(name, "root") == 0) | ^ passwd.c:43:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | int UserIDFromName(name) | ^ In file included from passwd.c:38: ./util.h:88:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | extern int UserIDFromName(); | ^ passwd.c:81:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | int GroupIDFromName(name) | ^ In file included from passwd.c:38: ./util.h:89:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | extern int GroupIDFromName(); | ^ 6 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c string.c In file included from string.c:36: ./util.h:85: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] 85 | extern char *strerror(); | ^ string.c:65:30: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | newstr = (char *) emalloc((len + 1) * sizeof(char *)); | ^ string.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | String(str, len) | ^ In file included from string.c:36: ./util.h:92: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 subsequent definition [-Wdeprecated-non-prototype] 92 | extern char *String(); | ^ string.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | String_Free(str) | ^ In file included from string.c:36: ./util.h:93:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 93 | extern void String_Free(); | ^ string.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | String_Comparator(str1, str2) | ^ In file included from string.c:36: ./util.h:94:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | extern int String_Comparator(); | ^ string.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | String_RemoveQuotes(string, quotechar) | ^ In file included from string.c:36: ./util.h:95: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 subsequent definition [-Wdeprecated-non-prototype] 95 | extern char *String_RemoveQuotes(); | ^ string.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | String_Write(fp, string, quotechar, delim, specialcharlist, nspecialchars) | ^ In file included from string.c:36: ./util.h:96:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | extern void String_Write(); | ^ string.c:206:40: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | newstrarr = (STRINGARRAY *) emalloc(sizeof(STRINGARRAY)); | ^ string.c:215:19: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | (char **) emalloc((len + 1) * sizeof(char *)); | ^ string.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | StringArray(strarr, len) | ^ In file included from string.c:36: ./util.h:97:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | extern STRINGARRAY *StringArray(); | ^ string.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | StringArray_Free(strarr) | ^ In file included from string.c:36: ./util.h:98:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | extern void StringArray_Free(); | ^ string.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | StringArray_Size(strarr) | ^ In file included from string.c:36: ./util.h:99:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | extern int StringArray_Size(); | ^ string.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | StringArray_Comparator(strarr1, strarr2) | ^ In file included from string.c:36: ./util.h:100:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | extern int StringArray_Comparator(); | ^ string.c:357:42: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | newstrarr = (STRINGARRAY *) emalloc(sizeof(STRINGARRAY)); | ^ string.c:368:56: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | STRINGARRAY_Values(newstrarr) = (char **) emalloc(sizeof(char *)); | ^ string.c:377:25: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | (char **) erealloc((void *) (STRINGARRAY_Values(newstrarr)), | ^ string.c:344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | StringArray_AppendString(strarr, str) | ^ In file included from string.c:36: ./util.h:101:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | extern STRINGARRAY *StringArray_AppendString(); | ^ string.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | StringArray_Write(fp, strarr, quotechar, delim, specialcharlist, nspecialchars) | ^ In file included from string.c:36: ./util.h:102:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | extern void StringArray_Write(); | ^ string.c:443:30: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | buffer = (char *) emalloc(strlen(string) + 1); /* worst case size */ | ^ string.c:425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | StringToStringArray(string, delimiter, quotechar) | ^ In file included from string.c:36: ./util.h:103:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | extern STRINGARRAY *StringToStringArray(); | ^ string.c:506:40: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | newstrset = (STRINGSET *) emalloc(sizeof(STRINGSET)); | ^ string.c:518:54: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | STRINGSET_Values(newstrset) = (char **) emalloc(sizeof(char *)); | ^ string.c:569:20: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | (char **) erealloc((void *) (STRINGSET_Values(newstrset)), | ^ string.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | StringSet_AddString(strset, str) | ^ In file included from string.c:36: ./util.h:104:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | extern STRINGSET *StringSet_AddString(); | ^ string.c:594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | StringSet_Member(strset, str) | ^ In file included from string.c:36: ./util.h:105:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | extern Boolean StringSet_Member(); | ^ string.c:652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | StringSet_Index(strset, str) | ^ In file included from string.c:36: ./util.h:106:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 106 | extern int StringSet_Index(); | ^ string.c:733:36: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | strset1 = (STRINGSET *) emalloc(sizeof(STRINGSET)); | ^ string.c:736:52: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | STRINGSET_Values(strset1) = (char **) emalloc(sizeof(char *)); | ^ string.c:727:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | StringSet_Merge(strset1, strset2) | ^ In file included from string.c:36: ./util.h:107:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 107 | extern STRINGSET *StringSet_Merge(); | ^ 45 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c misc.c In file included from misc.c:36: ./util.h:85: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] 85 | extern char *strerror(); | ^ 1 warning generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c Error.c In file included from Error.c:36: ./util.h:85: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] 85 | extern char *strerror(); | ^ 1 warning generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c timer.c clang -O -DHAVE_CONFIG_H -I../build-include/ -c compress.c In file included from compress.c:29: ./util.h:85: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] 85 | extern char *strerror(); | ^ compress.c:37: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] 37 | extern char *getenv(); | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h:162:18: note: conflicting prototype is here 162 | char *_LIBC_CSTR getenv(const char *); | ^ compress.c:51:27: warning: passing arguments to 'StringToStringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | av = StringToStringArray(str,' ', 0); | ^ compress.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | process_string(name) | ^ 4 warnings generated. rm -f libutil.a ar rv libutil.a file.o malloc.o math.o message.o passwd.o string.o misc.o Error.o timer.o compress.o ar: creating archive libutil.a a - file.o a - malloc.o a - math.o a - message.o a - passwd.o a - string.o a - misc.o a - Error.o a - timer.o a - compress.o ranlib libutil.a /var/tmp/work/sysutils/depot/work/.tools/bin/install -c libutil.a ../build-lib//libutil.a /var/tmp/work/sysutils/depot/work/.tools/bin/install -c util.h ../build-include//util.h /var/tmp/work/sysutils/depot/work/.tools/bin/install -c Error.h ../build-include//DepotErrorCodes.h ### Done with /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/util ### Making all in /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/FileOps clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_Copy.c In file included from File_Copy.c:6: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ File_Copy.c:12:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | cp(src, dst) | ^ File_Copy.c:86:25: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | if (File_GetStatus(from, status, FALSE /* !followlinks */ ) < 0) { | ^ File_Copy.c:93:25: warning: passing arguments to 'File_SetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | if (File_SetStatus(temp, status, flags) < 0) { | ^ File_Copy.c:100:18: warning: passing arguments to 'File_Move' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | if (File_Move(temp, to) < 0) { | ^ File_Copy.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | File_Copy(from, to, status, flags) | ^ In file included from File_Copy.c:8: ./File.h:72:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | extern int File_Copy(); | ^ 7 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_CreateDirectory.c In file included from File_CreateDirectory.c:37: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ File_CreateDirectory.c:55:25: warning: passing arguments to 'File_SetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | if (File_SetStatus(path, status, flags) < 0) | ^ File_CreateDirectory.c:42:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | int File_CreateDirectory (path, status, flags) | ^ In file included from File_CreateDirectory.c:39: ./File.h:73:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | extern int File_CreateDirectory (); | ^ 4 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_CreateLink.c In file included from File_CreateLink.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ File_CreateLink.c:41:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | int File_CreateLink(name1, name2) | ^ In file included from File_CreateLink.c:38: ./File.h:74:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | extern int File_CreateLink(); | ^ 3 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_CreateSymLink.c In file included from File_CreateSymLink.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ File_CreateSymLink.c:57:26: warning: passing arguments to 'File_RemovePath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | if (File_RemovePath(newname, NULL) < 0) { | ^ File_CreateSymLink.c:71:16: warning: passing arguments to 'File_Move' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | if (File_Move(newname, name2) < 0) { | ^ File_CreateSymLink.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 | File_CreateSymLink(name1, name2) | ^ In file included from File_CreateSymLink.c:38: ./File.h:75:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | extern int File_CreateSymLink(); | ^ 5 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_GetStatus.c In file included from File_GetStatus.c:37: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ File_GetStatus.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | File_GetStatus(path, status, followlinks) | ^ In file included from File_GetStatus.c:39: ./File.h:76:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | extern int File_GetStatus(); | ^ 3 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_Move.c In file included from File_Move.c:35: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ File_Move.c:46:27: warning: passing arguments to '_genbusy_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | busyname = _genbusy_name(name2); | ^ File_Move.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | move_busy(name1, name2) | ^ File_Move.c:84:26: warning: passing arguments to 'File_RemovePath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | if (File_RemovePath(name2, NULL) < 0) { | ^ File_Move.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | File_Move(name1, name2) | ^ In file included from File_Move.c:37: ./File.h:79:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | extern int File_Move(); | ^ 6 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_ReadSymLink.c In file included from File_ReadSymLink.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ File_ReadSymLink.c:41:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | int File_ReadSymLink(path, buffer, size) | ^ In file included from File_ReadSymLink.c:38: ./File.h:80:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | extern int File_ReadSymLink(); | ^ 3 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_ListDirectory.c In file included from File_ListDirectory.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ File_ListDirectory.c:67:36: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | *filelistp = StringSet_AddString(*filelistp, de->d_name); | ^ File_ListDirectory.c:41:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | int File_ListDirectory(path, filelistp) | ^ In file included from File_ListDirectory.c:38: ./File.h:77:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | extern int File_ListDirectory(); | ^ 4 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_ListMatchesinDirectory.c In file included from File_ListMatchesinDirectory.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ File_ListMatchesinDirectory.c:72:40: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | *filelistp = StringSet_AddString(*filelistp, de->d_name); | ^ File_ListMatchesinDirectory.c:41:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | int File_ListMatchesinDirectory(path, matchprefix, filelistp) | ^ In file included from File_ListMatchesinDirectory.c:38: ./File.h:78:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | extern int File_ListMatchesinDirectory(); | ^ 4 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_RemoveDirectory.c In file included from File_RemoveDirectory.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ File_RemoveDirectory.c:41:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | int File_RemoveDirectory(path) | ^ In file included from File_RemoveDirectory.c:38: ./File.h:81:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | extern int File_RemoveDirectory(); | ^ 3 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_RemovePath.c In file included from File_RemovePath.c:34: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ File_RemovePath.c:50:23: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | if (File_GetStatus(path, status, FALSE /* !followlinks */) < 0) { | ^ File_RemovePath.c:63:26: warning: passing arguments to '_genbusy_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | busyname = _genbusy_name(path); | ^ File_RemovePath.c:39:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | int File_RemovePath(path, status) | ^ In file included from File_RemovePath.c:36: ./File.h:82:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | extern int File_RemovePath(); | ^ 5 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_SetStatus.c In file included from File_SetStatus.c:37: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ File_SetStatus.c:76:21: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | File_GetStatus(path, &statusbuffer, FALSE /* followlinks */ ); | ^ File_SetStatus.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 | File_SetStatus(path, status, flags) | ^ In file included from File_SetStatus.c:39: ./File.h:83:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | extern int File_SetStatus(); | ^ 4 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_Busy.c In file included from File_Busy.c:34: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ File_Busy.c:62:40: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] 62 | (void)sprintf(buf,"%s.%d", old_name, time(NULL)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | %ld /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ File_Busy.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | _genbusy_name(old_name) | ^ 3 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_Filter.c In file included from File_Filter.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ File_Filter.c:40:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | static int run_filter(from, to, filter) | ^ File_Filter.c:85:12: warning: passing arguments to 'StringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | argv = Sentence(filter, SENTENCE_Size(filter)); | ^ ../build-include/util.h:110:52: note: expanded from macro 'Sentence' 110 | #define Sentence(set, len) ((SENTENCE *)StringArray(set, len)) | ^ File_Filter.c:89:26: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | if (! (String_Comparator(SENTENCE_String(argv, lupe), "%to"))) | ^ File_Filter.c:91:14: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | String_Free(SENTENCE_String(argv, lupe)); | ^ File_Filter.c:93:37: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | } else if (! (String_Comparator(SENTENCE_String(argv, lupe), | ^ File_Filter.c:96:18: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | String_Free(SENTENCE_String(argv, lupe)); | ^ File_Filter.c:122:18: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] 122 | switch(pid = vfork()) { | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:608:1: note: 'vfork' has been explicitly marked deprecated here 608 | __deprecated_msg("Use posix_spawn or fork") | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ File_Filter.c:135:24: warning: incompatible pointer types passing 'union wait *' to parameter of type 'int *' [-Wincompatible-pointer-types] 135 | if (waitpid(pid, &pidstatus, 0) == -1) | ^~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h:247:29: note: passing argument to parameter here 247 | pid_t waitpid(pid_t, int *, int) __DARWIN_ALIAS_C(waitpid); | ^ File_Filter.c:151:24: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | if (File_GetStatus(from, status, FALSE /* !followlinks */ ) < 0) { | ^ File_Filter.c:158:24: warning: passing arguments to 'File_SetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | if (File_SetStatus(newname, status, flags) < 0) { | ^ File_Filter.c:165:18: warning: passing arguments to 'File_Move' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | if (File_Move(newname, to) < 0) { | ^ File_Filter.c:177:18: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | Sentence_Free(argv); | ^ File_Filter.c:67:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | int File_Filter(from, to, status, flags, filter) | ^ In file included from File_Filter.c:38: ./File.h:84:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | extern int File_Filter(); | ^ 15 warnings generated. rm -f libfile.a ar rv libfile.a File_Copy.o File_CreateDirectory.o File_CreateLink.o File_CreateSymLink.o File_GetStatus.o File_Move.o File_ReadSymLink.o File_ListDirectory.o File_ListMatchesinDirectory.o File_RemoveDirectory.o File_RemovePath.o File_SetStatus.o File_Busy.o File_Filter.o ar: creating archive libfile.a a - File_Copy.o a - File_CreateDirectory.o a - File_CreateLink.o a - File_CreateSymLink.o a - File_GetStatus.o a - File_Move.o a - File_ReadSymLink.o a - File_ListDirectory.o a - File_ListMatchesinDirectory.o a - File_RemoveDirectory.o a - File_RemovePath.o a - File_SetStatus.o a - File_Busy.o a - File_Filter.o ranlib libfile.a /var/tmp/work/sysutils/depot/work/.tools/bin/install -c libfile.a ../build-lib//libfile.a /var/tmp/work/sysutils/depot/work/.tools/bin/install -c File.h ../build-include//File.h ### Done with /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/FileOps ### Making all in /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/Lock clang -O -DHAVE_CONFIG_H -I../build-include/ -c Lock.c In file included from Lock.c:55: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ Lock.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 | Lock_QueryLock(LockFile) | ^ In file included from Lock.c:57: ./Lock.h:41:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | extern char * Lock_QueryLock(); | ^ Lock.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | Lock_SetLock(LockFile) | ^ In file included from Lock.c:57: ./Lock.h:42:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | extern char * Lock_SetLock(); | ^ Lock.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 | Lock_RemoveLock(LockFile) | ^ In file included from Lock.c:57: ./Lock.h:44:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | extern void Lock_RemoveLock(); | ^ Lock.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | Lock_UnsetLock(LockFile) | ^ In file included from Lock.c:57: ./Lock.h:43:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | extern char * Lock_UnsetLock(); | ^ Lock.c:186:21: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | if (File_GetStatus(LockFile, &fs, 0) < 0) { | ^ Lock.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 | Lock_TestLock(LockFile) | ^ 11 warnings generated. rm -f liblock.a ar rv liblock.a Lock.o ar: creating archive liblock.a a - Lock.o ranlib liblock.a /var/tmp/work/sysutils/depot/work/.tools/bin/install -c liblock.a ../build-lib//liblock.a /var/tmp/work/sysutils/depot/work/.tools/bin/install -c Lock.h ../build-include//Lock.h ### Done with /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/Lock ### Making all in /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/FileSystemUtil clang -O -DHAVE_CONFIG_H -I../build-include/ -c FileSystem_Initialize.c In file included from FileSystem_Initialize.c:37: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ 1 warning generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c FileSystem_GetFSInfo.c In file included from FileSystem_GetFSInfo.c:37: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ FileSystem_GetFSInfo.c:42:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | int FileSystem_GetFSInfo(path, buffer, modtimep) | ^ In file included from FileSystem_GetFSInfo.c:39: ./FileSystem.h:39:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | extern int FileSystem_GetFSInfo(); | ^ 3 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c FileSystem_End.c In file included from FileSystem_End.c:37: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ 1 warning generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c AndrewFileSystem.c if [ -z "" ]; then clang -O -DHAVE_CONFIG_H -I../build-include/ -o LibAFS.o -c null.c ; else ld -r -o LibAFS.o AndrewFileSystem.o ; fi rm -f libfilesystemutil.a ar rv libfilesystemutil.a FileSystem_Initialize.o FileSystem_GetFSInfo.o FileSystem_End.o LibAFS.o ar: creating archive libfilesystemutil.a a - FileSystem_Initialize.o a - FileSystem_GetFSInfo.o a - FileSystem_End.o a - LibAFS.o ranlib libfilesystemutil.a /var/tmp/work/sysutils/depot/work/.tools/bin/install -c libfilesystemutil.a ../build-lib//libfilesystemutil.a /var/tmp/work/sysutils/depot/work/.tools/bin/install -c FileSystem.h ../build-include//FileSystem.h ### Done with /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/FileSystemUtil ### Making all in /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/FileSystemImage clang -O -DHAVE_CONFIG_H -I../build-include/ -c FileSystemImage_Read.c In file included from FileSystemImage_Read.c:39: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ FileSystemImage_Read.c:66:39: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | node = (FILESYSTEMIMAGE *) emalloc(sizeof(FILESYSTEMIMAGE)); | ^ FileSystemImage_Read.c:89:23: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | buf = (char *)emalloc(strlen(stringbegin) +1); | ^ FileSystemImage_Read.c:103:37: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | FILESYSTEMIMAGE_Name(node) = String(stringbegin, | ^ FileSystemImage_Read.c:156:39: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | FILESYSTEMIMAGE_Link(node) = String(scan, strlen(scan)); | ^ FileSystemImage_Read.c:159:44: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | FILESYSTEMIMAGE_FSMountID(node) = String(scan, strlen(scan)); | ^ FileSystemImage_Read.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | FileSystemImage_TreeRead(pptr, cnt) | ^ FileSystemImage_Read.c:202:21: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | if (File_GetStatus(fname, &stbuf, FALSE) < 0) { | ^ FileSystemImage_Read.c:218:19: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | fbuf = emalloc((size = FILESTAT_Size(&stbuf)) + 1); | ^ FileSystemImage_Read.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 | FileSystemImage_Read(fname) | ^ In file included from FileSystemImage_Read.c:42: ./FileSystemImage.h:95:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | extern FILESYSTEMIMAGE *FileSystemImage_Read( /* char *filename */ ); | ^ 11 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c FileSystemImage_Build.c In file included from FileSystemImage_Build.c:39: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ FileSystemImage_Build.c:71:45: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | fsimagenodep = (FILESYSTEMIMAGE *) emalloc(sizeof(FILESYSTEMIMAGE)); | ^ FileSystemImage_Build.c:80:48: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | FILESYSTEMIMAGE_Name(fsimagenodep) = String(nodename, strlen(nodename)); | ^ FileSystemImage_Build.c:92:11: warning: call to undeclared function 'FileSystem_GetFSInfo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | if (FileSystem_GetFSInfo(path, linkbuf, &fsmodtime) < 0) { | ^ FileSystemImage_Build.c:98:50: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | FILESYSTEMIMAGE_FSMountID(fsimagenodep) = String(linkbuf, | ^ FileSystemImage_Build.c:107:27: warning: passing arguments to 'File_ReadSymLink' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | if (File_ReadSymLink(path, linkbuf, MAXPATHLEN) < 0) { | ^ FileSystemImage_Build.c:111:45: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | FILESYSTEMIMAGE_Link(fsimagenodep) = String(linkbuf, | ^ FileSystemImage_Build.c:118:45: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | FILESYSTEMIMAGE_Link(fsimagenodep) = String(hardlinkname, | ^ FileSystemImage_Build.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | FileSystemImageNodeFromFileStatus(filestatus, path, nodename, | ^ FileSystemImage_Build.c:55:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | static FILESYSTEMIMAGE *FileSystemImageNodeFromFileStatus(); | ^ FileSystemImage_Build.c:157:26: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | (void) File_GetStatus(path, | ^ FileSystemImage_Build.c:164:40: warning: passing arguments to 'LinkTable_LocateLink' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | hardlinkname = LinkTable_LocateLink(linktablep, | ^ FileSystemImage_Build.c:178:30: warning: passing arguments to 'File_ListDirectory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | (void) File_ListDirectory(path, &childliststringset); | ^ FileSystemImage_Build.c:228:16: warning: passing arguments to 'LinkTable_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | LinkTable_Free(childlinktable); | ^ FileSystemImage_Build.c:231:23: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | StringArray_Free(childliststringset); | ^ FileSystemImage_Build.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 | FileSystemImage_TreeBuild(path, nodename, fsid, linktablep) | ^ FileSystemImage_Build.c:56:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | static FILESYSTEMIMAGE *FileSystemImage_TreeBuild(); | ^ FileSystemImage_Build.c:261:10: warning: call to undeclared function 'FileSystem_Initialize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 261 | (void) FileSystem_Initialize(); | ^ FileSystemImage_Build.c:265:26: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | (void) File_GetStatus(path, | ^ FileSystemImage_Build.c:293:51: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | FILESYSTEMIMAGE_FSMountID(fsimagep) = String("generic", | ^ FileSystemImage_Build.c:299:30: warning: passing arguments to 'File_ListDirectory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | (void) File_ListDirectory(path, &childliststringset); | ^ FileSystemImage_Build.c:343:16: warning: passing arguments to 'LinkTable_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | LinkTable_Free(childlinktable); | ^ FileSystemImage_Build.c:346:23: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | StringArray_Free(childliststringset); | ^ FileSystemImage_Build.c:348:10: warning: call to undeclared function 'FileSystem_End'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 348 | (void) FileSystem_End(); | ^ FileSystemImage_Build.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 | FileSystemImage_Build(path) | ^ In file included from FileSystemImage_Build.c:42: ./FileSystemImage.h:96:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | extern FILESYSTEMIMAGE *FileSystemImage_Build( /* char *filename */ ); | ^ FileSystemImage_Build.c:376:31: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | lp = (LINKTABLE *) emalloc(sizeof(LINKTABLE)); | ^ FileSystemImage_Build.c:379:28: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | lp->nodename = String(nodename, strlen(nodename)); | ^ FileSystemImage_Build.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 | LinkTable_LocateLink(linktablep, inode, nodename) | ^ FileSystemImage_Build.c:52: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 subsequent definition [-Wdeprecated-non-prototype] 52 | static char *LinkTable_LocateLink(); | ^ FileSystemImage_Build.c:400:16: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | String_Free(lp1->nodename); | ^ FileSystemImage_Build.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | LinkTable_Free(linktable) | ^ FileSystemImage_Build.c:53:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | static void LinkTable_Free(); | ^ 33 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c FileSystemImage_Write.c In file included from FileSystemImage_Write.c:39: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ FileSystemImage_Write.c:54:24: warning: passing arguments to 'quotedfputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | (void)quotedfputs(FILESYSTEMIMAGE_Name(node), ' ', out); | ^ FileSystemImage_Write.c:78:23: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] 78 | fprintf(out, "%d", FILESYSTEMIMAGE_DTime(node)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | %ld ./FileSystemImage.h:56:35: note: expanded from macro 'FILESYSTEMIMAGE_DTime' 56 | #define FILESYSTEMIMAGE_DTime(fp) ((fp)->dtime) | ^~~~~~~~~~~~~ FileSystemImage_Write.c:84:21: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 84 | fprintf(out, "%d ",FILESYSTEMIMAGE_Size(node)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ | %zu ./FileSystemImage.h:54:34: note: expanded from macro 'FILESYSTEMIMAGE_Size' 54 | #define FILESYSTEMIMAGE_Size(fp) ((fp)->size) | ^~~~~~~~~~~~ FileSystemImage_Write.c:86:21: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] 86 | fprintf(out, "%d", FILESYSTEMIMAGE_MTime(node)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | %ld ./FileSystemImage.h:55:35: note: expanded from macro 'FILESYSTEMIMAGE_MTime' 55 | #define FILESYSTEMIMAGE_MTime(fp) ((fp)->mtime) | ^~~~~~~~~~~~~ FileSystemImage_Write.c:101:23: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 101 | fprintf(out, "%d", FILESYSTEMIMAGE_Count(node)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | %lu ./FileSystemImage.h:57:35: note: expanded from macro 'FILESYSTEMIMAGE_Count' 57 | #define FILESYSTEMIMAGE_Count(fp) ((fp)->count) | ^~~~~~~~~~~~~ FileSystemImage_Write.c:46:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | static void FileSystemImage_TreeWrite(out, node, level) | ^ FileSystemImage_Write.c:116:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | static int nodecount(node) | ^ FileSystemImage_Write.c:133:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | void FileSystemImage_Write(out, node) | ^ In file included from FileSystemImage_Write.c:42: ./FileSystemImage.h:94:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | extern void FileSystemImage_Write( /* FILE *out, FILESYSTEMIMAGE *root */ ); | ^ 10 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c FileSystemImage_Locate.c In file included from FileSystemImage_Locate.c:38: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ FileSystemImage_Locate.c:71:48: warning: passing arguments to 'StringToStringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | targetpathstringarray = StringToStringArray(pathtonode, | ^ FileSystemImage_Locate.c:87:51: warning: passing arguments to 'FileSystemImage_LocateChildNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | childnodep = FileSystemImage_LocateChildNode(childnodep, *sp, cname); | ^ FileSystemImage_Locate.c:91:21: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | StringArray_Free(targetpathstringarray); | ^ FileSystemImage_Locate.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | FileSystemImage_LocateNode(fsimagep, pathtonode, cname) | ^ In file included from FileSystemImage_Locate.c:41: ./FileSystemImage.h:97:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | extern FILESYSTEMIMAGE *FileSystemImage_LocateNode(/* FILESYSTEMIMAGE *fsimagep, | ^ FileSystemImage_Locate.c:123:28: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | if (String_Comparator(childname, FILESYSTEMIMAGE_Name(fp)) == 0) { | ^ FileSystemImage_Locate.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 | FileSystemImage_LocateChildNode(fsimagep, childname, cname) | ^ FileSystemImage_Locate.c:44:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | static FILESYSTEMIMAGE *FileSystemImage_LocateChildNode(); | ^ 9 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c FileSystemImageUtil.c In file included from FileSystemImageUtil.c:38: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ FileSystemImageUtil.c:60:13: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | String_Free(FILESYSTEMIMAGE_Name(ip)); | ^ FileSystemImageUtil.c:62:13: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | String_Free(FILESYSTEMIMAGE_Link(ip)); | ^ FileSystemImageUtil.c:44:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | void FileSystemImage_Free(fsimagep) | ^ In file included from FileSystemImageUtil.c:41: ./FileSystemImage.h:100:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | extern void FileSystemImage_Free(); | ^ 5 warnings generated. rm -f libfilesystemimage.a ar rv libfilesystemimage.a FileSystemImage_Read.o FileSystemImage_Build.o FileSystemImage_Write.o FileSystemImage_Locate.o FileSystemImageUtil.o ar: creating archive libfilesystemimage.a a - FileSystemImage_Read.o a - FileSystemImage_Build.o a - FileSystemImage_Write.o a - FileSystemImage_Locate.o a - FileSystemImageUtil.o ranlib libfilesystemimage.a /var/tmp/work/sysutils/depot/work/.tools/bin/install -c libfilesystemimage.a ../build-lib//libfilesystemimage.a /var/tmp/work/sysutils/depot/work/.tools/bin/install -c FileSystemImage.h ../build-include//FileSystemImage.h ### Done with /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/FileSystemImage ### Making all in /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/Hint clang -O -DHAVE_CONFIG_H -I../build-include/ -c Hint_CollectAllHints.c In file included from Hint_CollectAllHints.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ Hint_CollectAllHints.c:52:39: warning: passing arguments to 'Hint_Tree_CollectAllHints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | hintinfo = Hint_Tree_CollectAllHints(hintinfo, fsimage, ""/*pathtonode*/); | ^ Hint_CollectAllHints.c:44:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | HINTDB Hint_CollectAllHints(fsimage) | ^ In file included from Hint_CollectAllHints.c:40: ./Hint.h:51:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | extern HINTDB Hint_CollectAllHints(); | ^ Hint_CollectAllHints.c:90:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 89 | (void)sprintf(HINT_UniqueID(&hint), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 90 | FILESYSTEMIMAGE_FSMountID(fsp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../build-include/FileSystemImage.h:60:39: note: expanded from macro 'FILESYSTEMIMAGE_FSMountID' 60 | #define FILESYSTEMIMAGE_FSMountID(fp) ((fp)->link) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ Hint_CollectAllHints.c:90:8: note: treat the string as an argument to avoid this 90 | FILESYSTEMIMAGE_FSMountID(fsp)); | ^ | "%s", ../build-include/FileSystemImage.h:60:39: note: expanded from macro 'FILESYSTEMIMAGE_FSMountID' 60 | #define FILESYSTEMIMAGE_FSMountID(fp) ((fp)->link) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ Hint_CollectAllHints.c:92:30: warning: passing arguments to 'HintDB_InsertHint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | hp = HintDB_InsertHint(hp, &hint, FALSE/*!OverWrite*/); | ^ Hint_CollectAllHints.c:58:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | static HINTDB Hint_Tree_CollectAllHints(hintinfo, fsimage, pathtonode) | ^ Hint_CollectAllHints.c:42:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | static HINTDB Hint_Tree_CollectAllHints(); | ^ 8 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c Hint_CollectPathHints.c In file included from Hint_CollectPathHints.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ Hint_CollectPathHints.c:99:34: warning: passing arguments to 'HintDB_InsertHint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | hintinfo = HintDB_InsertHint(hintinfo, &hint, FALSE/*!OverWrite*/); | ^ Hint_CollectPathHints.c:43:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | HINTDB Hint_CollectPathHints(fsimage, pathlist) | ^ In file included from Hint_CollectPathHints.c:40: ./Hint.h:52:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | extern HINTDB Hint_CollectPathHints(); | ^ 4 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c HintDB_GetHint.c In file included from HintDB_GetHint.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ HintDB_GetHint.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | HintDB_GetHint(hintdb, path) | ^ In file included from HintDB_GetHint.c:40: ./Hint.h:54: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 subsequent definition [-Wdeprecated-non-prototype] 54 | extern HINT *HintDB_GetHint(); | ^ 3 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c HintDB_GetRelatedHints.c In file included from HintDB_GetRelatedHints.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ HintDB_GetRelatedHints.c:73:37: warning: passing arguments to 'HintDB_InsertHint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | relatedhintdb = HintDB_InsertHint(relatedhintdb, *hpp, | ^ HintDB_GetRelatedHints.c:94:37: warning: passing arguments to 'HintDB_InsertHint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | relatedhintdb = HintDB_InsertHint(relatedhintdb, *hpp, | ^ HintDB_GetRelatedHints.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | HintDB_GetRelatedHints(hintdb, pathprefix) | ^ In file included from HintDB_GetRelatedHints.c:40: ./Hint.h:55:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | extern HINTDB HintDB_GetRelatedHints(); | ^ 5 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c HintDB_MergeHintDB.c In file included from HintDB_MergeHintDB.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ HintDB_MergeHintDB.c:68:31: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | newdb = (HINTDB )emalloc(sizeof(HINT *)); | ^ HintDB_MergeHintDB.c:76:32: warning: passing arguments to 'HintDB_InsertHint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | newdb = HintDB_InsertHint(newdb, *hp, OverWrite); | ^ HintDB_MergeHintDB.c:51:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | HINTDB HintDB_MergeHintDB(hintdb, deltadb, OverWrite) | ^ In file included from HintDB_MergeHintDB.c:40: ./Hint.h:57:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | extern HINTDB HintDB_MergeHintDB(); | ^ 5 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c HintDB_InsertHint.c In file included from HintDB_InsertHint.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ HintDB_InsertHint.c:71:31: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | newdb = (HINTDB) emalloc(sizeof(HINT *)); | ^ HintDB_InsertHint.c:100:25: warning: passing arguments to 'HintDB_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | ArraySize = HintDB_Size(newdb) + 1; | ^ HintDB_InsertHint.c:104:27: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | newdb = (HINTDB) erealloc((char *) newdb, | ^ HintDB_InsertHint.c:115:26: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | *hp = (HINT *) emalloc(sizeof(HINT)); | ^ HintDB_InsertHint.c:117:33: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | HINT_PathName(*hp) = String(HINT_PathName(hintp), | ^ HintDB_InsertHint.c:119:33: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | HINT_UniqueID(*hp) = String(HINT_UniqueID(hintp), | ^ HintDB_InsertHint.c:127:25: warning: passing arguments to 'HintDB_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | ArraySize = HintDB_Size(newdb) + 1; | ^ HintDB_InsertHint.c:140:27: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | newdb = (HINTDB) erealloc((char *) newdb, | ^ HintDB_InsertHint.c:151:29: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | HINT_PathName(*hp) = String(HINT_PathName(hintp), | ^ HintDB_InsertHint.c:153:29: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | HINT_UniqueID(*hp) = String(HINT_UniqueID(hintp), | ^ HintDB_InsertHint.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 | HintDB_InsertHint(hintdb, hintp, OverWrite) | ^ In file included from HintDB_InsertHint.c:40: ./Hint.h:56:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | extern HINTDB HintDB_InsertHint(); | ^ 13 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c HintDB_SetPathPrefix.c In file included from HintDB_SetPathPrefix.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ HintDB_SetPathPrefix.c:71:32: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | HINT_PathName(*hp) = String(pathprefix, strlen(pathprefix)); | ^ HintDB_SetPathPrefix.c:75:30: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | newpath = (char *)emalloc(strlen(pathprefix) | ^ HintDB_SetPathPrefix.c:49:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | HINTDB HintDB_SetPathPrefix(hintdb, pathprefix) | ^ In file included from HintDB_SetPathPrefix.c:40: ./Hint.h:59:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | extern HINTDB HintDB_SetPathPrefix(); | ^ 5 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c HintDB_UnsetPathPrefix.c In file included from HintDB_UnsetPathPrefix.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ HintDB_UnsetPathPrefix.c:76:32: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | newpath = (char *) emalloc(2); | ^ HintDB_UnsetPathPrefix.c:80:32: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | newpath = (char *) emalloc(strlen(HINT_PathName(*hp)) | ^ HintDB_UnsetPathPrefix.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 | HintDB_UnsetPathPrefix(hintdb, pathprefix) | ^ In file included from HintDB_UnsetPathPrefix.c:40: ./Hint.h:60:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 60 | extern HINTDB HintDB_UnsetPathPrefix(); | ^ 5 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c HintDB_Read.c In file included from HintDB_Read.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ HintDB_Read.c:47:26: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | hintp = (HINT *)emalloc(sizeof(HINT)); | ^ HintDB_Read.c:49:39: warning: passing arguments to 'efgetstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | HINT_PathName(hintp) = efgetstring(fp, '\\' /* quotechar */); | ^ HintDB_Read.c:51:39: warning: passing arguments to 'efgetstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | HINT_UniqueID(hintp) = efgetstring(fp, '\\' /* quotechar */); | ^ HintDB_Read.c:53:44: warning: passing arguments to 'efgetlong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | HINT_ModTime(hintp) = (time_t)efgetlong(fp); | ^ HintDB_Read.c:42:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | static HINT *Hint_Read(fp) | ^ HintDB_Read.c:72:29: warning: passing arguments to 'efgetunsigned' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | hintdbsize = efgetunsigned(fp); | ^ HintDB_Read.c:76:26: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | hintdb = (HINTDB)emalloc((hintdbsize+1)*sizeof(HINT *)); | ^ HintDB_Read.c:63:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | HINTDB HintDB_Read(fp) | ^ In file included from HintDB_Read.c:39: ./Hint.h:48:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | extern HINTDB HintDB_Read(); | ^ 10 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c HintDB_Write.c In file included from HintDB_Write.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ HintDB_Write.c:72:16: warning: passing arguments to 'String_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | String_Write(fp, HINT_PathName(hintp), | ^ HintDB_Write.c:84:16: warning: passing arguments to 'String_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | String_Write(fp, HINT_UniqueID(hintp), | ^ HintDB_Write.c:92:24: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] 92 | fprintf(fp, "%d\n", HINT_ModTime(hintp)); | ~~ ^~~~~~~~~~~~~~~~~~~ | %ld ./Hint.h:43:26: note: expanded from macro 'HINT_ModTime' 43 | #define HINT_ModTime(hp) ((hp)->modtime) | ^~~~~~~~~~~~~~~ HintDB_Write.c:55:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | static int Hint_Write(fp, hintp) | ^ HintDB_Write.c:52:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | static int Hint_Write(); | ^ HintDB_Write.c:112:27: warning: passing arguments to 'HintDB_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | hintdbsize = HintDB_Size(hintdb); | ^ HintDB_Write.c:104:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | int HintDB_Write(fp, hintdb) | ^ In file included from HintDB_Write.c:39: ./Hint.h:49:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | extern int HintDB_Write(); | ^ 9 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c HintUtil.c In file included from HintUtil.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ HintUtil.c:63:29: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | hintp = (HINT *) emalloc(sizeof(HINT)); | ^ HintUtil.c:65:34: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | HINT_PathName(hintp) = String(pathname, strlen(pathname)); | ^ HintUtil.c:66:34: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | HINT_UniqueID(hintp) = String(uniqueid, strlen(uniqueid)); | ^ HintUtil.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | Hint_Create(pathname, uniqueid, modtime) | ^ In file included from HintUtil.c:40: ./Hint.h:62: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 subsequent definition [-Wdeprecated-non-prototype] 62 | extern HINT *Hint_Create(); | ^ HintUtil.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 | Hint_Free(hintp) | ^ In file included from HintUtil.c:40: ./Hint.h:66:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | extern void Hint_Free(); | ^ HintUtil.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 | HintDB_Free(hintdb) | ^ In file included from HintUtil.c:40: ./Hint.h:67:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | extern void HintDB_Free(); | ^ HintUtil.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 | HintDB_Size(hintdb) | ^ In file included from HintUtil.c:40: ./Hint.h:63:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | extern unsigned int HintDB_Size(); | ^ HintUtil.c:145:31: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | else if (String_Comparator(HINT_UniqueID(hp1), | ^ HintUtil.c:148:31: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | else if (String_Comparator(HINT_PathName(hp1), | ^ HintUtil.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | Hint_Comparator(hp1, hp2) | ^ HintUtil.c:43:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | Boolean Hint_Comparator(); | ^ HintUtil.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 | HintDB_Comparator(hintdb1, hintdb2) | ^ In file included from HintUtil.c:40: ./Hint.h:65:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | extern Boolean HintDB_Comparator(); | ^ HintUtil.c:203:4: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] 200 | fprintf(fp, "PATH: %s\tID:%s\tmodtime=%d\n", | ~~ | %ld 201 | HINT_PathName(hint), 202 | HINT_UniqueID(hint), 203 | HINT_ModTime(hint)); | ^~~~~~~~~~~~~~~~~~ ./Hint.h:43:26: note: expanded from macro 'HINT_ModTime' 43 | #define HINT_ModTime(hp) ((hp)->modtime) | ^~~~~~~~~~~~~~~ HintUtil.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | Hint_Dump(fp,hint) | ^ HintUtil.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | HintDB_Dump(fp,hdb) | ^ 21 warnings generated. rm -f libhint.a ar rv libhint.a Hint_CollectAllHints.o Hint_CollectPathHints.o HintDB_GetHint.o HintDB_GetRelatedHints.o HintDB_MergeHintDB.o HintDB_InsertHint.o HintDB_SetPathPrefix.o HintDB_UnsetPathPrefix.o HintDB_Read.o HintDB_Write.o HintUtil.o ar: creating archive libhint.a a - Hint_CollectAllHints.o a - Hint_CollectPathHints.o a - HintDB_GetHint.o a - HintDB_GetRelatedHints.o a - HintDB_MergeHintDB.o a - HintDB_InsertHint.o a - HintDB_SetPathPrefix.o a - HintDB_UnsetPathPrefix.o a - HintDB_Read.o a - HintDB_Write.o a - HintUtil.o ranlib libhint.a /var/tmp/work/sysutils/depot/work/.tools/bin/install -c libhint.a ../build-lib//libhint.a /var/tmp/work/sysutils/depot/work/.tools/bin/install -c Hint.h ../build-include//Hint.h ### Done with /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/Hint ### Making all in /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/HintService clang -O -DHAVE_CONFIG_H -I../build-include/ -c HintService_GetHint.c In file included from HintService_GetHint.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ HintService_GetHint.c:55:43: warning: passing arguments to 'HintService_ReadHintFromLocation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | hintp = HintService_ReadHintFromLocation(hintlocation, path); | ^ HintService_GetHint.c:49:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | HINT *HintService_GetHint(path, hintlocation) | ^ In file included from HintService_GetHint.c:41: ./HintService.h:31: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 subsequent definition [-Wdeprecated-non-prototype] 31 | extern HINT *HintService_GetHint(); | ^ HintService_GetHint.c:79:23: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | (void)File_GetStatus(hintlocation, &hintlocationstatus, FALSE/*followlinks*/); | ^ HintService_GetHint.c:82:22: warning: passing arguments to 'efopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | hintfd = efopen(hintlocation, "r"); | ^ HintService_GetHint.c:134:26: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | hp = (HINT *)emalloc(sizeof(HINT)); | ^ HintService_GetHint.c:162:31: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | HINT_PathName(hp) = String(lasthintpath + 5,/*offset "PATH "*/ | ^ HintService_GetHint.c:164:31: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | HINT_UniqueID(hp) = String(hintid + 3, /* offset "ID " */ | ^ HintService_GetHint.c:64:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | static HINT *HintService_ReadHintFromLocation(hintlocation, path) | ^ HintService_GetHint.c:44: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 subsequent definition [-Wdeprecated-non-prototype] 44 | static HINT *HintService_ReadHintFromLocation(); | ^ 11 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c HintService_GetRelatedHints.c In file included from HintService_GetRelatedHints.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ HintService_GetRelatedHints.c:56:52: warning: passing arguments to 'HintService_ReadRelatedHintsFromLocation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | hintdb = HintService_ReadRelatedHintsFromLocation(hintlocation, pathprefix); | ^ HintService_GetRelatedHints.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | HintService_GetRelatedHints(pathprefix, hintlocation) | ^ In file included from HintService_GetRelatedHints.c:41: ./HintService.h:32:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 32 | extern HINTDB HintService_GetRelatedHints(); | ^ HintService_GetRelatedHints.c:78:24: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | (void) File_GetStatus(hintlocation, &hintlocationstatus, FALSE /* followlinks */ ); | ^ HintService_GetRelatedHints.c:80:20: warning: passing arguments to 'efopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | hintfd = efopen(hintlocation, "r"); | ^ HintService_GetRelatedHints.c:144:30: warning: passing arguments to 'HintDB_InsertHint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | hintdb = HintDB_InsertHint(hintdb, &hint, TRUE /* OverWrite */ ); | ^ HintService_GetRelatedHints.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | HintService_ReadRelatedHintsFromLocation(hintlocation, pathprefix) | ^ HintService_GetRelatedHints.c:44:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | static HINTDB HintService_ReadRelatedHintsFromLocation(); | ^ 9 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c HintService_SetHint.c In file included from HintService_SetHint.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ HintService_SetHint.c:58:39: warning: passing arguments to 'HintService_GetRelatedHints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | hintdb = HintService_GetRelatedHints(""/*pathprefix*/, hintlocation); | ^ HintService_SetHint.c:60:31: warning: passing arguments to 'HintDB_InsertHint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | hintdb = HintDB_InsertHint(hintdb, hintinfo, TRUE /*OverWrite*/); | ^ HintService_SetHint.c:62:43: warning: passing arguments to 'HintService_WriteHintsToLocation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | (void)HintService_WriteHintsToLocation(hintdb, hintlocation); | ^ HintService_SetHint.c:52:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | HINT *HintService_SetHint(hintinfo, hintlocation) | ^ In file included from HintService_SetHint.c:41: ./HintService.h:33: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 subsequent definition [-Wdeprecated-non-prototype] 33 | extern HINT *HintService_SetHint(); | ^ HintService_SetHint.c:74:18: warning: passing arguments to 'efopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | hintfd = efopen(hintlocation, "w"); | ^ HintService_SetHint.c:77:30: warning: passing arguments to 'HintService_WriteToFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | HintService_WriteToFile(hintfd, hintdb); | ^ HintService_SetHint.c:68:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | static Boolean HintService_WriteHintsToLocation(hintdb, hintlocation) | ^ HintService_SetHint.c:44:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | static Boolean HintService_WriteHintsToLocation(); | ^ HintService_SetHint.c:103:9: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] 101 | fprintf(out, "PATH %s\nID %s\nMODTIME %d\n", | ~~ | %ld 102 | HINT_PathName(*hp), HINT_UniqueID(*hp), 103 | HINT_ModTime(*hp)); | ^~~~~~~~~~~~~~~~~ ../build-include/Hint.h:43:26: note: expanded from macro 'HINT_ModTime' 43 | #define HINT_ModTime(hp) ((hp)->modtime) | ^~~~~~~~~~~~~~~ HintService_SetHint.c:85:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | static void HintService_WriteToFile(out, hintdb) | ^ HintService_SetHint.c:45:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | static void HintService_WriteToFile(); | ^ 13 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c HintService_UnsetRelatedHints.c In file included from HintService_UnsetRelatedHints.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ HintService_UnsetRelatedHints.c:62:39: warning: passing arguments to 'HintService_GetRelatedHints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | hintdb = HintService_GetRelatedHints("" /* pathprefix */ , hintlocation); | ^ HintService_UnsetRelatedHints.c:64:43: warning: passing arguments to 'HintDB_GetRelatedHints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | relatedhintdb = HintDB_GetRelatedHints(hintdb, pathprefix); | ^ HintService_UnsetRelatedHints.c:72:28: warning: passing arguments to 'HintDB_InsertHint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | hintdb = HintDB_InsertHint(hintdb, *hpp, TRUE /* OverWrite */ ); | ^ HintService_UnsetRelatedHints.c:76:46: warning: passing arguments to 'HintService_WriteHintsToLocation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | (void) HintService_WriteHintsToLocation(hintdb, hintlocation); | ^ HintService_UnsetRelatedHints.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | HintService_UnsetRelatedHints(pathprefix, hintlocation) | ^ In file included from HintService_UnsetRelatedHints.c:41: ./HintService.h:34:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | extern Boolean HintService_UnsetRelatedHints(); | ^ HintService_UnsetRelatedHints.c:89:18: warning: passing arguments to 'efopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | hintfd = efopen(hintlocation, "w"); | ^ HintService_UnsetRelatedHints.c:91:28: warning: passing arguments to 'HintService_WriteToFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | HintService_WriteToFile(hintfd, hintdb); | ^ HintService_UnsetRelatedHints.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | HintService_WriteHintsToLocation(hintdb, hintlocation) | ^ HintService_UnsetRelatedHints.c:44:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | static Boolean HintService_WriteHintsToLocation(); | ^ HintService_UnsetRelatedHints.c:112:3: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] 110 | fprintf(out, "PATH %s\nID %s\nMODTIME %d\n", | ~~ | %ld 111 | HINT_PathName(*hp), HINT_UniqueID(*hp), 112 | HINT_ModTime(*hp)); | ^~~~~~~~~~~~~~~~~ ../build-include/Hint.h:43:26: note: expanded from macro 'HINT_ModTime' 43 | #define HINT_ModTime(hp) ((hp)->modtime) | ^~~~~~~~~~~~~~~ HintService_UnsetRelatedHints.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 | HintService_WriteToFile(out, hintdb) | ^ HintService_UnsetRelatedHints.c:45:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | static void HintService_WriteToFile(); | ^ 14 warnings generated. rm -f libhintservice.a ar rv libhintservice.a HintService_GetHint.o HintService_GetRelatedHints.o HintService_SetHint.o HintService_UnsetRelatedHints.o ar: creating archive libhintservice.a a - HintService_GetHint.o a - HintService_GetRelatedHints.o a - HintService_SetHint.o a - HintService_UnsetRelatedHints.o ranlib libhintservice.a /var/tmp/work/sysutils/depot/work/.tools/bin/install -c libhintservice.a ../build-lib//libhintservice.a /var/tmp/work/sysutils/depot/work/.tools/bin/install -c HintService.h ../build-include//HintService.h ### Done with /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/HintService ### Making all in /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/DepotConf /usr/bin/yacc -d GlobalDepotConf_Read.y conflicts: 1 shift/reduce /opt/pkg/bin/nbsed -e 's/yy/GlobalDepotConf_Read_/g' -e 's/YY/GLOBALDEPOTCONF_READ_/g' y.tab.c > GlobalDepotConf_Read.c /opt/pkg/bin/nbsed -e 's/yy/GlobalDepotConf_Read_/g' -e 's/YY/GLOBALDEPOTCONF_READ_/g' y.tab.h > GlobalDepotConf_Read.h rm -f y.tab.c y.tab.h clang -O -DHAVE_CONFIG_H -I../build-include/ -c GlobalDepotConf_Read.c In file included from GlobalDepotConf_Read.y:40: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ y.tab.c:1289:35: warning: call to undeclared function 'GlobalDepotConf_Read_lex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1289 | GlobalDepotConf_Read_char = GLOBALDEPOTCONF_READ_LEX; | ^ y.tab.c:645:35: note: expanded from macro 'GLOBALDEPOTCONF_READ_LEX' 645 | # define GLOBALDEPOTCONF_READ_LEX GlobalDepotConf_Read_lex () | ^ GlobalDepotConf_Read.y:111:23: warning: passing arguments to 'DepotConfDB_Map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | DepotConfDB_Map(GlobalDepotConf_Read_DB, (GlobalDepotConf_Read_vsp[(1) - (2)].strval), (GlobalDepotConf_Read_vsp[(2) - (2)].strval), (GlobalDepotConf_Read_vsp[(2) - (2)].strval)); | ^ GlobalDepotConf_Read.y:112:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | String_Free((GlobalDepotConf_Read_vsp[(1) - (2)].strval)); | ^ GlobalDepotConf_Read.y:113:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | String_Free((GlobalDepotConf_Read_vsp[(2) - (2)].strval)); | ^ GlobalDepotConf_Read.y:120:23: warning: passing arguments to 'DepotConfDB_Map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | DepotConfDB_Map(GlobalDepotConf_Read_DB, (GlobalDepotConf_Read_vsp[(1) - (3)].strval), (GlobalDepotConf_Read_vsp[(2) - (3)].strval), (GlobalDepotConf_Read_vsp[(3) - (3)].strval)); | ^ GlobalDepotConf_Read.y:121:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | String_Free((GlobalDepotConf_Read_vsp[(1) - (3)].strval)); | ^ GlobalDepotConf_Read.y:122:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | String_Free((GlobalDepotConf_Read_vsp[(2) - (3)].strval)); String_Free((GlobalDepotConf_Read_vsp[(3) - (3)].strval)); | ^ GlobalDepotConf_Read.y:122:76: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | String_Free((GlobalDepotConf_Read_vsp[(2) - (3)].strval)); String_Free((GlobalDepotConf_Read_vsp[(3) - (3)].strval)); | ^ GlobalDepotConf_Read.y:129:23: warning: passing arguments to 'DepotConfDB_Map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | DepotConfDB_Map(GlobalDepotConf_Read_DB, (GlobalDepotConf_Read_vsp[(1) - (3)].strval), (GlobalDepotConf_Read_vsp[(3) - (3)].strval), (GlobalDepotConf_Read_vsp[(3) - (3)].strval)); | ^ GlobalDepotConf_Read.y:130:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | String_Free((GlobalDepotConf_Read_vsp[(1) - (3)].strval)); | ^ GlobalDepotConf_Read.y:131:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | String_Free((GlobalDepotConf_Read_vsp[(3) - (3)].strval)); | ^ GlobalDepotConf_Read.y:138:23: warning: passing arguments to 'DepotConfDB_Map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | DepotConfDB_Map(GlobalDepotConf_Read_DB, (GlobalDepotConf_Read_vsp[(1) - (4)].strval), (GlobalDepotConf_Read_vsp[(3) - (4)].strval), (GlobalDepotConf_Read_vsp[(4) - (4)].strval)); | ^ GlobalDepotConf_Read.y:139:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | String_Free((GlobalDepotConf_Read_vsp[(1) - (4)].strval)); | ^ GlobalDepotConf_Read.y:140:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | String_Free((GlobalDepotConf_Read_vsp[(3) - (4)].strval)); String_Free((GlobalDepotConf_Read_vsp[(4) - (4)].strval)); | ^ GlobalDepotConf_Read.y:140:76: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | String_Free((GlobalDepotConf_Read_vsp[(3) - (4)].strval)); String_Free((GlobalDepotConf_Read_vsp[(4) - (4)].strval)); | ^ GlobalDepotConf_Read.y:147:26: warning: passing arguments to 'DepotConfDB_Delete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | DepotConfDB_Delete(GlobalDepotConf_Read_DB, (GlobalDepotConf_Read_vsp[(1) - (3)].strval), (GlobalDepotConf_Read_vsp[(3) - (3)].strval)); | ^ GlobalDepotConf_Read.y:148:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | String_Free((GlobalDepotConf_Read_vsp[(1) - (3)].strval)); | ^ GlobalDepotConf_Read.y:149:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | String_Free((GlobalDepotConf_Read_vsp[(3) - (3)].strval)); | ^ GlobalDepotConf_Read.y:156:27: warning: passing arguments to 'DepotConfDB_Command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | DepotConfDB_Command(GlobalDepotConf_Read_DB, (GlobalDepotConf_Read_vsp[(1) - (4)].strval), (GlobalDepotConf_Read_vsp[(3) - (4)].strval), (GlobalDepotConf_Read_vsp[(4) - (4)].strarrval)); | ^ GlobalDepotConf_Read.y:157:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | String_Free((GlobalDepotConf_Read_vsp[(1) - (4)].strval)); | ^ GlobalDepotConf_Read.y:158:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | String_Free((GlobalDepotConf_Read_vsp[(3) - (4)].strval)); StringArray_Free((GlobalDepotConf_Read_vsp[(4) - (4)].strarrval)); | ^ GlobalDepotConf_Read.y:158:81: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | String_Free((GlobalDepotConf_Read_vsp[(3) - (4)].strval)); StringArray_Free((GlobalDepotConf_Read_vsp[(4) - (4)].strarrval)); | ^ GlobalDepotConf_Read.y:165:33: warning: passing arguments to 'DepotConfDB_DeleteCommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | DepotConfDB_DeleteCommand(GlobalDepotConf_Read_DB, (GlobalDepotConf_Read_vsp[(1) - (3)].strval), (GlobalDepotConf_Read_vsp[(3) - (3)].strval)); | ^ GlobalDepotConf_Read.y:166:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | String_Free((GlobalDepotConf_Read_vsp[(1) - (3)].strval)); | ^ GlobalDepotConf_Read.y:167:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | String_Free((GlobalDepotConf_Read_vsp[(3) - (3)].strval)); | ^ GlobalDepotConf_Read.y:181:69: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | (GlobalDepotConf_Read_val.strarrval) = StringArray_AppendString((GlobalDepotConf_Read_vsp[(1) - (2)].strarrval), (GlobalDepotConf_Read_vsp[(2) - (2)].strval)); | ^ GlobalDepotConf_Read.y:182:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | String_Free((GlobalDepotConf_Read_vsp[(2) - (2)].strval)); | ^ y.tab.c:1538:7: warning: call to undeclared function 'GlobalDepotConf_Read_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1538 | GlobalDepotConf_Read_error (GLOBALDEPOTCONF_READ__("syntax error")); | ^ y.tab.c:1684:3: warning: call to undeclared function 'GlobalDepotConf_Read_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1684 | GlobalDepotConf_Read_error (GLOBALDEPOTCONF_READ__("memory exhausted")); | ^ GlobalDepotConf_Read.y:189:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 189 | GlobalDepotConf_Read_error(str) | ^ | int GlobalDepotConf_Read.y: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] GlobalDepotConf_Read.y:194:1: warning: non-void function does not return a value [-Wreturn-type] 194 | } | ^ GlobalDepotConf_Read.y:197:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 197 | GlobalDepotConf_Read_wrap() | ^ | int GlobalDepotConf_Read.y:206:51: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | GlobalDepotConf_Read_DB = (DEPOTCONFDB *)emalloc(sizeof(DEPOTCONFDB)); | ^ GlobalDepotConf_Read.y:213:3: warning: call to undeclared function 'GlobalDepotConf_Read_parseinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 213 | GlobalDepotConf_Read_parseinit(); | ^ GlobalDepotConf_Read.y:201:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | DEPOTCONFDB *GlobalDepotConfDB_Read(fp) | ^ In file included from GlobalDepotConf_Read.y:42: ./DepotConf.h:61:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | extern DEPOTCONFDB *GlobalDepotConfDB_Read(); | ^ 38 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c GlobalDepotConf_Read.o ../objdir//GlobalDepotConf_Read.o /usr/bin/lex -l GlobalDepotConf_Parse.l /opt/pkg/bin/nbsed -e 's/yy/GlobalDepotConf_Read_/g' -e 's/YY/GLOBALDEPOTCONF_READ_/g' lex.yy.c > GlobalDepotConf_Parse.c rm -f lex.yy.c clang -O -DHAVE_CONFIG_H -I../build-include/ -c GlobalDepotConf_Parse.c In file included from GlobalDepotConf_Parse.l:39: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ GlobalDepotConf_Parse.l:77:37: warning: passing arguments to 'DepotConf_SpecType' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | spectype = DepotConf_SpecType(GlobalDepotConf_Read_text+1); | ^ GlobalDepotConf_Parse.l:97:5: warning: call to undeclared function 'GlobalDepotConf_Read_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | GlobalDepotConf_Read_error(GlobalDepotConf_Read_errormessage); | ^ GlobalDepotConf_Parse.l:105:47: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | GlobalDepotConf_Read_lval.strval=String(GlobalDepotConf_Read_text, strlen(GlobalDepotConf_Read_text)); | ^ GlobalDepotConf_Parse.l:115:37: warning: passing arguments to 'DepotConf_SpecType' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | spectype = DepotConf_SpecType(GlobalDepotConf_Read_text+1); | ^ GlobalDepotConf_Parse.l:135:5: warning: call to undeclared function 'GlobalDepotConf_Read_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | GlobalDepotConf_Read_error(GlobalDepotConf_Read_errormessage); | ^ GlobalDepotConf_Parse.l:143:60: warning: passing arguments to 'String_RemoveQuotes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | GlobalDepotConf_Read_lval.strval=String_RemoveQuotes(GlobalDepotConf_Read_text, '\\'); | ^ GlobalDepotConf_Parse.l:153:45: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | GlobalDepotConf_Read_lval.strval = String(GlobalDepotConf_Read_text, strlen(GlobalDepotConf_Read_text)); | ^ GlobalDepotConf_Parse.l:161:58: warning: passing arguments to 'String_RemoveQuotes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | GlobalDepotConf_Read_lval.strval = String_RemoveQuotes(GlobalDepotConf_Read_text, '\\'); | ^ GlobalDepotConf_Parse.l:169:45: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | GlobalDepotConf_Read_lval.strval = String(GlobalDepotConf_Read_text, strlen(GlobalDepotConf_Read_text)); | ^ GlobalDepotConf_Parse.l:177:58: warning: passing arguments to 'String_RemoveQuotes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | GlobalDepotConf_Read_lval.strval = String_RemoveQuotes(GlobalDepotConf_Read_text, '\\'); | ^ GlobalDepotConf_Parse.l:185:45: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | GlobalDepotConf_Read_lval.strval = String(GlobalDepotConf_Read_text, strlen(GlobalDepotConf_Read_text)); | ^ GlobalDepotConf_Parse.l:193:58: warning: passing arguments to 'String_RemoveQuotes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | GlobalDepotConf_Read_lval.strval = String_RemoveQuotes(GlobalDepotConf_Read_text, '\\'); | ^ GlobalDepotConf_Parse.l:218:43: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | GlobalDepotConf_Read_lval.strval=String(GlobalDepotConf_Read_text, strlen(GlobalDepotConf_Read_text)); | ^ GlobalDepotConf_Parse.l:225:56: warning: passing arguments to 'String_RemoveQuotes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | GlobalDepotConf_Read_lval.strval=String_RemoveQuotes(GlobalDepotConf_Read_text, '\\'); | ^ 15 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c GlobalDepotConf_Parse.o ../objdir//GlobalDepotConf_Parse.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c GlobalDepotConf_Write.c In file included from GlobalDepotConf_Write.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ GlobalDepotConf_Write.c:93:25: warning: passing arguments to 'StringArray_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | StringArray_Write(fd, DEPOTCONF_ConfValue(*dp), | ^ GlobalDepotConf_Write.c:50:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | int GlobalDepotConfDB_Write(fd, confdbp) | ^ In file included from GlobalDepotConf_Write.c:38: ./DepotConf.h:60:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 60 | extern int GlobalDepotConfDB_Write(); | ^ 4 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c GlobalDepotConf_Write.o ../objdir//GlobalDepotConf_Write.o /usr/bin/yacc -d CollectionDepotConf_Read.y conflicts: 1 shift/reduce /opt/pkg/bin/nbsed -e 's/yy/CollectionDepotConf_Read_/g' -e 's/YY/COLLECTIONDEPOTCONF_READ_/g' y.tab.c > CollectionDepotConf_Read.c /opt/pkg/bin/nbsed -e 's/yy/CollectionDepotConf_Read_/g' -e 's/YY/COLLECTIONDEPOTCONF_READ_/g' y.tab.h > CollectionDepotConf_Read.h rm -f y.tab.c y.tab.h clang -O -DHAVE_CONFIG_H -I../build-include/ -c CollectionDepotConf_Read.c In file included from CollectionDepotConf_Read.y:39: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ y.tab.c:1285:39: warning: call to undeclared function 'CollectionDepotConf_Read_lex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1285 | CollectionDepotConf_Read_char = COLLECTIONDEPOTCONF_READ_LEX; | ^ y.tab.c:641:39: note: expanded from macro 'COLLECTIONDEPOTCONF_READ_LEX' 641 | # define COLLECTIONDEPOTCONF_READ_LEX CollectionDepotConf_Read_lex () | ^ CollectionDepotConf_Read.y:112:23: warning: passing arguments to 'DepotConfDB_Map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | DepotConfDB_Map(CollectionDepotConf_Read_DB, CollectionDepotConf_Read_CollectionName, (CollectionDepotConf_Read_vsp[(1) - (1)].strval), (CollectionDepotConf_Read_vsp[(1) - (1)].strval)); | ^ CollectionDepotConf_Read.y:113:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | String_Free((CollectionDepotConf_Read_vsp[(1) - (1)].strval)); | ^ CollectionDepotConf_Read.y:120:23: warning: passing arguments to 'DepotConfDB_Map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | DepotConfDB_Map(CollectionDepotConf_Read_DB, CollectionDepotConf_Read_CollectionName, (CollectionDepotConf_Read_vsp[(1) - (2)].strval), (CollectionDepotConf_Read_vsp[(2) - (2)].strval)); | ^ CollectionDepotConf_Read.y:121:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | String_Free((CollectionDepotConf_Read_vsp[(1) - (2)].strval)); String_Free((CollectionDepotConf_Read_vsp[(2) - (2)].strval)); | ^ CollectionDepotConf_Read.y:121:80: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | String_Free((CollectionDepotConf_Read_vsp[(1) - (2)].strval)); String_Free((CollectionDepotConf_Read_vsp[(2) - (2)].strval)); | ^ CollectionDepotConf_Read.y:128:23: warning: passing arguments to 'DepotConfDB_Map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | DepotConfDB_Map(CollectionDepotConf_Read_DB, CollectionDepotConf_Read_CollectionName, (CollectionDepotConf_Read_vsp[(2) - (2)].strval), (CollectionDepotConf_Read_vsp[(2) - (2)].strval)); | ^ CollectionDepotConf_Read.y:129:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | String_Free((CollectionDepotConf_Read_vsp[(2) - (2)].strval)); | ^ CollectionDepotConf_Read.y:137:23: warning: passing arguments to 'DepotConfDB_Map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | DepotConfDB_Map(CollectionDepotConf_Read_DB, CollectionDepotConf_Read_CollectionName, (CollectionDepotConf_Read_vsp[(2) - (3)].strval), (CollectionDepotConf_Read_vsp[(3) - (3)].strval)); | ^ CollectionDepotConf_Read.y:138:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | String_Free((CollectionDepotConf_Read_vsp[(2) - (3)].strval)); String_Free((CollectionDepotConf_Read_vsp[(3) - (3)].strval)); | ^ CollectionDepotConf_Read.y:138:80: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | String_Free((CollectionDepotConf_Read_vsp[(2) - (3)].strval)); String_Free((CollectionDepotConf_Read_vsp[(3) - (3)].strval)); | ^ CollectionDepotConf_Read.y:145:26: warning: passing arguments to 'DepotConfDB_Delete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | DepotConfDB_Delete(CollectionDepotConf_Read_DB, CollectionDepotConf_Read_CollectionName, (CollectionDepotConf_Read_vsp[(2) - (2)].strval)); | ^ CollectionDepotConf_Read.y:146:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | String_Free((CollectionDepotConf_Read_vsp[(2) - (2)].strval)); | ^ CollectionDepotConf_Read.y:153:27: warning: passing arguments to 'DepotConfDB_Command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | DepotConfDB_Command(CollectionDepotConf_Read_DB, CollectionDepotConf_Read_CollectionName, (CollectionDepotConf_Read_vsp[(2) - (3)].strval), (CollectionDepotConf_Read_vsp[(3) - (3)].strarrval)); | ^ CollectionDepotConf_Read.y:154:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | String_Free((CollectionDepotConf_Read_vsp[(2) - (3)].strval)); StringArray_Free((CollectionDepotConf_Read_vsp[(3) - (3)].strarrval)); | ^ CollectionDepotConf_Read.y:154:85: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | String_Free((CollectionDepotConf_Read_vsp[(2) - (3)].strval)); StringArray_Free((CollectionDepotConf_Read_vsp[(3) - (3)].strarrval)); | ^ CollectionDepotConf_Read.y:168:73: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | (CollectionDepotConf_Read_val.strarrval) = StringArray_AppendString((CollectionDepotConf_Read_vsp[(1) - (2)].strarrval), (CollectionDepotConf_Read_vsp[(2) - (2)].strval)); | ^ CollectionDepotConf_Read.y:169:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | String_Free((CollectionDepotConf_Read_vsp[(2) - (2)].strval)); | ^ y.tab.c:1513:7: warning: call to undeclared function 'CollectionDepotConf_Read_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1513 | CollectionDepotConf_Read_error (COLLECTIONDEPOTCONF_READ__("syntax error")); | ^ y.tab.c:1659:3: warning: call to undeclared function 'CollectionDepotConf_Read_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1659 | CollectionDepotConf_Read_error (COLLECTIONDEPOTCONF_READ__("memory exhausted")); | ^ CollectionDepotConf_Read.y:176:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 176 | CollectionDepotConf_Read_error(str) | ^ | int CollectionDepotConf_Read.y:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] CollectionDepotConf_Read.y:182:1: warning: non-void function does not return a value [-Wreturn-type] 182 | } | ^ CollectionDepotConf_Read.y:185:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 185 | CollectionDepotConf_Read_wrap() | ^ | int CollectionDepotConf_Read.y:204:3: warning: call to undeclared function 'CollectionDepotConf_Read_parseinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 204 | CollectionDepotConf_Read_parseinit(); | ^ CollectionDepotConf_Read.y:206:57: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | CollectionDepotConf_Read_DB = (DEPOTCONFDB *)emalloc(sizeof(DEPOTCONFDB)); | ^ CollectionDepotConf_Read.y:191:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | DEPOTCONFDB *CollectionDepotConfDB_Read(fp, collectionname) | ^ In file included from CollectionDepotConf_Read.y:41: ./DepotConf.h:62:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | extern DEPOTCONFDB *CollectionDepotConfDB_Read(); | ^ 29 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c CollectionDepotConf_Read.o ../objdir//CollectionDepotConf_Read.o /usr/bin/lex -l CollectionDepotConf_Parse.l /opt/pkg/bin/nbsed -e 's/yy/CollectionDepotConf_Read_/g' -e 's/YY/COLLECTIONDEPOTCONF_READ_/g' lex.yy.c > CollectionDepotConf_Parse.c rm -f lex.yy.c clang -O -DHAVE_CONFIG_H -I../build-include/ -c CollectionDepotConf_Parse.c In file included from CollectionDepotConf_Parse.l:39: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ CollectionDepotConf_Parse.l:76:49: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | CollectionDepotConf_Read_lval.strval = String(CollectionDepotConf_Read_text, strlen(CollectionDepotConf_Read_text)); | ^ CollectionDepotConf_Parse.l:84:62: warning: passing arguments to 'String_RemoveQuotes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | CollectionDepotConf_Read_lval.strval = String_RemoveQuotes(CollectionDepotConf_Read_text, '\\'); | ^ CollectionDepotConf_Parse.l:92:49: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | CollectionDepotConf_Read_lval.strval = String(CollectionDepotConf_Read_text, strlen(CollectionDepotConf_Read_text)); | ^ CollectionDepotConf_Parse.l:100:62: warning: passing arguments to 'String_RemoveQuotes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | CollectionDepotConf_Read_lval.strval = String_RemoveQuotes(CollectionDepotConf_Read_text, '\\'); | ^ CollectionDepotConf_Parse.l:108:49: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | CollectionDepotConf_Read_lval.strval = String(CollectionDepotConf_Read_text, strlen(CollectionDepotConf_Read_text)); | ^ CollectionDepotConf_Parse.l:116:62: warning: passing arguments to 'String_RemoveQuotes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | CollectionDepotConf_Read_lval.strval = String_RemoveQuotes(CollectionDepotConf_Read_text, '\\'); | ^ CollectionDepotConf_Parse.l:150:37: warning: passing arguments to 'DepotConf_SpecType' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | spectype = DepotConf_SpecType(CollectionDepotConf_Read_text+1); | ^ CollectionDepotConf_Parse.l:168:5: warning: call to undeclared function 'CollectionDepotConf_Read_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 168 | CollectionDepotConf_Read_error(CollectionDepotConf_Read_errormessage); | ^ CollectionDepotConf_Parse.l:176:51: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | CollectionDepotConf_Read_lval.strval=String(CollectionDepotConf_Read_text, strlen(CollectionDepotConf_Read_text)); | ^ CollectionDepotConf_Parse.l:186:37: warning: passing arguments to 'DepotConf_SpecType' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | spectype = DepotConf_SpecType(CollectionDepotConf_Read_text+1); | ^ CollectionDepotConf_Parse.l:204:5: warning: call to undeclared function 'CollectionDepotConf_Read_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 204 | CollectionDepotConf_Read_error(CollectionDepotConf_Read_errormessage); | ^ CollectionDepotConf_Parse.l:212:64: warning: passing arguments to 'String_RemoveQuotes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | CollectionDepotConf_Read_lval.strval=String_RemoveQuotes(CollectionDepotConf_Read_text, '\\'); | ^ 13 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c CollectionDepotConf_Parse.o ../objdir//CollectionDepotConf_Parse.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c CollectionDepotConf_Write.c In file included from CollectionDepotConf_Write.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ CollectionDepotConf_Write.c:88:25: warning: passing arguments to 'StringArray_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | StringArray_Write(fd, DEPOTCONF_ConfValue(*dp), | ^ CollectionDepotConf_Write.c:50:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | int CollectionDepotConfDB_Write(fd, confdbp) | ^ In file included from CollectionDepotConf_Write.c:38: ./DepotConf.h:59:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | extern int CollectionDepotConfDB_Write(); | ^ 4 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c CollectionDepotConf_Write.o ../objdir//CollectionDepotConf_Write.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c CollectionDepotConf_AppendGlobalDepotConf.c In file included from CollectionDepotConf_AppendGlobalDepotConf.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ CollectionDepotConf_AppendGlobalDepotConf.c:58:36: warning: passing arguments to 'DepotConfDB_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | confdbsize = DepotConfDB_Size(newconfdbp) + 1; | ^ CollectionDepotConf_AppendGlobalDepotConf.c:67:5: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | (commandlabel, | ^ CollectionDepotConf_AppendGlobalDepotConf.c:89:27: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | (DEPOTCONFDB)erealloc((void *)*newconfdbp, | ^ CollectionDepotConf_AppendGlobalDepotConf.c:45:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | static DEPOTCONFDB *CollectionDepotConfDB_PurgeCommand(confdbp, commandlabel) | ^ CollectionDepotConf_AppendGlobalDepotConf.c:41:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | static DEPOTCONFDB *CollectionDepotConfDB_PurgeCommand(); | ^ CollectionDepotConf_AppendGlobalDepotConf.c:110:26: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | = (DEPOTCONFDB *)emalloc(sizeof(DEPOTCONFDB)); | ^ CollectionDepotConf_AppendGlobalDepotConf.c:113:26: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | = (DEPOTCONFDB)emalloc(sizeof(DEPOTCONF *)); | ^ CollectionDepotConf_AppendGlobalDepotConf.c:124:33: warning: passing arguments to 'DepotConfDB_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | confdbsize = DepotConfDB_Size(newconfdbp) + 1; | ^ CollectionDepotConf_AppendGlobalDepotConf.c:127:27: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | (DEPOTCONFDB)erealloc((void *)*newconfdbp, | ^ CollectionDepotConf_AppendGlobalDepotConf.c:133:35: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | *cdp = (DEPOTCONF *)emalloc(sizeof(DEPOTCONF)); | ^ CollectionDepotConf_AppendGlobalDepotConf.c:137:15: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | = String(DEPOTCONF_CollectionName(confitemp), | ^ CollectionDepotConf_AppendGlobalDepotConf.c:143:26: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | StringArray_Size(DEPOTCONF_ConfValue(confitemp))); | ^ CollectionDepotConf_AppendGlobalDepotConf.c:142:9: warning: passing arguments to 'StringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | (DEPOTCONF_ConfValue(confitemp), | ^ CollectionDepotConf_AppendGlobalDepotConf.c:98:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | static DEPOTCONFDB *CollectionDepotConfDB_AppendItem(confdbp, confitemp) | ^ CollectionDepotConf_AppendGlobalDepotConf.c:42:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | static DEPOTCONFDB *CollectionDepotConfDB_AppendItem(); | ^ CollectionDepotConf_AppendGlobalDepotConf.c:173:26: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | if ((String_Comparator(DEPOTCONF_CollectionName(*dp), | ^ CollectionDepotConf_AppendGlobalDepotConf.c:175:29: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | || (String_Comparator(DEPOTCONF_CollectionName(*dp), | ^ CollectionDepotConf_AppendGlobalDepotConf.c:177:29: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | || (String_Comparator(collection_name, | ^ CollectionDepotConf_AppendGlobalDepotConf.c:155:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | DEPOTCONFDB *CollectionDepotConf_AppendGlobalDepotConf(confdbp, | ^ In file included from CollectionDepotConf_AppendGlobalDepotConf.c:38: ./DepotConf.h:69:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | extern DEPOTCONFDB *CollectionDepotConf_AppendGlobalDepotConf(); | ^ 21 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c CollectionDepotConf_AppendGlobalDepotConf.o ../objdir//CollectionDepotConf_AppendGlobalDepotConf.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c GlobalDepotConf_ExtractCollectionDepotConf.c In file included from GlobalDepotConf_ExtractCollectionDepotConf.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ GlobalDepotConf_ExtractCollectionDepotConf.c:65:26: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | if ((String_Comparator(DEPOTCONF_CollectionName(*dp), | ^ GlobalDepotConf_ExtractCollectionDepotConf.c:67:29: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | || (String_Comparator(DEPOTCONF_CollectionName(*dp), | ^ GlobalDepotConf_ExtractCollectionDepotConf.c:69:29: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | || (String_Comparator(collection_name, | ^ GlobalDepotConf_ExtractCollectionDepotConf.c:75:31: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | = (DEPOTCONFDB *)emalloc(sizeof(DEPOTCONFDB)); | ^ GlobalDepotConf_ExtractCollectionDepotConf.c:78:31: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | = (DEPOTCONFDB)emalloc(sizeof(DEPOTCONF *)); | ^ GlobalDepotConf_ExtractCollectionDepotConf.c:85:45: warning: passing arguments to 'DepotConfDB_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | collectionconfdbpsize = DepotConfDB_Size(collectionconfdbp)+1; | ^ GlobalDepotConf_ExtractCollectionDepotConf.c:88:30: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | = (DEPOTCONFDB)erealloc((void *)*collectionconfdbp, | ^ GlobalDepotConf_ExtractCollectionDepotConf.c:96:32: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | *cdp = (DEPOTCONF *)emalloc(sizeof(DEPOTCONF)); | ^ GlobalDepotConf_ExtractCollectionDepotConf.c:100:12: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | = String(DEPOTCONF_CollectionName(*dp), | ^ GlobalDepotConf_ExtractCollectionDepotConf.c:105:26: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | StringArray_Size(DEPOTCONF_ConfValue(*dp))); | ^ GlobalDepotConf_ExtractCollectionDepotConf.c:104:16: warning: passing arguments to 'StringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | =StringArray(DEPOTCONF_ConfValue(*dp), | ^ GlobalDepotConf_ExtractCollectionDepotConf.c:41:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | DEPOTCONFDB *GlobalDepotConf_ExtractCollectionDepotConf(confdbp, | ^ In file included from GlobalDepotConf_ExtractCollectionDepotConf.c:38: ./DepotConf.h:68:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | extern DEPOTCONFDB *GlobalDepotConf_ExtractCollectionDepotConf(); | ^ 14 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c GlobalDepotConf_ExtractCollectionDepotConf.o ../objdir//GlobalDepotConf_ExtractCollectionDepotConf.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c DepotConf.c In file included from DepotConf.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ DepotConf.c:57:39: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | *confdbp = (DEPOTCONFDB) emalloc(sizeof(DEPOTCONF *)); | ^ DepotConf.c:63:34: warning: passing arguments to 'DepotConfDB_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | confdbsize = DepotConfDB_Size(confdbp) + 1; | ^ DepotConf.c:65:38: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | *confdbp = (DEPOTCONFDB) erealloc((void *) *confdbp, | ^ DepotConf.c:71:32: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | *dp = (DEPOTCONF *) emalloc(sizeof(DEPOTCONF)); | ^ DepotConf.c:73:45: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | DEPOTCONF_CollectionName(*dp) = String(collection_name, | ^ DepotConf.c:78:26: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | StringArray_AppendString(DEPOTCONF_ConfValue(*dp), source); | ^ DepotConf.c:80:26: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | StringArray_AppendString(DEPOTCONF_ConfValue(*dp), target); | ^ DepotConf.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | DepotConfDB_Map(confdbp, collection_name, source, target) | ^ In file included from DepotConf.c:38: ./DepotConf.h:63:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | extern DEPOTCONFDB *DepotConfDB_Map(); | ^ DepotConf.c:103:39: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | *confdbp = (DEPOTCONFDB) emalloc(sizeof(DEPOTCONF *)); | ^ DepotConf.c:109:34: warning: passing arguments to 'DepotConfDB_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | confdbsize = DepotConfDB_Size(confdbp) + 1; | ^ DepotConf.c:111:38: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | *confdbp = (DEPOTCONFDB) erealloc((void *) *confdbp, | ^ DepotConf.c:117:32: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | *dp = (DEPOTCONF *) emalloc(sizeof(DEPOTCONF)); | ^ DepotConf.c:119:45: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | DEPOTCONF_CollectionName(*dp) = String(collection_name, | ^ DepotConf.c:122:58: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | DEPOTCONF_ConfValue(*dp) = StringArray_AppendString(NULL, target); | ^ DepotConf.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | DepotConfDB_Delete(confdbp, collection_name, target) | ^ In file included from DepotConf.c:38: ./DepotConf.h:64:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | extern DEPOTCONFDB *DepotConfDB_Delete(); | ^ DepotConf.c:148:39: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | *confdbp = (DEPOTCONFDB) emalloc(sizeof(DEPOTCONF *)); | ^ DepotConf.c:154:34: warning: passing arguments to 'DepotConfDB_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | confdbsize = DepotConfDB_Size(confdbp) + 1; | ^ DepotConf.c:156:38: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | *confdbp = (DEPOTCONFDB) erealloc((void *) *confdbp, | ^ DepotConf.c:162:32: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | *dp = (DEPOTCONF *) emalloc(sizeof(DEPOTCONF)); | ^ DepotConf.c:164:45: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | DEPOTCONF_CollectionName(*dp) = String(collection_name, | ^ DepotConf.c:167:58: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | DEPOTCONF_ConfValue(*dp) = StringArray_AppendString(NULL, | ^ DepotConf.c:172:30: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | StringArray_AppendString(DEPOTCONF_ConfValue(*dp), *tp); | ^ DepotConf.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 | DepotConfDB_Command(confdbp, collection_name, | ^ In file included from DepotConf.c:38: ./DepotConf.h:65:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | extern DEPOTCONFDB *DepotConfDB_Command(); | ^ DepotConf.c:197:39: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | *confdbp = (DEPOTCONFDB) emalloc(sizeof(DEPOTCONF *)); | ^ DepotConf.c:203:34: warning: passing arguments to 'DepotConfDB_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | confdbsize = DepotConfDB_Size(confdbp) + 1; | ^ DepotConf.c:205:38: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | *confdbp = (DEPOTCONFDB) erealloc((void *) *confdbp, | ^ DepotConf.c:211:32: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | *dp = (DEPOTCONF *) emalloc(sizeof(DEPOTCONF)); | ^ DepotConf.c:213:45: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | DEPOTCONF_CollectionName(*dp) = String(collection_name, | ^ DepotConf.c:216:58: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | DEPOTCONF_ConfValue(*dp) = StringArray_AppendString(NULL, | ^ DepotConf.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 | DepotConfDB_DeleteCommand(confdbp, collection_name, commandlabel) | ^ In file included from DepotConf.c:38: ./DepotConf.h:66:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | extern DEPOTCONFDB *DepotConfDB_DeleteCommand(); | ^ 35 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c DepotConf.o ../objdir//DepotConf.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c DepotConfUtil.c In file included from DepotConfUtil.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ DepotConfUtil.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | DepotConfPair_LocateByName(specname) | ^ DepotConfUtil.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | DepotConfPair_LocateByType(spec) | ^ DepotConfUtil.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | DepotConf_SpecType(specname) | ^ In file included from DepotConfUtil.c:38: ./DepotConf.h:57:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | extern unsigned short DepotConf_SpecType(); | ^ DepotConfUtil.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | DepotConf_SpecString(spec) | ^ In file included from DepotConfUtil.c:38: ./DepotConf.h:58: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 subsequent definition [-Wdeprecated-non-prototype] 58 | extern char *DepotConf_SpecString(); | ^ DepotConfUtil.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 | DepotConfDB_Size(confdbp) | ^ In file included from DepotConfUtil.c:38: ./DepotConf.h:72:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | extern int DepotConfDB_Size(); | ^ DepotConfUtil.c:171:41: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | newconfitemp = (DEPOTCONF *) emalloc(sizeof(DEPOTCONF)); | ^ DepotConfUtil.c:174:8: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | String(DEPOTCONF_CollectionName(confitemp), | ^ DepotConfUtil.c:179:23: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | StringArray_Size(DEPOTCONF_ConfValue(confitemp))); | ^ DepotConfUtil.c:178:13: warning: passing arguments to 'StringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | StringArray(DEPOTCONF_ConfValue(confitemp), | ^ DepotConfUtil.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | DepotConf(confitemp) | ^ DepotConfUtil.c:62:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | static DEPOTCONF *DepotConf(); | ^ DepotConfUtil.c:198:39: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | newconfdbp = (DEPOTCONFDB *) emalloc(sizeof(DEPOTCONFDB)); | ^ DepotConfUtil.c:201:40: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | *newconfdbp = (DEPOTCONFDB) emalloc((unsigned int) confdbsize | ^ DepotConfUtil.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | DepotConfDB(confdbp) | ^ In file included from DepotConfUtil.c:38: ./DepotConf.h:73:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | extern DEPOTCONFDB *DepotConfDB(); | ^ DepotConfUtil.c:229:26: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | if (String_Comparator(DEPOTCONF_CollectionName(dc1), | ^ DepotConfUtil.c:234:36: warning: passing arguments to 'StringArray_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | else if (StringArray_Comparator(DEPOTCONF_ConfValue(dc1), | ^ DepotConfUtil.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | DepotConf_Comparator(dc1, dc2) | ^ DepotConfUtil.c:63:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | static Boolean DepotConf_Comparator(); | ^ DepotConfUtil.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 | DepotConfDB_Comparator(confdb1, confdb2) | ^ In file included from DepotConfUtil.c:38: ./DepotConf.h:71:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | extern Boolean DepotConfDB_Comparator(); | ^ DepotConfUtil.c:318:23: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | StringSet_AddString(commandset, | ^ DepotConfUtil.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 | DepotConfDB_GetCommandList(confdbp) | ^ In file included from DepotConfUtil.c:38: ./DepotConf.h:75:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | extern STRINGSET *DepotConfDB_GetCommandList(); | ^ 28 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c DepotConfUtil.o ../objdir//DepotConfUtil.o /var/tmp/work/sysutils/depot/work/.tools/bin/install -c DepotConf.h ../build-include//DepotConf.h ### Done with /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/DepotConf ### Making all in /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/Preference clang -O -DHAVE_CONFIG_H -I../build-include/ -c Preference_Lookup.c In file included from Preference_Lookup.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ Preference_Lookup.c:76:27: warning: passing arguments to 'Preference_Type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | else if (Preference_Type(name) & PREF_UNKNOWN) | ^ Preference_Lookup.c:96:38: warning: passing arguments to 'PreferenceDB_HashBucket' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | hashp = PreferenceDB_HashBucket(*prefdbp, item, name); | ^ Preference_Lookup.c:110:42: warning: passing arguments to 'Preference_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | Comparison = Preference_Comparator(*pp, item, name); | ^ Preference_Lookup.c:130:35: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | *hashp = (PREFERENCE **)emalloc(sizeof(PREFERENCE *)); | ^ Preference_Lookup.c:133:39: warning: passing arguments to 'PreferenceArray_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | ArraySize = PreferenceArray_Size(*hashp) + 1; | ^ Preference_Lookup.c:137:39: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | *hashp = (PREFERENCE **)erealloc((void *)*hashp, | ^ Preference_Lookup.c:145:27: warning: passing arguments to 'Preference_Create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | *pp = Preference_Create(item, name); | ^ Preference_Lookup.c:51:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | PREFERENCE *Preference_Lookup(prefdbp, item, name, Create) | ^ In file included from Preference_Lookup.c:38: ./Preference.h:104:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | extern PREFERENCE *Preference_Lookup(); | ^ Preference_Lookup.c:161:33: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | prefdb = (PREFERENCEDB)ecalloc(Preference_HashTableSize, | ^ Preference_Lookup.c:168:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | static PREFERENCE ***PreferenceDB_HashBucket(prefdb, item, name) | ^ Preference_Lookup.c:42:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | static PREFERENCE ***PreferenceDB_HashBucket(); | ^ Preference_Lookup.c:199:32: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | prefp = (PREFERENCE *)emalloc(sizeof(PREFERENCE)); | ^ Preference_Lookup.c:202:55: warning: passing arguments to 'Preference_OptionID' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | PREFERENCE_OptionID(prefp) = Preference_OptionID(name); | ^ Preference_Lookup.c:211:36: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | (item == NULL) ? NULL : String(item, strlen(item)); | ^ Preference_Lookup.c:212:44: warning: passing arguments to 'Preference_Type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | PREFERENCE_Type(prefp) = Preference_Type(name); | ^ Preference_Lookup.c:218:12: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 218 | = (int) Preference_DefaultValue(PREF_INTEGER); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:90:26: note: expanded from macro 'Preference_DefaultValue' 90 | ((x) & PREF_STRING) ? (int) PREFDEFAULT_STRING : \ | ^~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:218:12: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 218 | = (int) Preference_DefaultValue(PREF_INTEGER); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:91:31: note: expanded from macro 'Preference_DefaultValue' 91 | ((x) & PREF_STRINGARRAY) ? (int) PREFDEFAULT_STRINGARRAY : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:218:12: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 218 | = (int) Preference_DefaultValue(PREF_INTEGER); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:92:29: note: expanded from macro 'Preference_DefaultValue' 92 | ((x) & PREF_STRINGSET) ? (int) PREFDEFAULT_STRINGSET : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:218:12: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 218 | = (int) Preference_DefaultValue(PREF_INTEGER); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:93:28: note: expanded from macro 'Preference_DefaultValue' 93 | ((x) & PREF_SENTENCE) ? (int) PREFDEFAULT_SENTENCE : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:222:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 222 | = (unsigned) Preference_DefaultValue(PREF_UNSIGNED); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:90:26: note: expanded from macro 'Preference_DefaultValue' 90 | ((x) & PREF_STRING) ? (int) PREFDEFAULT_STRING : \ | ^~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:222:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 222 | = (unsigned) Preference_DefaultValue(PREF_UNSIGNED); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:91:31: note: expanded from macro 'Preference_DefaultValue' 91 | ((x) & PREF_STRINGARRAY) ? (int) PREFDEFAULT_STRINGARRAY : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:222:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 222 | = (unsigned) Preference_DefaultValue(PREF_UNSIGNED); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:92:29: note: expanded from macro 'Preference_DefaultValue' 92 | ((x) & PREF_STRINGSET) ? (int) PREFDEFAULT_STRINGSET : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:222:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 222 | = (unsigned) Preference_DefaultValue(PREF_UNSIGNED); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:93:28: note: expanded from macro 'Preference_DefaultValue' 93 | ((x) & PREF_SENTENCE) ? (int) PREFDEFAULT_SENTENCE : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:226:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 226 | = (Boolean) Preference_DefaultValue(PREF_BOOLEAN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:90:26: note: expanded from macro 'Preference_DefaultValue' 90 | ((x) & PREF_STRING) ? (int) PREFDEFAULT_STRING : \ | ^~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:226:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 226 | = (Boolean) Preference_DefaultValue(PREF_BOOLEAN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:91:31: note: expanded from macro 'Preference_DefaultValue' 91 | ((x) & PREF_STRINGARRAY) ? (int) PREFDEFAULT_STRINGARRAY : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:226:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 226 | = (Boolean) Preference_DefaultValue(PREF_BOOLEAN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:92:29: note: expanded from macro 'Preference_DefaultValue' 92 | ((x) & PREF_STRINGSET) ? (int) PREFDEFAULT_STRINGSET : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:226:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 226 | = (Boolean) Preference_DefaultValue(PREF_BOOLEAN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:93:28: note: expanded from macro 'Preference_DefaultValue' 93 | ((x) & PREF_SENTENCE) ? (int) PREFDEFAULT_SENTENCE : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:230:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 230 | = (char *) Preference_DefaultValue(PREF_STRING); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:90:26: note: expanded from macro 'Preference_DefaultValue' 90 | ((x) & PREF_STRING) ? (int) PREFDEFAULT_STRING : \ | ^~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:230:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 230 | = (char *) Preference_DefaultValue(PREF_STRING); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:91:31: note: expanded from macro 'Preference_DefaultValue' 91 | ((x) & PREF_STRINGARRAY) ? (int) PREFDEFAULT_STRINGARRAY : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:230:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 230 | = (char *) Preference_DefaultValue(PREF_STRING); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:92:29: note: expanded from macro 'Preference_DefaultValue' 92 | ((x) & PREF_STRINGSET) ? (int) PREFDEFAULT_STRINGSET : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:230:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 230 | = (char *) Preference_DefaultValue(PREF_STRING); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:93:28: note: expanded from macro 'Preference_DefaultValue' 93 | ((x) & PREF_SENTENCE) ? (int) PREFDEFAULT_SENTENCE : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:230:5: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 230 | = (char *) Preference_DefaultValue(PREF_STRING); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:234:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 234 | = (STRINGARRAY *) Preference_DefaultValue(PREF_STRINGARRAY); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:90:26: note: expanded from macro 'Preference_DefaultValue' 90 | ((x) & PREF_STRING) ? (int) PREFDEFAULT_STRING : \ | ^~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:234:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 234 | = (STRINGARRAY *) Preference_DefaultValue(PREF_STRINGARRAY); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:91:31: note: expanded from macro 'Preference_DefaultValue' 91 | ((x) & PREF_STRINGARRAY) ? (int) PREFDEFAULT_STRINGARRAY : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:234:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 234 | = (STRINGARRAY *) Preference_DefaultValue(PREF_STRINGARRAY); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:92:29: note: expanded from macro 'Preference_DefaultValue' 92 | ((x) & PREF_STRINGSET) ? (int) PREFDEFAULT_STRINGSET : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:234:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 234 | = (STRINGARRAY *) Preference_DefaultValue(PREF_STRINGARRAY); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:93:28: note: expanded from macro 'Preference_DefaultValue' 93 | ((x) & PREF_SENTENCE) ? (int) PREFDEFAULT_SENTENCE : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:234:5: warning: cast to 'STRINGARRAY *' (aka 'struct stringarray *') from smaller integer type 'int' [-Wint-to-pointer-cast] 234 | = (STRINGARRAY *) Preference_DefaultValue(PREF_STRINGARRAY); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:238:19: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 238 | = (STRINGSET *) Preference_DefaultValue(PREF_STRINGSET); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:90:26: note: expanded from macro 'Preference_DefaultValue' 90 | ((x) & PREF_STRING) ? (int) PREFDEFAULT_STRING : \ | ^~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:238:19: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 238 | = (STRINGSET *) Preference_DefaultValue(PREF_STRINGSET); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:91:31: note: expanded from macro 'Preference_DefaultValue' 91 | ((x) & PREF_STRINGARRAY) ? (int) PREFDEFAULT_STRINGARRAY : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:238:19: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 238 | = (STRINGSET *) Preference_DefaultValue(PREF_STRINGSET); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:92:29: note: expanded from macro 'Preference_DefaultValue' 92 | ((x) & PREF_STRINGSET) ? (int) PREFDEFAULT_STRINGSET : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:238:19: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 238 | = (STRINGSET *) Preference_DefaultValue(PREF_STRINGSET); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:93:28: note: expanded from macro 'Preference_DefaultValue' 93 | ((x) & PREF_SENTENCE) ? (int) PREFDEFAULT_SENTENCE : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:238:5: warning: cast to 'STRINGSET *' (aka 'struct stringarray *') from smaller integer type 'int' [-Wint-to-pointer-cast] 238 | = (STRINGSET *) Preference_DefaultValue(PREF_STRINGSET); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:242:19: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 242 | = (SENTENCE *) Preference_DefaultValue(PREF_SENTENCE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:90:26: note: expanded from macro 'Preference_DefaultValue' 90 | ((x) & PREF_STRING) ? (int) PREFDEFAULT_STRING : \ | ^~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:242:19: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 242 | = (SENTENCE *) Preference_DefaultValue(PREF_SENTENCE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:91:31: note: expanded from macro 'Preference_DefaultValue' 91 | ((x) & PREF_STRINGARRAY) ? (int) PREFDEFAULT_STRINGARRAY : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:242:19: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 242 | = (SENTENCE *) Preference_DefaultValue(PREF_SENTENCE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:92:29: note: expanded from macro 'Preference_DefaultValue' 92 | ((x) & PREF_STRINGSET) ? (int) PREFDEFAULT_STRINGSET : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:242:19: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 242 | = (SENTENCE *) Preference_DefaultValue(PREF_SENTENCE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:93:28: note: expanded from macro 'Preference_DefaultValue' 93 | ((x) & PREF_SENTENCE) ? (int) PREFDEFAULT_SENTENCE : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:242:5: warning: cast to 'SENTENCE *' (aka 'struct stringarray *') from smaller integer type 'int' [-Wint-to-pointer-cast] 242 | = (SENTENCE *) Preference_DefaultValue(PREF_SENTENCE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:194:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | static PREFERENCE *Preference_Create(item, name) | ^ Preference_Lookup.c:41:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | static PREFERENCE *Preference_Create(); | ^ 51 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c PreferenceUtil.c In file included from PreferenceUtil.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ PreferenceUtil.c:80:29: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | static struct PrefTypePair *PrefTypePair_LocateByName(pname) | ^ PreferenceUtil.c:100:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | unsigned short Preference_Type(pname) | ^ In file included from PreferenceUtil.c:38: ./Preference.h:138:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 138 | extern unsigned short Preference_Type(); | ^ PreferenceUtil.c:110:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | int Preference_OptionID(pname) | ^ In file included from PreferenceUtil.c:38: ./Preference.h:139:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 139 | extern int Preference_OptionID(); | ^ PreferenceUtil.c:129:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | char *Preference_OptionName(id) | ^ In file included from PreferenceUtil.c:38: ./Preference.h:140: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 subsequent definition [-Wdeprecated-non-prototype] 140 | extern char *Preference_OptionName(); | ^ PreferenceUtil.c:147:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | int PreferenceArray_Size(pp) | ^ In file included from PreferenceUtil.c:38: ./Preference.h:141:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 141 | extern int PreferenceArray_Size(); | ^ PreferenceUtil.c:166:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | int Preference_Comparator(prefp, item, name) | ^ In file included from PreferenceUtil.c:38: ./Preference.h:142:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 142 | extern int Preference_Comparator(); | ^ 12 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c PreferenceDBUtil.c In file included from PreferenceDBUtil.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ PreferenceDBUtil.c:61:36: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | values1 = Preference_GetStringSet(preferencedbp, collectionname1, | ^ PreferenceDBUtil.c:71:23: warning: passing arguments to 'StringSet_Member' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | if (StringSet_Member(values1, collectionname2)) | ^ PreferenceDBUtil.c:75:23: warning: passing arguments to 'StringSet_Member' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | if (StringSet_Member(values1, PREF_WILDITEM)) | ^ PreferenceDBUtil.c:79:40: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | wilditems = Preference_GetStringSet(preferencedbp, PREF_WILDITEM, | ^ PreferenceDBUtil.c:89:24: warning: passing arguments to 'StringSet_Member' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | if (!StringSet_Member(wilditems, collectionname2)) { | ^ PreferenceDBUtil.c:95:38: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | values2 = Preference_GetStringSet(preferencedbp, collectionname2, | ^ PreferenceDBUtil.c:98:23: warning: passing arguments to 'StringSet_Member' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | if (StringSet_Member(values2, collectionname1)) { | ^ PreferenceDBUtil.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | PreferenceDB_Override(collectionname1, collectionname2, preferencedbp) | ^ In file included from PreferenceDBUtil.c:38: ./Preference.h:133:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 133 | extern Boolean PreferenceDB_Override(); | ^ PreferenceDBUtil.c:125:48: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | CopyCollectionSet = Preference_GetStringSet(preferencedbp, | ^ PreferenceDBUtil.c:131:23: warning: passing arguments to 'StringSet_Member' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | if (StringSet_Member(CopyCollectionSet, collectionname)) | ^ PreferenceDBUtil.c:134:46: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | LinkCollectionSet = Preference_GetStringSet(preferencedbp, | ^ PreferenceDBUtil.c:139:23: warning: passing arguments to 'StringSet_Member' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | if (StringSet_Member(LinkCollectionSet, collectionname)) | ^ PreferenceDBUtil.c:143:25: warning: passing arguments to 'StringSet_Member' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | if (StringSet_Member(CopyCollectionSet, "*")) { | ^ PreferenceDBUtil.c:146:25: warning: passing arguments to 'StringSet_Member' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | if (StringSet_Member(LinkCollectionSet, "*")) { | ^ PreferenceDBUtil.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | PreferenceDB_CollectionInstallMethod(collectionname, preferencedbp) | ^ In file included from PreferenceDBUtil.c:38: ./Preference.h:134: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 subsequent definition [-Wdeprecated-non-prototype] 134 | extern char *PreferenceDB_CollectionInstallMethod(); | ^ 18 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c Preference_Set.c In file included from Preference_Set.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ Preference_Set.c:49:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | pp = Preference_Lookup(prefdbp, item, prefname, TRUE/*Create*/); | ^ Preference_Set.c:42:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | PREFERENCEDB *Preference_SetInt(prefdbp, item, prefname, prefval) | ^ In file included from Preference_Set.c:38: ./Preference.h:107:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 107 | extern PREFERENCEDB *Preference_SetInt(); | ^ Preference_Set.c:71:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | pp = Preference_Lookup(prefdbp, item, prefname, TRUE/*Create*/); | ^ Preference_Set.c:64:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | PREFERENCEDB *Preference_SetUnsigned(prefdbp, item, prefname, prefval) | ^ In file included from Preference_Set.c:38: ./Preference.h:108:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | extern PREFERENCEDB *Preference_SetUnsigned(); | ^ Preference_Set.c:93:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | pp = Preference_Lookup(prefdbp, item, prefname, TRUE/*Create*/); | ^ Preference_Set.c:86:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | PREFERENCEDB *Preference_SetBoolean(prefdbp, item, prefname, prefval) | ^ In file included from Preference_Set.c:38: ./Preference.h:109:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | extern PREFERENCEDB *Preference_SetBoolean(); | ^ Preference_Set.c:116:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | pp = Preference_Lookup(prefdbp, item, prefname, TRUE/*Create*/); | ^ Preference_Set.c:125:37: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | PREFERENCE_StrVal(pp) = String(prefval, strlen(prefval)); | ^ Preference_Set.c:127:13: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | String_Free(oldval); | ^ Preference_Set.c:108:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | PREFERENCEDB *Preference_SetString(prefdbp, item, prefname, prefval) | ^ In file included from Preference_Set.c:38: ./Preference.h:110:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | extern PREFERENCEDB *Preference_SetString(); | ^ Preference_Set.c:142:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | pp = Preference_Lookup(prefdbp, item, prefname, TRUE/*Create*/); | ^ Preference_Set.c:152:27: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | StringArray_Size(prefval)); | ^ Preference_Set.c:151:45: warning: passing arguments to 'StringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | PREFERENCE_StrArrVal(pp) = StringArray(prefval, | ^ Preference_Set.c:154:25: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | StringArray_Free(oldval); | ^ Preference_Set.c:134:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | PREFERENCEDB *Preference_SetStringArray(prefdbp, item, prefname, prefval) | ^ In file included from Preference_Set.c:38: ./Preference.h:111:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 111 | extern PREFERENCEDB *Preference_SetStringArray(); | ^ Preference_Set.c:168:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | pp = Preference_Lookup(prefdbp, item, prefname, TRUE/*Create*/); | ^ Preference_Set.c:176:49: warning: passing arguments to 'StringSet_Merge' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | PREFERENCE_StrSetVal(pp) = StringSet_Merge(PREFERENCE_StrSetVal(pp), | ^ Preference_Set.c:161:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | PREFERENCEDB *Preference_SetStringSet(prefdbp, item, prefname, prefval) | ^ In file included from Preference_Set.c:38: ./Preference.h:112:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | extern PREFERENCEDB *Preference_SetStringSet(); | ^ Preference_Set.c:192:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | pp = Preference_Lookup(prefdbp, item, prefname, TRUE/*Create*/); | ^ Preference_Set.c:202:29: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | StringArray_Size(prefval)); | ^ Preference_Set.c:201:47: warning: passing arguments to 'StringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | PREFERENCE_SentenceVal(pp) = StringArray(prefval, | ^ Preference_Set.c:204:25: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | StringArray_Free(oldval); | ^ Preference_Set.c:207:22: warning: passing arguments to 'Preference_Type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | if (Preference_Type(prefname) & PREF_FILTER) | ^ Preference_Set.c:209:37: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | if (! (fl = Preference_Lookup(prefdbp, PrefInternalCmdList, | ^ Preference_Set.c:211:27: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | fl = Preference_Lookup(prefdbp, PrefInternalCmdList, | ^ Preference_Set.c:217:55: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | PREFERENCE_StrArrVal(fl) = StringArray_AppendString(NULL, item); | ^ Preference_Set.c:223:32: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | StringArray_AppendString(PREFERENCE_StrArrVal(fl), item); | ^ Preference_Set.c:218:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] 218 | } else { | ^ Preference_Set.c:184:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | PREFERENCEDB *Preference_SetSentence(prefdbp, item, prefname, prefval) | ^ In file included from Preference_Set.c:38: ./Preference.h:113:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | extern PREFERENCEDB *Preference_SetSentence(); | ^ 37 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c Preference_Get.c In file included from Preference_Get.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ Preference_Get.c:49:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | pp = Preference_Lookup(prefdbp, item, prefname, FALSE/*Create*/); | ^ Preference_Get.c:53:24: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | pp = Preference_Lookup(prefdbp, PREF_WILDITEM,prefname,FALSE/*Create*/); | ^ Preference_Get.c:41:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | int Preference_GetInt(prefdbp, item, prefname, prefdefaultval) | ^ In file included from Preference_Get.c:38: ./Preference.h:115:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | extern int Preference_GetInt(); | ^ Preference_Get.c:79:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | pp = Preference_Lookup(prefdbp, item, prefname, FALSE/*Create*/); | ^ Preference_Get.c:83:24: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | pp = Preference_Lookup(prefdbp, PREF_WILDITEM,prefname,FALSE/*Create*/); | ^ Preference_Get.c:71:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | unsigned Preference_GetUnsigned(prefdbp, item, prefname, prefdefaultval) | ^ In file included from Preference_Get.c:38: ./Preference.h:116:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | extern unsigned Preference_GetUnsigned(); | ^ Preference_Get.c:109:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | pp = Preference_Lookup(prefdbp, item, prefname, FALSE/*Create*/); | ^ Preference_Get.c:113:24: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | pp = Preference_Lookup(prefdbp, PREF_WILDITEM,prefname,FALSE/*Create*/); | ^ Preference_Get.c:101:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | Boolean Preference_GetBoolean(prefdbp, item, prefname, prefdefaultval) | ^ In file included from Preference_Get.c:38: ./Preference.h:117:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 117 | extern Boolean Preference_GetBoolean(); | ^ Preference_Get.c:140:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | pp = Preference_Lookup(prefdbp, item, prefname, FALSE/*Create*/); | ^ Preference_Get.c:144:24: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | pp = Preference_Lookup(prefdbp, PREF_WILDITEM,prefname,FALSE/*Create*/); | ^ Preference_Get.c:159:50: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | { prefval = (strval == NULL) ? NULL : String(strval, strlen(strval)); } | ^ Preference_Get.c:131:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | char *Preference_GetString(prefdbp, item, prefname, prefdefaultval) | ^ In file included from Preference_Get.c:38: ./Preference.h:118: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 subsequent definition [-Wdeprecated-non-prototype] 118 | extern char *Preference_GetString(); | ^ Preference_Get.c:175:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | pp = Preference_Lookup(prefdbp, item, prefname, FALSE/*Create*/); | ^ Preference_Get.c:179:24: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | pp = Preference_Lookup(prefdbp, PREF_WILDITEM,prefname,FALSE/*Create*/); | ^ Preference_Get.c:197:48: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | NULL : StringArray(strarrval, StringArray_Size(strarrval)); | ^ Preference_Get.c:197:20: warning: passing arguments to 'StringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | NULL : StringArray(strarrval, StringArray_Size(strarrval)); | ^ Preference_Get.c:165:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | STRINGARRAY *Preference_GetStringArray(prefdbp, item, prefname, prefdefaultval, alloc) | ^ In file included from Preference_Get.c:38: ./Preference.h:119:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 119 | extern STRINGARRAY *Preference_GetStringArray(); | ^ Preference_Get.c:217:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | pp = Preference_Lookup(prefdbp, item, prefname, FALSE/*Create*/); | ^ Preference_Get.c:221:24: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | pp = Preference_Lookup(prefdbp, PREF_WILDITEM,prefname,FALSE/*Create*/); | ^ Preference_Get.c:238:48: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | NULL : StringArray(strsetval, StringArray_Size(strsetval)); | ^ Preference_Get.c:238:20: warning: passing arguments to 'StringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | NULL : StringArray(strsetval, StringArray_Size(strsetval)); | ^ Preference_Get.c:207:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | STRINGSET *Preference_GetStringSet(prefdbp, item, prefname, prefdefaultval, alloc) | ^ In file included from Preference_Get.c:38: ./Preference.h:120:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 120 | extern STRINGSET *Preference_GetStringSet(); | ^ Preference_Get.c:257:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | pp = Preference_Lookup(prefdbp, item, prefname, FALSE/*Create*/); | ^ Preference_Get.c:261:24: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | pp = Preference_Lookup(prefdbp, PREF_WILDITEM,prefname,FALSE/*Create*/); | ^ Preference_Get.c:278:50: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | NULL : StringArray(sentenceval, StringArray_Size(sentenceval)); | ^ Preference_Get.c:278:20: warning: passing arguments to 'StringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | NULL : StringArray(sentenceval, StringArray_Size(sentenceval)); | ^ Preference_Get.c:248:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | SENTENCE *Preference_GetSentence(prefdbp, item, prefname, prefdefaultval) | ^ In file included from Preference_Get.c:38: ./Preference.h:121:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 121 | extern SENTENCE *Preference_GetSentence(); | ^ 36 warnings generated. /usr/bin/yacc -d Preference_Read.y conflicts: 20 shift/reduce /opt/pkg/bin/nbsed -e 's/yy/Preference_Read_/g' -e 's/YY/PREFERENCE_READ_/g' y.tab.c > Preference_Read.c /opt/pkg/bin/nbsed -e 's/yy/Preference_Read_/g' -e 's/YY/PREFERENCE_READ_/g' y.tab.h > Preference_Read.h rm -f y.tab.c y.tab.h clang -O -DHAVE_CONFIG_H -I../build-include/ -c Preference_Read.c In file included from Preference_Read.y:40: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ y.tab.c:1386:30: warning: call to undeclared function 'Preference_Read_lex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1386 | Preference_Read_char = PREFERENCE_READ_LEX; | ^ y.tab.c:742:30: note: expanded from macro 'PREFERENCE_READ_LEX' 742 | # define PREFERENCE_READ_LEX Preference_Read_lex () | ^ Preference_Read.y:203:29: warning: passing arguments to 'Preference_SetInt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | = Preference_SetInt(Preference_Read_PreferenceDB, | ^ Preference_Read.y:215:34: warning: passing arguments to 'Preference_SetUnsigned' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | = Preference_SetUnsigned(Preference_Read_PreferenceDB, | ^ Preference_Read.y:227:33: warning: passing arguments to 'Preference_SetBoolean' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | = Preference_SetBoolean(Preference_Read_PreferenceDB, | ^ Preference_Read.y:239:32: warning: passing arguments to 'Preference_SetString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | = Preference_SetString(Preference_Read_PreferenceDB, | ^ Preference_Read.y:251:37: warning: passing arguments to 'Preference_SetStringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | = Preference_SetStringArray(Preference_Read_PreferenceDB, | ^ Preference_Read.y:263:35: warning: passing arguments to 'Preference_SetStringSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | = Preference_SetStringSet(Preference_Read_PreferenceDB, | ^ Preference_Read.y:275:34: warning: passing arguments to 'Preference_SetSentence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | = Preference_SetSentence(Preference_Read_PreferenceDB, | ^ Preference_Read.y:325:29: warning: passing arguments to 'Preference_SetInt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | = Preference_SetInt(Preference_Read_PreferenceDB, | ^ Preference_Read.y:337:34: warning: passing arguments to 'Preference_SetUnsigned' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | = Preference_SetUnsigned(Preference_Read_PreferenceDB, | ^ Preference_Read.y:349:33: warning: passing arguments to 'Preference_SetBoolean' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | = Preference_SetBoolean(Preference_Read_PreferenceDB, | ^ Preference_Read.y:361:32: warning: passing arguments to 'Preference_SetString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | = Preference_SetString(Preference_Read_PreferenceDB, | ^ Preference_Read.y:373:37: warning: passing arguments to 'Preference_SetStringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | = Preference_SetStringArray(Preference_Read_PreferenceDB, | ^ Preference_Read.y:385:35: warning: passing arguments to 'Preference_SetStringSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | = Preference_SetStringSet(Preference_Read_PreferenceDB, | ^ Preference_Read.y:397:34: warning: passing arguments to 'Preference_SetSentence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | = Preference_SetSentence(Preference_Read_PreferenceDB, | ^ Preference_Read.y:407:64: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | (Preference_Read_val.strarrval) = StringArray_AppendString(NULL, (Preference_Read_vsp[(1) - (1)].strval)); | ^ Preference_Read.y:412:64: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | (Preference_Read_val.strarrval) = StringArray_AppendString((Preference_Read_vsp[(1) - (3)].strarrval), (Preference_Read_vsp[(3) - (3)].strval)); | ^ Preference_Read.y:419:59: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | (Preference_Read_val.strsetval) = StringSet_AddString(NULL, (Preference_Read_vsp[(1) - (1)].strval)); | ^ Preference_Read.y:424:59: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | (Preference_Read_val.strsetval) = StringSet_AddString((Preference_Read_vsp[(1) - (3)].strsetval), (Preference_Read_vsp[(3) - (3)].strval)); | ^ Preference_Read.y:431:66: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | (Preference_Read_val.sentenceval) = StringArray_AppendString(NULL, (Preference_Read_vsp[(1) - (1)].strval)); | ^ Preference_Read.y:436:66: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | (Preference_Read_val.sentenceval) = StringArray_AppendString((Preference_Read_vsp[(1) - (3)].sentenceval), (Preference_Read_vsp[(3) - (3)].strval)); | ^ y.tab.c:1896:7: warning: call to undeclared function 'Preference_Read_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1896 | Preference_Read_error (PREFERENCE_READ__("syntax error")); | ^ y.tab.c:2042:3: warning: call to undeclared function 'Preference_Read_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2042 | Preference_Read_error (PREFERENCE_READ__("memory exhausted")); | ^ Preference_Read.y:451:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 451 | Preference_Read_error(str) | ^ | int Preference_Read.y:451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Preference_Read.y:457:1: warning: non-void function does not return a value [-Wreturn-type] 457 | } | ^ Preference_Read.y:460:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 460 | Preference_Read_wrap() | ^ | int Preference_Read.y:469:57: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | Preference_Read_PreferenceDB = (PREFERENCEDB *)emalloc(sizeof(PREFERENCEDB)); | ^ Preference_Read.y:476:3: warning: call to undeclared function 'Preference_Read_parseinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 476 | Preference_Read_parseinit(); | ^ Preference_Read.y:464:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | PREFERENCEDB *PreferenceDB_Read(fp) | ^ In file included from Preference_Read.y:42: ./Preference.h:102:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | extern PREFERENCEDB *PreferenceDB_Read(); | ^ 32 warnings generated. /usr/bin/lex -l Preference_Parse.l /opt/pkg/bin/nbsed -e 's/yy/Preference_Read_/g' -e 's/YY/PREFERENCE_READ_/g' lex.yy.c > Preference_Parse.c rm -f lex.yy.c clang -O -DHAVE_CONFIG_H -I../build-include/ -c Preference_Parse.c In file included from Preference_Parse.l:38: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ Preference_Parse.l:74:38: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | Preference_Read_lval.strval=String(Preference_Read_text, strlen(Preference_Read_text)); | ^ Preference_Parse.l:101:51: warning: passing arguments to 'String_RemoveQuotes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | Preference_Read_lval.strval=String_RemoveQuotes(Preference_Read_text, '\\'); | ^ Preference_Parse.l:156:40: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | Preference_Read_lval.strval = String(Preference_Read_text, strlen(Preference_Read_text)); | ^ Preference_Parse.l:163:51: warning: passing arguments to 'String_RemoveQuotes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | Preference_Read_lval.strval=String_RemoveQuotes(Preference_Read_text, '\\'); | ^ Preference_Parse.l:201:38: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | Preference_Read_lval.strval=String(Preference_Read_text, strlen(Preference_Read_text)); | ^ Preference_Parse.l:202:30: warning: passing arguments to 'Preference_Type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | preftype = Preference_Type(Preference_Read_lval.strval); | ^ Preference_Parse.l:223:5: warning: call to undeclared function 'Preference_Read_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 223 | Preference_Read_error(Preference_Read_errormessage); | ^ Preference_Parse.l:247:5: warning: call to undeclared function 'Preference_Read_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 247 | Preference_Read_error(Preference_Read_errormessage); | ^ Preference_Parse.l:255:8: warning: call to undeclared function 'Preference_Read_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 255 | Preference_Read_error(Preference_Read_errormessage); | ^ Preference_Parse.l:263:51: warning: passing arguments to 'String_RemoveQuotes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | Preference_Read_lval.strval=String_RemoveQuotes(Preference_Read_text, '\\'); | ^ Preference_Parse.l:264:30: warning: passing arguments to 'Preference_Type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | preftype = Preference_Type(Preference_Read_lval.strval); | ^ Preference_Parse.l:285:5: warning: call to undeclared function 'Preference_Read_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 285 | Preference_Read_error(Preference_Read_errormessage); | ^ Preference_Parse.l:309:5: warning: call to undeclared function 'Preference_Read_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 309 | Preference_Read_error(Preference_Read_errormessage); | ^ Preference_Parse.l:317:8: warning: call to undeclared function 'Preference_Read_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 317 | Preference_Read_error(Preference_Read_errormessage); | ^ 15 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c Preference_Write.c In file included from Preference_Write.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ Preference_Write.c:73:22: warning: passing arguments to 'Preference_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | if (Preference_Write(fp, *pp) < 0) { | ^ Preference_Write.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | PreferenceDB_Write(fp, prefdb) | ^ In file included from Preference_Write.c:38: ./Preference.h:103:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | extern int PreferenceDB_Write(); | ^ Preference_Write.c:98:34: warning: passing arguments to 'Preference_OptionName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | pname = Preference_OptionName(PREFERENCE_OptionID(prefp)); | ^ Preference_Write.c:107:17: warning: passing arguments to 'String_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | String_Write(fp, pname, PREF_QUOTECHAR, PREF_STRINGARRAYDELIM, | ^ Preference_Write.c:112:19: warning: passing arguments to 'String_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | String_Write(fp, item, PREF_QUOTECHAR, PREF_STRINGARRAYDELIM, | ^ Preference_Write.c:139:14: warning: passing arguments to 'String_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | String_Write(fp, PREFERENCE_StrVal(prefp), | ^ Preference_Write.c:149:19: warning: passing arguments to 'StringArray_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | StringArray_Write(fp, PREFERENCE_StrArrVal(prefp), | ^ Preference_Write.c:160:19: warning: passing arguments to 'StringArray_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | StringArray_Write(fp, PREFERENCE_StrArrVal(prefp), | ^ Preference_Write.c:171:19: warning: passing arguments to 'StringArray_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | StringArray_Write(fp, PREFERENCE_StrArrVal(prefp), | ^ Preference_Write.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | Preference_Write(fp, prefp) | ^ Preference_Write.c:40:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | static int Preference_Write(); | ^ 13 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c Preference_Diff.c In file included from Preference_Diff.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ Preference_Diff.c:89:29: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | if (String_Comparator(PREFERENCE_StrVal(p1), | ^ Preference_Diff.c:97:34: warning: passing arguments to 'StringArray_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | if (StringArray_Comparator(PREFERENCE_StrArrVal(p1), | ^ Preference_Diff.c:105:34: warning: passing arguments to 'StringArray_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | if (StringArray_Comparator(PREFERENCE_StrSetVal(p1), | ^ Preference_Diff.c:113:34: warning: passing arguments to 'StringArray_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | if (StringArray_Comparator(PREFERENCE_SentenceVal(p1), | ^ Preference_Diff.c:46:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | static Boolean PreferenceValue_Equality(p1, p2) | ^ Preference_Diff.c:41:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | static Boolean PreferenceValue_Equality(); | ^ Preference_Diff.c:145:45: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | newdiffarray = (PREFERENCE ***)emalloc(sizeof(PREFERENCE **)); | ^ Preference_Diff.c:156:28: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | = (PREFERENCE ***)erealloc((char *)newdiffarray, | ^ Preference_Diff.c:164:42: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | *prefpairp = (PREFERENCE **)emalloc(2*sizeof(PREFERENCE *)); | ^ Preference_Diff.c:173:30: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | *pp1 = (PREFERENCE *)emalloc(sizeof(PREFERENCE)); | ^ Preference_Diff.c:180:14: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | String(PREFERENCE_Operand(pref1), | ^ Preference_Diff.c:186:30: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | *pp2 = (PREFERENCE *)emalloc(sizeof(PREFERENCE)); | ^ Preference_Diff.c:193:14: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | String(PREFERENCE_Operand(pref2), | ^ Preference_Diff.c:215:36: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | PREFERENCE_StrVal(*pp1) = String(PREFERENCE_StrVal(pref1), | ^ Preference_Diff.c:222:22: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | StringArray_Size(PREFERENCE_StrArrVal(pref1))); | ^ Preference_Diff.c:221:19: warning: passing arguments to 'StringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | = StringArray(PREFERENCE_StrArrVal(pref1), | ^ Preference_Diff.c:228:22: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | StringArray_Size(PREFERENCE_StrSetVal(pref1))); | ^ Preference_Diff.c:227:19: warning: passing arguments to 'StringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | = StringArray(PREFERENCE_StrSetVal(pref1), | ^ Preference_Diff.c:234:22: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | StringArray_Size(PREFERENCE_SentenceVal(pref1))); | ^ Preference_Diff.c:233:19: warning: passing arguments to 'StringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | = StringArray(PREFERENCE_SentenceVal(pref1), | ^ Preference_Diff.c:261:36: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | PREFERENCE_StrVal(*pp2) = String(PREFERENCE_StrVal(pref2), | ^ Preference_Diff.c:268:22: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | StringArray_Size(PREFERENCE_StrArrVal(pref2))); | ^ Preference_Diff.c:267:19: warning: passing arguments to 'StringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | = StringArray(PREFERENCE_StrArrVal(pref2), | ^ Preference_Diff.c:274:22: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | StringArray_Size(PREFERENCE_StrSetVal(pref2))); | ^ Preference_Diff.c:273:19: warning: passing arguments to 'StringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | = StringArray(PREFERENCE_StrSetVal(pref2), | ^ Preference_Diff.c:280:22: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | StringArray_Size(PREFERENCE_SentenceVal(pref2))); | ^ Preference_Diff.c:279:19: warning: passing arguments to 'StringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | = StringArray(PREFERENCE_SentenceVal(pref2), | ^ Preference_Diff.c:132:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | static PREFERENCE ***PreferenceDiffArray_Append(diffarray, pref1, pref2) | ^ Preference_Diff.c:42:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | static PREFERENCE ***PreferenceDiffArray_Append(); | ^ Preference_Diff.c:328:36: warning: passing arguments to 'Preference_OptionName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | name = Preference_OptionName(PREFERENCE_OptionID(*pp)); | ^ Preference_Diff.c:329:33: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | pref2 = Preference_Lookup(prefdb2, item, name, FALSE/* Create */); | ^ Preference_Diff.c:356:36: warning: passing arguments to 'Preference_OptionName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | name = Preference_OptionName(PREFERENCE_OptionID(*pp)); | ^ Preference_Diff.c:357:33: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | pref1 = Preference_Lookup(prefdb1, item, name, FALSE/*Create*/); | ^ Preference_Diff.c:295:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | PREFERENCE ***Preference_Diff(prefdb1, prefdb2) | ^ In file included from Preference_Diff.c:38: ./Preference.h:136:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 136 | extern PREFERENCE ***Preference_Diff(); | ^ 36 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c Preference_CompoundGet.c In file included from Preference_CompoundGet.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ Preference_CompoundGet.c:67:24: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | if ((String_Comparator(PREFERENCE_Operand(*pp), PREF_WILDITEM) != 0) | ^ Preference_CompoundGet.c:68:37: warning: passing arguments to 'Preference_CollectionOperand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | && Preference_CollectionOperand(PREFERENCE_OptionID(*pp))) { | ^ Preference_CompoundGet.c:70:25: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | StringSet_AddString(collectionnamelist, | ^ Preference_CompoundGet.c:73:32: warning: passing arguments to 'Preference_CollectionValue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | if (Preference_CollectionValue(PREFERENCE_OptionID(*pp))) { | ^ Preference_CompoundGet.c:74:40: warning: passing arguments to 'StringSet_Merge' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | collectionnamelist = StringSet_Merge(collectionnamelist, | ^ Preference_CompoundGet.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 | Preference_GetCollectionNameList(prefdbp) | ^ In file included from Preference_CompoundGet.c:38: ./Preference.h:123:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 123 | extern STRINGSET *Preference_GetCollectionNameList(); | ^ Preference_CompoundGet.c:109:43: warning: passing arguments to 'Preference_OptionID' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | searchpathoptionid = Preference_OptionID("searchpath"); | ^ Preference_CompoundGet.c:127:49: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | searchpathlist = StringArray_AppendString(searchpathlist, *sp); | ^ Preference_CompoundGet.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | Preference_GetSearchPathEntry(prefdbp, item) | ^ In file included from Preference_CompoundGet.c:38: ./Preference.h:125:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 125 | extern STRINGARRAY *Preference_GetSearchPathEntry(); | ^ Preference_CompoundGet.c:157:43: warning: passing arguments to 'Preference_OptionID' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | searchpathoptionid = Preference_OptionID("searchpath"); | ^ Preference_CompoundGet.c:175:44: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | searchpathlist = StringSet_AddString(searchpathlist, *sp); | ^ Preference_CompoundGet.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | Preference_GetSearchPathList(prefdbp) | ^ In file included from Preference_CompoundGet.c:38: ./Preference.h:124:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 124 | extern STRINGSET *Preference_GetSearchPathList(); | ^ Preference_CompoundGet.c:203:38: warning: passing arguments to 'Preference_OptionID' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | owneroptionid = Preference_OptionID("target.owner"); | ^ Preference_CompoundGet.c:218:36: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | uidnameset = StringSet_AddString(uidnameset, | ^ Preference_CompoundGet.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 | Preference_GetOwnerNamesToSet(prefdbp) | ^ In file included from Preference_CompoundGet.c:38: ./Preference.h:126:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 126 | extern STRINGSET *Preference_GetOwnerNamesToSet(); | ^ Preference_CompoundGet.c:244:38: warning: passing arguments to 'Preference_OptionID' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | groupoptionid = Preference_OptionID("target.group"); | ^ Preference_CompoundGet.c:259:36: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | gidnameset = StringSet_AddString(gidnameset, | ^ Preference_CompoundGet.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 | Preference_GetGroupNamesToSet(prefdbp) | ^ In file included from Preference_CompoundGet.c:38: ./Preference.h:127:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 127 | extern STRINGSET *Preference_GetGroupNamesToSet(); | ^ Preference_CompoundGet.c:286:39: warning: passing arguments to 'Preference_OptionID' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | setuidoptionid = Preference_OptionID("target.setuid"); | ^ Preference_CompoundGet.c:301:36: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | uidnameset = StringSet_AddString(uidnameset, | ^ Preference_CompoundGet.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | Preference_GetSetUIDNamesToSet(prefdbp) | ^ In file included from Preference_CompoundGet.c:38: ./Preference.h:129:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 129 | extern STRINGSET *Preference_GetSetUIDNamesToSet(); | ^ Preference_CompoundGet.c:327:39: warning: passing arguments to 'Preference_OptionID' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | setgidoptionid = Preference_OptionID("target.setgid"); | ^ Preference_CompoundGet.c:342:36: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | gidnameset = StringSet_AddString(gidnameset, | ^ Preference_CompoundGet.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | Preference_GetSetGIDNamesToSet(prefdbp) | ^ In file included from Preference_CompoundGet.c:38: ./Preference.h:130:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 130 | extern STRINGSET *Preference_GetSetGIDNamesToSet(); | ^ Preference_CompoundGet.c:368:41: warning: passing arguments to 'Preference_OptionID' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | modemaskoptionid = Preference_OptionID("target.modemask"); | ^ Preference_CompoundGet.c:383:37: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | modemaskset = StringSet_AddString(modemaskset, | ^ Preference_CompoundGet.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | Preference_GetModeMasksToSet(prefdbp) | ^ In file included from Preference_CompoundGet.c:38: ./Preference.h:128:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 128 | extern STRINGSET *Preference_GetModeMasksToSet(); | ^ Preference_CompoundGet.c:409:46: warning: passing arguments to 'Preference_OptionID' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | targetcommandoptionid = Preference_OptionID("target.command"); | ^ Preference_CompoundGet.c:424:34: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | labelset = StringSet_AddString(labelset, | ^ Preference_CompoundGet.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | Preference_GetTargetCommandList(prefdbp) | ^ In file included from Preference_CompoundGet.c:38: ./Preference.h:131:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 131 | extern STRINGSET *Preference_GetTargetCommandList(); | ^ 40 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c Preference_Depot.c In file included from Preference_Depot.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ Preference_Depot.c:47:32: warning: passing arguments to 'Preference_OptionName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | pname = Preference_OptionName(optionid); | ^ Preference_Depot.c:41:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | Boolean Preference_Universal(optionid) | ^ In file included from Preference_Depot.c:38: ./Preference.h:147:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 147 | extern Boolean Preference_Universal(); | ^ Preference_Depot.c:64:32: warning: passing arguments to 'Preference_OptionName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | pname = Preference_OptionName(optionid); | ^ Preference_Depot.c:58:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | Boolean Preference_CollectionOperand(optionid) | ^ In file included from Preference_Depot.c:38: ./Preference.h:148:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 148 | extern Boolean Preference_CollectionOperand(); | ^ Preference_Depot.c:78:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | Boolean Preference_TargetOperand(optionid) | ^ In file included from Preference_Depot.c:38: ./Preference.h:149:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 149 | extern Boolean Preference_TargetOperand(); | ^ Preference_Depot.c:96:32: warning: passing arguments to 'Preference_OptionName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | pname = Preference_OptionName(optionid); | ^ Preference_Depot.c:90:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | Boolean Preference_CommandOperand(optionid) | ^ In file included from Preference_Depot.c:38: ./Preference.h:150:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 150 | extern Boolean Preference_CommandOperand(); | ^ Preference_Depot.c:113:32: warning: passing arguments to 'Preference_OptionName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | pname = Preference_OptionName(optionid); | ^ Preference_Depot.c:107:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | Boolean Preference_CollectionValue(optionid) | ^ In file included from Preference_Depot.c:38: ./Preference.h:151:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 151 | extern Boolean Preference_CollectionValue(); | ^ Preference_Depot.c:131:32: warning: passing arguments to 'Preference_OptionName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | pname = Preference_OptionName(optionid); | ^ Preference_Depot.c:125:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | Boolean Preference_TargetValue(optionid) | ^ In file included from Preference_Depot.c:38: ./Preference.h:152:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 152 | extern Boolean Preference_TargetValue(); | ^ Preference_Depot.c:177:24: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | = StringSet_AddString(changedtargetset,PREFERENCE_Operand(*pp)); | ^ Preference_Depot.c:190:24: warning: passing arguments to 'StringSet_Merge' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | = StringSet_Merge(changedtargetset, | ^ Preference_Depot.c:153:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | STRINGSET *PreferenceDiff_GetChangedTargets(prefdiffp) | ^ In file included from Preference_Depot.c:38: ./Preference.h:153:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 153 | extern STRINGSET *PreferenceDiff_GetChangedTargets(); | ^ Preference_Depot.c:225:23: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | =StringSet_AddString(changedcommandset,PREFERENCE_Operand(*pp)); | ^ Preference_Depot.c:202:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | STRINGSET *PreferenceDiff_GetChangedCommands(prefdiffp) | ^ In file included from Preference_Depot.c:38: ./Preference.h:155:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 155 | extern STRINGSET *PreferenceDiff_GetChangedCommands(); | ^ Preference_Depot.c:264:24: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | = StringSet_AddString(changedcollectionset, | ^ Preference_Depot.c:278:24: warning: passing arguments to 'StringSet_Merge' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | = StringSet_Merge(changedcollectionset, | ^ Preference_Depot.c:240:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | STRINGSET *PreferenceDiff_GetChangedCollections(prefdiffp) | ^ In file included from Preference_Depot.c:38: ./Preference.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 154 | extern STRINGSET *PreferenceDiff_GetChangedCollections(); | ^ 29 warnings generated. rm -f libpreference.a ar rv libpreference.a Preference_Lookup.o PreferenceUtil.o PreferenceDBUtil.o Preference_Set.o Preference_Get.o Preference_Read.o Preference_Parse.o Preference_Write.o Preference_Diff.o Preference_CompoundGet.o Preference_Depot.o ar: creating archive libpreference.a a - Preference_Lookup.o a - PreferenceUtil.o a - PreferenceDBUtil.o a - Preference_Set.o a - Preference_Get.o a - Preference_Read.o a - Preference_Parse.o a - Preference_Write.o a - Preference_Diff.o a - Preference_CompoundGet.o a - Preference_Depot.o ranlib libpreference.a /var/tmp/work/sysutils/depot/work/.tools/bin/install -c libpreference.a ../build-lib//libpreference.a /var/tmp/work/sysutils/depot/work/.tools/bin/install -c Preference.h ../build-include//Preference.h ### Done with /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/Preference ### Making all in /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/TargetDB clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c TargetDB_Read.c In file included from TargetDB_Read.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ TargetDB_Read.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | TargetDB_ReadUShort(fp) | ^ TargetDB_Read.c:42:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | static unsigned short TargetDB_ReadUShort(); | ^ TargetDB_Read.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | TargetDB_ReadUnsigned(fp) | ^ TargetDB_Read.c:44:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | static unsigned int TargetDB_ReadUnsigned(); | ^ TargetDB_Read.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | TargetDB_ReadOctalUShort(fp) | ^ TargetDB_Read.c:43:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | static unsigned short TargetDB_ReadOctalUShort(); | ^ TargetDB_Read.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | TargetDB_ReadChar(fp) | ^ TargetDB_Read.c:45:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | static int TargetDB_ReadChar(); | ^ TargetDB_Read.c:167:30: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | buffer = (char *) emalloc(buffersize * sizeof(char)); | ^ TargetDB_Read.c:185:30: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | buffer = (char *) erealloc((void *) buffer, | ^ TargetDB_Read.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | TargetDB_ReadString(fp) | ^ TargetDB_Read.c:46: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 subsequent definition [-Wdeprecated-non-prototype] 46 | static char *TargetDB_ReadString(); | ^ TargetDB_Read.c:211:37: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | sourcep = (TARGETSOURCE *) emalloc(sizeof(TARGETSOURCE)); | ^ TargetDB_Read.c:213:19: warning: passing arguments to 'efgetlong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | sourceindex = efgetint(fp); | ^ ../build-include/util.h:69:37: note: expanded from macro 'efgetint' 69 | #define efgetint(fp) ((int)efgetlong(fp)) | ^ TargetDB_Read.c:217:27: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | if (StringArray_Size(sourcepathset) <= sourceindex) { | ^ TargetDB_Read.c:220:35: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | sourceindex, StringArray_Size(sourcepathset), nodename, TARGETSOURCE_Path(sourcep)); | ^ TargetDB_Read.c:226:25: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | if (String_Comparator(buffer, "/") == 0) { | ^ TargetDB_Read.c:233:37: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | TARGETSOURCE_Path(sourcep) = String(buffer, strlen(buffer)); | ^ TargetDB_Read.c:238:53: warning: passing arguments to 'efgetunsigned' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | TARGETSOURCE_UpdateSpec(sourcep) = efgetunsigned(fp); | ^ TargetDB_Read.c:242:42: warning: passing arguments to 'efgetlong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | TARGETSOURCE_CollectionId(sourcep) = efgetint(fp); | ^ ../build-include/util.h:69:37: note: expanded from macro 'efgetint' 69 | #define efgetint(fp) ((int)efgetlong(fp)) | ^ TargetDB_Read.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 | TargetSource_Read(fp, nodename, sourcepathset) | ^ TargetDB_Read.c:48:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | static TARGETSOURCE *TargetSource_Read(); | ^ TargetDB_Read.c:272:48: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | sourcelist = (TARGETSOURCELIST *) emalloc(sizeof(TARGETSOURCELIST)); | ^ TargetDB_Read.c:277:29: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | (TARGETSOURCE **) emalloc(nsources * sizeof(TARGETSOURCE *)); | ^ TargetDB_Read.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | TargetSourceList_Read(fp, nodename, sourcepathset) | ^ TargetDB_Read.c:47:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | static TARGETSOURCELIST *TargetSourceList_Read(); | ^ TargetDB_Read.c:301:43: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | thisentryp = (TARGETDBENTRY *) emalloc(sizeof(TARGETDBENTRY)); | ^ TargetDB_Read.c:305:52: warning: passing arguments to 'efgetunsigned' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | TARGETDB_UpdateSpec(thisentryp) = efgetunsigned(fp); | ^ TargetDB_Read.c:312:22: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | (FILESTAT *) emalloc(sizeof(FILESTAT)); | ^ TargetDB_Read.c:314:22: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | (FILESTAT *) emalloc(sizeof(FILESTAT)); | ^ TargetDB_Read.c:350:26: warning: passing arguments to 'TargetSourceList_PathSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | TargetSourceList_PathSet(TARGETDB_SourceList(thisentryp)); | ^ TargetDB_Read.c:352:28: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | (TARGETDBENTRY **) emalloc((unsigned) TARGETDB_ChildCount(thisentryp) * | ^ TargetDB_Read.c:362:18: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | StringArray_Free(childsourcepathset); | ^ TargetDB_Read.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | TargetDB_Tree_Read(fp, sourcepathset) | ^ TargetDB_Read.c:49:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | static TARGETDB *TargetDB_Tree_Read(); | ^ TargetDB_Read.c:384:23: warning: passing arguments to 'efgetlong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | sourcepathsetsize = efgetint(fp); | ^ ../build-include/util.h:69:37: note: expanded from macro 'efgetint' 69 | #define efgetint(fp) ((int)efgetlong(fp)) | ^ TargetDB_Read.c:390:28: warning: passing arguments to 'efgetstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | newstring = efgetstring(fp, '\\'); | ^ TargetDB_Read.c:391:45: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | sourcepathset = StringArray_AppendString(sourcepathset, newstring); | ^ TargetDB_Read.c:392:16: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | String_Free(newstring); | ^ TargetDB_Read.c:403:21: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | StringArray_Free(sourcepathset); | ^ TargetDB_Read.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 | TargetDB_ReadUncompressed(fp) | ^ TargetDB_Read.c:50:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | static TARGETDB *TargetDB_ReadUncompressed(); | ^ TargetDB_Read.c:453:8: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] 453 | pid = vfork(); | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:608:1: note: 'vfork' has been explicitly marked deprecated here 608 | __deprecated_msg("Use posix_spawn or fork") | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ TargetDB_Read.c:460:22: warning: passing arguments to 'efdopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | pipeinfp = efdopen(pipefd[0], "r"); | ^ TargetDB_Read.c:483:7: warning: incompatible pointer types passing 'union wait *' to parameter of type 'int *' [-Wincompatible-pointer-types] 483 | wait(&ExecStatus); | ^~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h:246:19: note: passing argument to parameter here 246 | pid_t wait(int *) __DARWIN_ALIAS_C(wait); | ^ TargetDB_Read.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | TargetDB_Read(fp, compressflag) | ^ In file included from TargetDB_Read.c:39: ./TargetDB.h:151:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 151 | extern TARGETDB *TargetDB_Read(); | ^ 48 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c TargetDB_Read.o ../objdir//TargetDB_Read.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c TargetDB_Write.c In file included from TargetDB_Write.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ TargetDB_Write.c:82:28: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | if (String_Comparator(leaf_node, nodename) == 0) { | ^ TargetDB_Write.c:88:31: warning: passing arguments to 'StringSet_Index' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | sourceindex = StringSet_Index(sourcepathset, potentialparentpath); | ^ TargetDB_Write.c:93:31: warning: passing arguments to 'StringSet_Index' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | sourceindex = StringSet_Index(sourcepathset, | ^ TargetDB_Write.c:99:14: warning: passing arguments to 'String_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | String_Write(fd, TARGETSOURCE_Path(sourcep), | ^ TargetDB_Write.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | TargetSource_Write(fd, sourcep, nodename, sourcepathset) | ^ TargetDB_Write.c:52:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | static int TargetSource_Write(); | ^ TargetDB_Write.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | TargetSourceList_Write(fd, sourcelist, nodename, sourcepathset) | ^ TargetDB_Write.c:53:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | static int TargetSourceList_Write(); | ^ TargetDB_Write.c:179:19: warning: passing arguments to 'String_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | String_Write(fd, TARGETDB_Name(tdb), | ^ TargetDB_Write.c:211:28: warning: passing arguments to 'TargetSourceList_PathSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | TargetSourceList_PathSet(TARGETDB_SourceList(tdb)); | ^ TargetDB_Write.c:219:20: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | StringArray_Free(childsourcepathset); | ^ TargetDB_Write.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 | TargetDB_Tree_Write(fd, tdb, sourcepathset) | ^ TargetDB_Write.c:54:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | static int TargetDB_Tree_Write(); | ^ TargetDB_Write.c:235:45: warning: passing arguments to 'TargetSourceList_PathSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | sourcepathset = TargetSourceList_PathSet(TARGETDB_SourceList(TargetDB)); | ^ TargetDB_Write.c:238:41: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | fprintf(fd, "%d\n", StringArray_Size(sourcepathset)); | ^ TargetDB_Write.c:240:24: warning: passing arguments to 'StringArray_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | StringArray_Write(fd, sourcepathset, | ^ TargetDB_Write.c:251:21: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | StringArray_Free(sourcepathset); | ^ TargetDB_Write.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 | TargetDB_WriteUncompressed(fd, TargetDB) | ^ TargetDB_Write.c:55:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | static int TargetDB_WriteUncompressed(); | ^ TargetDB_Write.c:295:8: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] 295 | pid = vfork(); | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:608:1: note: 'vfork' has been explicitly marked deprecated here 608 | __deprecated_msg("Use posix_spawn or fork") | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ TargetDB_Write.c:302:22: warning: passing arguments to 'efdopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | pipeinfp = efdopen(pipefd[1], "w"); | ^ TargetDB_Write.c:325:7: warning: incompatible pointer types passing 'union wait *' to parameter of type 'int *' [-Wincompatible-pointer-types] 325 | wait(&ExecStatus); | ^~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h:246:19: note: passing argument to parameter here 246 | pid_t wait(int *) __DARWIN_ALIAS_C(wait); | ^ TargetDB_Write.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 | TargetDB_Write(fp, TargetDB, compressflag) | ^ In file included from TargetDB_Write.c:39: ./TargetDB.h:152:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 152 | extern int TargetDB_Write(); | ^ 25 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c TargetDB_Write.o ../objdir//TargetDB_Write.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c TargetDB_Locate.c In file included from TargetDB_Locate.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ TargetDB_Locate.c:70:50: warning: passing arguments to 'StringToStringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | targetpathstringarray = StringToStringArray(pathtonode, | ^ TargetDB_Locate.c:87:39: warning: passing arguments to 'TargetDB_LocateChildNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | childnodep = TargetDB_LocateChildNode(childnodep, *sp, flags); | ^ TargetDB_Locate.c:91:30: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | (void) StringArray_Free(targetpathstringarray); | ^ TargetDB_Locate.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | TargetDB_LocateNode(targetdbp, pathtonode, flags) | ^ In file included from TargetDB_Locate.c:39: ./TargetDB.h:154:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 154 | extern TARGETDBENTRY *TargetDB_LocateNode(); | ^ TargetDB_Locate.c:141:32: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | comparison = String_Comparator(TARGETDB_Name(*childp), childname); | ^ TargetDB_Locate.c:157:38: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | comparison = String_Comparator(TARGETDB_Name(*childp), | ^ TargetDB_Locate.c:178:36: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | = (TARGETDBENTRY **) emalloc(sizeof(TARGETDBENTRY *)); | ^ TargetDB_Locate.c:182:16: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | erealloc((void *) TARGETDB_Children(targetdbp), | ^ TargetDB_Locate.c:194:27: warning: passing arguments to 'TargetDB_Create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | *tp = TargetDB_Create(childname /* name of child node */ , | ^ TargetDB_Locate.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 | TargetDB_LocateIndexToChildNode(targetdbp, childname, flags) | ^ In file included from TargetDB_Locate.c:39: ./TargetDB.h:156:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 156 | extern int TargetDB_LocateIndexToChildNode(); | ^ TargetDB_Locate.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | TargetDB_LocateChildNode(targetdbp, childname, flags) | ^ In file included from TargetDB_Locate.c:39: ./TargetDB.h:155:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 155 | extern TARGETDBENTRY *TargetDB_LocateChildNode(); | ^ 15 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c TargetDB_Locate.o ../objdir//TargetDB_Locate.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c TargetDB_Delete.c In file included from TargetDB_Delete.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ TargetDB_Delete.c:62:26: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | if (String_Comparator(pathtodelete, "/") == 0) { | ^ TargetDB_Delete.c:64:15: warning: passing arguments to 'TargetDB_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | TargetDB_Free(targetdbp); | ^ TargetDB_Delete.c:71:50: warning: passing arguments to 'StringToStringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | targetpathstringarray = StringToStringArray(pathtodelete, | ^ TargetDB_Delete.c:82:45: warning: passing arguments to 'TargetDB_DeletePathInSubtree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | newtargetdbp = TargetDB_DeletePathInSubtree(targetdbp, | ^ TargetDB_Delete.c:87:25: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | (void) StringArray_Free(targetpathstringarray); | ^ TargetDB_Delete.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | TargetDB_DeleteTargetPath(targetdbp, pathtodelete, flags) | ^ In file included from TargetDB_Delete.c:39: ./TargetDB.h:158:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 158 | extern TARGETDB *TargetDB_DeleteTargetPath(); | ^ TargetDB_Delete.c:121:15: warning: passing arguments to 'TargetDB_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | TargetDB_Free(newtargetdbp); | ^ TargetDB_Delete.c:125:55: warning: passing arguments to 'TargetDB_LocateIndexToChildNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | childnodeindex = TargetDB_LocateIndexToChildNode(newtargetdbp, | ^ TargetDB_Delete.c:148:48: warning: passing arguments to 'TargetDB_RemoveChildByIndex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | newtargetdbp = TargetDB_RemoveChildByIndex(newtargetdbp, | ^ TargetDB_Delete.c:154:16: warning: passing arguments to 'TargetDB_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | TargetDB_Free(newtargetdbp); | ^ TargetDB_Delete.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | TargetDB_DeletePathInSubtree(targetdbp, targetpatharray, flags) | ^ TargetDB_Delete.c:41:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | static TARGETDB *TargetDB_DeletePathInSubtree(); | ^ TargetDB_Delete.c:190:20: warning: passing arguments to 'TargetDB_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | TargetDB_Free(childnodep); | ^ TargetDB_Delete.c:204:36: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | = (TARGETDBENTRY **) erealloc((void *) TARGETDB_Children(targetdbnodep), | ^ TargetDB_Delete.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | TargetDB_RemoveChildByIndex(targetdbnodep, | ^ In file included from TargetDB_Delete.c:39: ./TargetDB.h:159:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 159 | TARGETDBENTRY *TargetDB_RemoveChildByIndex(); | ^ 18 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c TargetDB_Delete.o ../objdir//TargetDB_Delete.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c TargetDB_Merge.c In file included from TargetDB_Merge.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ TargetDB_Merge.c:60:21: warning: passing arguments to 'SourceList_Merge' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | SourceList_Merge(TARGETDB_SourceList(targetdbnodep), | ^ TargetDB_Merge.c:72:39: warning: passing arguments to 'TargetDB_UnObsoleteSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | (void) TargetDB_UnObsoleteSource(targetdbnodep, | ^ TargetDB_Merge.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | TargetDB_NodeMerge(targetdbnodep, deltadbnodep, newpathtosources) | ^ TargetDB_Merge.c:42:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | static void TargetDB_NodeMerge(); | ^ TargetDB_Merge.c:113:33: warning: passing arguments to 'TargetDB_LocateIndexToChildNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | TargetDB_LocateIndexToChildNode(newtargetdbp, | ^ TargetDB_Merge.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | TargetDB_TreeMerge(targetdbp, deltadbp, newpathtosources) | ^ TargetDB_Merge.c:43:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | static TARGETDB *TargetDB_TreeMerge(); | ^ TargetDB_Merge.c:141:28: warning: passing arguments to 'TargetDB' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | newtargetdbp = TargetDB(deltadbp); | ^ TargetDB_Merge.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | TargetDB_Merge(targetdbp, deltadbp, newpathtosources) | ^ In file included from TargetDB_Merge.c:39: ./TargetDB.h:161:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 161 | extern TARGETDB *TargetDB_Merge(); | ^ 11 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c TargetDB_Merge.o ../objdir//TargetDB_Merge.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c TargetDB_Obsolete.c In file included from TargetDB_Obsolete.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ TargetDB_Obsolete.c:62:41: warning: passing arguments to 'SourceList_FindIndexToCollectionId' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | SourceList_FindIndexToCollectionId(sourcelistp, collectionid, TDB_LAX); | ^ TargetDB_Obsolete.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | TargetDB_TreeObsoleteCollection(targetdbp, collectionid) | ^ TargetDB_Obsolete.c:42:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | static void TargetDB_TreeObsoleteCollection(); | ^ TargetDB_Obsolete.c:127:41: warning: passing arguments to 'SourceList_FindIndexToCollectionId' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | SourceList_FindIndexToCollectionId(sourcelistp, collectionid, TDB_LAX); | ^ TargetDB_Obsolete.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | TargetDB_TreeUnObsoleteCollection(targetdbp, | ^ TargetDB_Obsolete.c:43:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | static Boolean TargetDB_TreeUnObsoleteCollection(); | ^ TargetDB_Obsolete.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 | TargetDB_ObsoleteCollection(targetdbp, collectionid) | ^ In file included from TargetDB_Obsolete.c:39: ./TargetDB.h:163:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 163 | extern TARGETDB *TargetDB_ObsoleteCollection(); | ^ TargetDB_Obsolete.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | TargetDB_UnObsoleteCollection(targetdbp, | ^ In file included from TargetDB_Obsolete.c:39: ./TargetDB.h:164:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 164 | extern TARGETDB *TargetDB_UnObsoleteCollection(); | ^ TargetDB_Obsolete.c:244:47: warning: passing arguments to 'SourceList_FindIndexToSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | sourceindex = SourceList_FindIndexToSource(TARGETDB_SourceList(targetdbp), | ^ TargetDB_Obsolete.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 | TargetDB_UnObsoleteSource(targetdbp, | ^ In file included from TargetDB_Obsolete.c:39: ./TargetDB.h:165:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 165 | extern Boolean TargetDB_UnObsoleteSource(); | ^ 14 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c TargetDB_Obsolete.o ../objdir//TargetDB_Obsolete.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c TargetDB_Prune.c In file included from TargetDB_Prune.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ TargetDB_Prune.c:63:33: warning: passing arguments to 'SourceList_PruneCollection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | SourceList_PruneCollection(TARGETDB_SourceList(newtargetdbp), | ^ TargetDB_Prune.c:69:15: warning: passing arguments to 'TargetDB_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | TargetDB_Free(newtargetdbp); | ^ TargetDB_Prune.c:95:16: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | erealloc((void *) TARGETDB_Children(newtargetdbp), | ^ TargetDB_Prune.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | TargetDB_TreePruneCollection(targetdbp, collectionid) | ^ TargetDB_Prune.c:42:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | static TARGETDB *TargetDB_TreePruneCollection(); | ^ TargetDB_Prune.c:123:20: warning: passing arguments to 'TargetDB_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | TargetDB_Free(newtargetdbp); | ^ TargetDB_Prune.c:149:14: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | erealloc((void *) TARGETDB_Children(newtargetdbp), | ^ TargetDB_Prune.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | TargetDB_TreePruneTargets(targetdbp) | ^ TargetDB_Prune.c:43:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | static TARGETDB *TargetDB_TreePruneTargets(); | ^ TargetDB_Prune.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | TargetDB_PruneCollection(targetdbp, collectionid) | ^ In file included from TargetDB_Prune.c:39: ./TargetDB.h:167:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 167 | extern TARGETDB *TargetDB_PruneCollection(); | ^ TargetDB_Prune.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | TargetDB_PruneTargets(targetdbp) | ^ In file included from TargetDB_Prune.c:39: ./TargetDB.h:170:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 170 | extern TARGETDB *TargetDB_PruneTargets(); | ^ 14 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c TargetDB_Prune.o ../objdir//TargetDB_Prune.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c TargetDB_SortByOverrides.c In file included from TargetDB_SortByOverrides.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ TargetDB_SortByOverrides.c:77:33: warning: passing arguments to 'SourceList_SortByOverrides' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | SourceList_SortByOverrides(TARGETDB_SourceList(targetdbp), | ^ TargetDB_SortByOverrides.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | TargetDB_TreeSortByOverrides(targetdbp, | ^ TargetDB_SortByOverrides.c:58:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | static void TargetDB_TreeSortByOverrides(); | ^ TargetDB_SortByOverrides.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 | TargetDB_SortByOverrides(targetdbp, | ^ In file included from TargetDB_SortByOverrides.c:42: ./TargetDB.h:168:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 168 | extern void TargetDB_SortByOverrides(); | ^ 6 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c TargetDB_SortByOverrides.o ../objdir//TargetDB_SortByOverrides.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c TargetDB_Conflict.c In file included from TargetDB_Conflict.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ TargetDB_Conflict.c:79:29: warning: passing arguments to 'SourceList_CheckConsistency' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | SourceList_CheckConsistency(TARGETDB_SourceList(targetdbnodep), | ^ TargetDB_Conflict.c:62:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | static Boolean TargetDB_NodeCheckSourceConsistency(targetdbnodep, | ^ TargetDB_Conflict.c:58:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | static Boolean TargetDB_NodeCheckSourceConsistency(); | ^ TargetDB_Conflict.c:90:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | static Boolean TargetDB_TreeCheckSourceConsistency(targetdbp, | ^ TargetDB_Conflict.c:59:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | static Boolean TargetDB_TreeCheckSourceConsistency(); | ^ TargetDB_Conflict.c:133:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | Boolean TargetDB_CheckSourceConsistency(targetdbp, | ^ In file included from TargetDB_Conflict.c:42: ./TargetDB.h:169:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 169 | extern Boolean TargetDB_CheckSourceConsistency(); | ^ TargetDB_Conflict.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | Update_Dump(upd) | ^ TargetDB_Conflict.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 | TargetDB_ReportUpdateConflict(source1, source2, coll) | ^ In file included from TargetDB_Conflict.c:42: ./TargetDB.h:180:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 180 | extern void TargetDB_ReportUpdateConflict(); | ^ TargetDB_Conflict.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | TargetDB_ReportFileConflict(source1, source2, coll1, coll2, findallconflicts) | ^ In file included from TargetDB_Conflict.c:42: ./TargetDB.h:179:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 179 | extern void TargetDB_ReportFileConflict(); | ^ TargetDB_Conflict.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | TargetDB_ReportMergeConflict(source1, source2) | ^ In file included from TargetDB_Conflict.c:42: ./TargetDB.h:178:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 178 | extern void TargetDB_ReportMergeConflict(); | ^ 15 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c TargetDB_Conflict.o ../objdir//TargetDB_Conflict.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c TargetDB_Apply.c In file included from TargetDB_Apply.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ TargetDB_Apply.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | TargetDB_VirginDirectorySource(nodep) | ^ TargetDB_Apply.c:46:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | static TARGETSOURCE *TargetDB_VirginDirectorySource(); | ^ TargetDB_Apply.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | SourceList_SourceToUse(sourcelistp) | ^ In file included from TargetDB_Apply.c:42: ./TargetDB.h:182:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 182 | extern TARGETSOURCE *SourceList_SourceToUse(); | ^ TargetDB_Apply.c:194:37: warning: passing arguments to 'TargetDB_CheckNoop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | ApplyStatus = TargetDB_CheckNoop(targetpath, nodep, flags); | ^ TargetDB_Apply.c:196:32: warning: passing arguments to 'TargetDB_Noop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | ApplyStatus = TargetDB_Noop(targetpath, nodep, flags); | ^ TargetDB_Apply.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | TargetDB_ApplyNoop(targetpath, nodep, flags) | ^ TargetDB_Apply.c:47:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | static Boolean TargetDB_ApplyNoop(); | ^ TargetDB_Apply.c:213:39: warning: passing arguments to 'TargetDB_CheckDelete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | ApplyStatus = TargetDB_CheckDelete(targetpath, nodep, flags); | ^ TargetDB_Apply.c:215:34: warning: passing arguments to 'TargetDB_Delete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | ApplyStatus = TargetDB_Delete(targetpath, nodep, flags); | ^ TargetDB_Apply.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | TargetDB_ApplyDelete(targetpath, nodep, flags) | ^ TargetDB_Apply.c:48:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | static Boolean TargetDB_ApplyDelete(); | ^ TargetDB_Apply.c:233:44: warning: passing arguments to 'TargetDB_CheckMaintainDir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | ApplyStatus = TargetDB_CheckMaintainDir(targetpath, nodep, flags); | ^ TargetDB_Apply.c:235:39: warning: passing arguments to 'TargetDB_MaintainDir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | ApplyStatus = TargetDB_MaintainDir(targetpath, nodep, flags); | ^ TargetDB_Apply.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 | TargetDB_ApplyMaintainDir(targetpath, nodep, flags, applychildren) | ^ TargetDB_Apply.c:49:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | static Boolean TargetDB_ApplyMaintainDir(); | ^ TargetDB_Apply.c:276:43: warning: passing arguments to 'TargetDB_CheckHardLink' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | ApplyStatus = TargetDB_CheckHardLink(targetpath, nodep, flags, | ^ TargetDB_Apply.c:281:38: warning: passing arguments to 'TargetDB_HardLink' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | ApplyStatus = TargetDB_HardLink(targetpath, nodep, flags, | ^ TargetDB_Apply.c:289:40: warning: passing arguments to 'TargetDB_CheckMkdir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | ApplyStatus = TargetDB_CheckMkdir(targetpath, nodep, flags, sourcep); | ^ TargetDB_Apply.c:291:35: warning: passing arguments to 'TargetDB_Mkdir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | ApplyStatus = TargetDB_Mkdir(targetpath, nodep, flags); | ^ TargetDB_Apply.c:296:43: warning: passing arguments to 'TargetDB_CheckCopyFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | ApplyStatus = TargetDB_CheckCopyFile(targetpath, nodep, flags, | ^ TargetDB_Apply.c:299:38: warning: passing arguments to 'TargetDB_CopyFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | ApplyStatus = TargetDB_CopyFile(targetpath, nodep, flags, | ^ TargetDB_Apply.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 | TargetDB_ApplyMapCopy(targetpath, nodep, flags, | ^ TargetDB_Apply.c:50:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | static Boolean TargetDB_ApplyMapCopy(); | ^ TargetDB_Apply.c:347:43: warning: passing arguments to 'TargetDB_CheckHardLink' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | ApplyStatus = TargetDB_CheckHardLink(targetpath, nodep, flags, | ^ TargetDB_Apply.c:351:38: warning: passing arguments to 'TargetDB_HardLink' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | ApplyStatus = TargetDB_HardLink(targetpath, nodep, flags, | ^ TargetDB_Apply.c:370:40: warning: passing arguments to 'TargetDB_CheckLinkFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | ApplyStatus = TargetDB_CheckLinkFile(targetpath, nodep, flags, | ^ TargetDB_Apply.c:374:35: warning: passing arguments to 'TargetDB_LinkFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | ApplyStatus = TargetDB_LinkFile(targetpath, nodep, flags, | ^ TargetDB_Apply.c:380:37: warning: passing arguments to 'TargetDB_CheckMkdir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | ApplyStatus = TargetDB_CheckMkdir(targetpath, nodep, | ^ TargetDB_Apply.c:383:32: warning: passing arguments to 'TargetDB_Mkdir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | ApplyStatus = TargetDB_Mkdir(targetpath, nodep, flags); | ^ TargetDB_Apply.c:390:43: warning: passing arguments to 'TargetDB_CheckLinkFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | ApplyStatus = TargetDB_CheckLinkFile(targetpath, nodep, flags, | ^ TargetDB_Apply.c:393:38: warning: passing arguments to 'TargetDB_LinkFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | ApplyStatus = TargetDB_LinkFile(targetpath, nodep, flags, | ^ TargetDB_Apply.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | TargetDB_ApplyMapLink(targetpath, nodep, flags, | ^ TargetDB_Apply.c:51:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | static Boolean TargetDB_ApplyMapLink(); | ^ TargetDB_Apply.c:440:43: warning: passing arguments to 'TargetDB_CheckHardLink' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | ApplyStatus = TargetDB_CheckHardLink(targetpath, nodep, flags, | ^ TargetDB_Apply.c:444:38: warning: passing arguments to 'TargetDB_HardLink' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | ApplyStatus = TargetDB_HardLink(targetpath, nodep, flags, | ^ TargetDB_Apply.c:463:40: warning: passing arguments to 'TargetDB_CheckLinkFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | ApplyStatus = TargetDB_CheckLinkFile(targetpath, nodep, flags, | ^ TargetDB_Apply.c:467:35: warning: passing arguments to 'TargetDB_LinkFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | ApplyStatus = TargetDB_LinkFile(targetpath, nodep, flags, | ^ TargetDB_Apply.c:473:37: warning: passing arguments to 'TargetDB_CheckMkdir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | ApplyStatus = TargetDB_CheckMkdir(targetpath, nodep, | ^ TargetDB_Apply.c:476:32: warning: passing arguments to 'TargetDB_Mkdir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | ApplyStatus = TargetDB_Mkdir(targetpath, nodep, flags); | ^ TargetDB_Apply.c:484:38: warning: passing arguments to 'TargetDB_CheckCopyFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | ApplyStatus = TargetDB_CheckCopyFile(targetpath, nodep, flags, | ^ TargetDB_Apply.c:487:33: warning: passing arguments to 'TargetDB_CopyFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | ApplyStatus = TargetDB_CopyFile(targetpath, nodep, flags, | ^ TargetDB_Apply.c:492:38: warning: passing arguments to 'TargetDB_CheckLinkFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | ApplyStatus = TargetDB_CheckLinkFile(targetpath, nodep, flags, | ^ TargetDB_Apply.c:496:33: warning: passing arguments to 'TargetDB_LinkFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | ApplyStatus = TargetDB_LinkFile(targetpath, nodep, flags, | ^ TargetDB_Apply.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | TargetDB_ApplyMapDefault(targetpath, nodep, flags, nodeparentp, pathprefix, collectionlist, depth, applychildren) | ^ TargetDB_Apply.c:52:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | static Boolean TargetDB_ApplyMapDefault(); | ^ TargetDB_Apply.c:527:25: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | if ((String_Comparator(pathprefix, "/") == 0) | ^ TargetDB_Apply.c:528:28: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | || (String_Comparator(pathprefix, ".") == 0)) { | ^ TargetDB_Apply.c:529:26: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | if (String_Comparator(TARGETDB_Name(nodep), "/") == 0) | ^ TargetDB_Apply.c:536:24: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | if (String_Comparator(TARGETDB_Name(nodep), "..") == 0) { | ^ TargetDB_Apply.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 | TargetDB_NodeApply(nodep, flags, nodeparentp, | ^ TargetDB_Apply.c:54:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | static Boolean TargetDB_NodeApply(); | ^ TargetDB_Apply.c:624:25: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | if ((String_Comparator(pathprefix, "/") == 0) | ^ TargetDB_Apply.c:625:28: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | || (String_Comparator(pathprefix, ".") == 0)) { | ^ TargetDB_Apply.c:587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | TargetDB_TreeApply(targetdbp, flags, targetdbparentp, | ^ TargetDB_Apply.c:55:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | static Boolean TargetDB_TreeApply(); | ^ TargetDB_Apply.c:654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | TargetDB_Apply(targetdbp, flags, collectionlist) | ^ In file included from TargetDB_Apply.c:42: ./TargetDB.h:177:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 177 | extern void TargetDB_Apply(); | ^ 59 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c TargetDB_Apply.o ../objdir//TargetDB_Apply.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c TargetDB_Check.c In file included from TargetDB_Check.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ TargetDB_Check.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | HardLink_SourceToUse(sourcelistp) | ^ In file included from TargetDB_Check.c:39: ./TargetDB.h:183:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 183 | extern TARGETSOURCE *HardLink_SourceToUse(); | ^ TargetDB_Check.c:104:19: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | File_GetStatus(targetpath, &targetstatus, FALSE /* followlinks */ ); | ^ TargetDB_Check.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | TargetDB_CheckNoop(targetpath, nodep, flags) | ^ In file included from TargetDB_Check.c:39: ./TargetDB.h:185:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 185 | extern Boolean TargetDB_CheckNoop(); | ^ TargetDB_Check.c:152:19: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | File_GetStatus(targetpath, &targetstatus, FALSE /* followlinks */ ); | ^ TargetDB_Check.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | TargetDB_CheckDelete(targetpath, nodep, flags) | ^ In file included from TargetDB_Check.c:39: ./TargetDB.h:186:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 186 | extern Boolean TargetDB_CheckDelete(); | ^ TargetDB_Check.c:204:30: warning: passing arguments to 'TargetDB_CheckCleanDir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | && !TargetDB_CheckCleanDir(targetpath, nodep, flags)) { | ^ TargetDB_Check.c:228:19: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | File_GetStatus(targetpath, &targetstatus, FALSE /* followlinks */ ); | ^ TargetDB_Check.c:235:34: warning: passing arguments to 'TargetDB_CheckCleanDir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | if (!TargetDB_CheckCleanDir(targetpath, nodep, flags)) { | ^ TargetDB_Check.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | TargetDB_CheckMaintainDir(targetpath, nodep, flags) | ^ In file included from TargetDB_Check.c:39: ./TargetDB.h:187:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 187 | extern Boolean TargetDB_CheckMaintainDir(); | ^ TargetDB_Check.c:324:28: warning: passing arguments to 'TargetDB_CheckCleanDir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | && !TargetDB_CheckCleanDir(targetpath, nodep, flags)) { | ^ TargetDB_Check.c:347:19: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | File_GetStatus(targetpath, &targetstatus, FALSE /* followlinks */ ); | ^ TargetDB_Check.c:354:34: warning: passing arguments to 'TargetDB_CheckCleanDir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | if (!TargetDB_CheckCleanDir(targetpath, nodep, flags)) { | ^ TargetDB_Check.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 | TargetDB_CheckMkdir(targetpath, nodep, flags, sourcep) | ^ In file included from TargetDB_Check.c:39: ./TargetDB.h:188:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 188 | extern Boolean TargetDB_CheckMkdir(); | ^ TargetDB_Check.c:425:21: warning: passing arguments to 'File_ListDirectory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | File_ListDirectory(targetpath, &filelistarray); | ^ TargetDB_Check.c:437:51: warning: passing arguments to 'TargetDB_LocateIndexToChildNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | childindex = TargetDB_LocateIndexToChildNode(nodep, | ^ TargetDB_Check.c:449:21: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | StringArray_Free(filelistarray); | ^ TargetDB_Check.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | TargetDB_CheckCleanDir(targetpath, nodep, flags) | ^ TargetDB_Check.c:43:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | static Boolean TargetDB_CheckCleanDir(); | ^ TargetDB_Check.c:493:43: warning: passing arguments to 'TargetDB_CheckLinkFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | CheckStatus = TargetDB_CheckLinkFile(targetpath, | ^ TargetDB_Check.c:512:26: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | && (String_Comparator(TARGETDB_Name(nodep), | ^ TargetDB_Check.c:515:26: warning: passing arguments to 'TargetDB_LocateChildNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | TargetDB_LocateChildNode(parentp, | ^ TargetDB_Check.c:531:3: warning: passing arguments to 'TargetSource_DuplicateComparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | (TARGETSOURCE_SecondarySource(hardlinksourcep), | ^ TargetDB_Check.c:544:38: warning: passing arguments to 'TargetDB_CheckCopyFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | CheckStatus = TargetDB_CheckCopyFile(targetpath, | ^ TargetDB_Check.c:598:20: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | File_GetStatus(targetpath, &targetstatus, FALSE); | ^ TargetDB_Check.c:606:30: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | if ((String_Comparator(pathprefix, "/") == 0) | ^ TargetDB_Check.c:607:26: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | || (String_Comparator(pathprefix, ".") == 0)) { | ^ TargetDB_Check.c:608:24: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | if (String_Comparator(TARGETSOURCE_Path(secondaryp), | ^ TargetDB_Check.c:618:22: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | File_GetStatus(hardlinkpath, &sourcestatus, | ^ TargetDB_Check.c:645:20: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | File_GetStatus(targetpath, &targetstatus, FALSE); | ^ TargetDB_Check.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | TargetDB_CheckHardLink(targetpath, nodep, flags, parentp, pathprefix, collectionpath, sourcep, depth) | ^ In file included from TargetDB_Check.c:39: ./TargetDB.h:189:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 189 | extern Boolean TargetDB_CheckHardLink(); | ^ TargetDB_Check.c:746:19: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | File_GetStatus(targetpath, &targetstatus, FALSE /* followlinks */ ); | ^ TargetDB_Check.c:758:21: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | File_GetStatus(sourcepath, &sourcestatus, FALSE /* followlinks */ ); | ^ TargetDB_Check.c:771:18: warning: passing arguments to 'File_ReadSymLink' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | File_ReadSymLink(sourcepath, linksrc, MAXPATHLEN + 1); | ^ TargetDB_Check.c:772:18: warning: passing arguments to 'File_ReadSymLink' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | File_ReadSymLink(targetpath, linktrg, MAXPATHLEN + 1); | ^ TargetDB_Check.c:774:25: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | if (String_Comparator(linksrc, linktrg) == 0) { | ^ TargetDB_Check.c:680:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | TargetDB_CheckCopyFile(targetpath, nodep, flags, collectionpath, sourcep) | ^ In file included from TargetDB_Check.c:39: ./TargetDB.h:190:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 190 | extern Boolean TargetDB_CheckCopyFile(); | ^ TargetDB_Check.c:906:19: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | File_GetStatus(targetpath, &targetstatus, FALSE /* followlinks */ ); | ^ TargetDB_Check.c:913:23: warning: passing arguments to 'File_ReadSymLink' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | File_ReadSymLink(targetpath, linktrg, MAXPATHLEN + 1); | ^ TargetDB_Check.c:915:25: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | && (String_Comparator(sourcepath, linktrg) == 0)) | ^ TargetDB_Check.c:839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | TargetDB_CheckLinkFile(targetpath, nodep, flags, collectionpath, sourcep, depth) | ^ In file included from TargetDB_Check.c:39: ./TargetDB.h:191:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 191 | extern Boolean TargetDB_CheckLinkFile(); | ^ TargetDB_Check.c:960:40: warning: passing arguments to 'StringToStringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 960 | targetpatharray = StringToStringArray(targetpath, | ^ TargetDB_Check.c:977:21: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | File_GetStatus(filenamebuffer, &filestatusbuffer, FALSE /* followlinks | ^ TargetDB_Check.c:993:21: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | StringArray_Free(targetpatharray); | ^ TargetDB_Check.c:946:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | TargetDB_CheckPathHierarchy(targetpath) | ^ In file included from TargetDB_Check.c:39: ./TargetDB.h:192:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 192 | extern Boolean TargetDB_CheckPathHierarchy(); | ^ 54 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c TargetDB_Check.o ../objdir//TargetDB_Check.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c TargetDB_Update.c In file included from TargetDB_Update.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ TargetDB_Update.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 | TargetDB_Noop(targetpath, nodep, flags) | ^ In file included from TargetDB_Update.c:39: ./TargetDB.h:193:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 193 | extern Boolean TargetDB_Noop(); | ^ TargetDB_Update.c:82:24: warning: passing arguments to 'File_RemovePath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | if (File_RemovePath(targetpath, NULL) >= 0) | ^ TargetDB_Update.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | TargetDB_Delete(targetpath, nodep, flags) | ^ In file included from TargetDB_Update.c:39: ./TargetDB.h:194:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 194 | extern Boolean TargetDB_Delete(); | ^ TargetDB_Update.c:101:34: warning: passing arguments to 'TargetDB_Mkdir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | UpdateStatus = TargetDB_Mkdir(targetpath, nodep, flags); | ^ TargetDB_Update.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | TargetDB_MaintainDir(targetpath, nodep, flags) | ^ In file included from TargetDB_Update.c:39: ./TargetDB.h:195:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 195 | extern Boolean TargetDB_MaintainDir(); | ^ TargetDB_Update.c:123:19: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | File_GetStatus(targetpath, &targetstatus, FALSE /* followlinks */ ); | ^ TargetDB_Update.c:126:24: warning: passing arguments to 'TargetDB_CleanDir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | if (!TargetDB_CleanDir(targetpath, nodep, flags)) | ^ TargetDB_Update.c:132:19: warning: passing arguments to 'File_RemovePath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | File_RemovePath(targetpath, &targetstatus); | ^ TargetDB_Update.c:136:26: warning: passing arguments to 'File_CreateDirectory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | if (File_CreateDirectory(targetpath, NULL, FSTAT_NULL) < 0) | ^ TargetDB_Update.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | TargetDB_Mkdir(targetpath, nodep, flags) | ^ In file included from TargetDB_Update.c:39: ./TargetDB.h:196:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 196 | extern Boolean TargetDB_Mkdir(); | ^ TargetDB_Update.c:165:21: warning: passing arguments to 'File_ListDirectory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | File_ListDirectory(targetpath, &filelistarray); | ^ TargetDB_Update.c:177:51: warning: passing arguments to 'TargetDB_LocateIndexToChildNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | childindex = TargetDB_LocateIndexToChildNode(nodep, | ^ TargetDB_Update.c:182:24: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | if ((String_Comparator(targetpath, "/") == 0) | ^ TargetDB_Update.c:183:27: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | || (String_Comparator(targetpath, ".") == 0)) | ^ TargetDB_Update.c:189:21: warning: passing arguments to 'File_RemovePath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | if (File_RemovePath(childpath, NULL) < 0) | ^ TargetDB_Update.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | TargetDB_CleanDir(targetpath, nodep, flags) | ^ TargetDB_Update.c:43:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | static Boolean TargetDB_CleanDir(); | ^ TargetDB_Update.c:234:37: warning: passing arguments to 'HardLink_SourceToUse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | sourcep = HardLink_SourceToUse(TARGETDB_SourceList(nodep)); | ^ TargetDB_Update.c:235:39: warning: passing arguments to 'TargetDB_LinkFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | UpdateStatus = TargetDB_LinkFile(targetpath, | ^ TargetDB_Update.c:244:35: warning: passing arguments to 'HardLink_SourceToUse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | sourcep = HardLink_SourceToUse(TARGETDB_SourceList(nodep)); | ^ TargetDB_Update.c:250:26: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | && (String_Comparator(TARGETDB_Name(nodep), | ^ TargetDB_Update.c:254:28: warning: passing arguments to 'TargetDB_LocateChildNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | TargetDB_LocateChildNode(parentp, | ^ TargetDB_Update.c:275:34: warning: passing arguments to 'TargetDB_CopyFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | UpdateStatus = TargetDB_CopyFile(targetpath, | ^ TargetDB_Update.c:281:24: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | if ((String_Comparator(pathprefix, "/") == 0) | ^ TargetDB_Update.c:282:27: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | || (String_Comparator(pathprefix, ".") == 0)) { | ^ TargetDB_Update.c:283:25: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | if (String_Comparator(TARGETSOURCE_Path(secondaryp), "/") == 0) | ^ TargetDB_Update.c:292:18: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | File_GetStatus(targetpath, &targetstatus, FALSE /* followlinks */ ); | ^ TargetDB_Update.c:297:21: warning: passing arguments to 'File_RemovePath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | File_RemovePath(targetpath, &targetstatus); | ^ TargetDB_Update.c:302:21: warning: passing arguments to 'File_CreateLink' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | File_CreateLink(hardlinkpath, targetpath); | ^ TargetDB_Update.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 | TargetDB_HardLink(targetpath, nodep, flags, parentp, pathprefix, collectionpath, sourcep, depth) | ^ In file included from TargetDB_Update.c:39: ./TargetDB.h:197:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 197 | extern Boolean TargetDB_HardLink(); | ^ TargetDB_Update.c:342:19: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | File_GetStatus(targetpath, &targetstatus, FALSE /* followlinks */ ); | ^ TargetDB_Update.c:349:21: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | File_GetStatus(sourcepath, &sourcestatus, FALSE /* followlinks */ ); | ^ TargetDB_Update.c:354:18: warning: passing arguments to 'File_ReadSymLink' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | File_ReadSymLink(sourcepath, linksrc, MAXPATHLEN + 1); | ^ TargetDB_Update.c:359:26: warning: passing arguments to 'File_CreateSymLink' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | if (File_CreateSymLink(linksrc, targetpath) < 0) | ^ TargetDB_Update.c:370:19: warning: passing arguments to 'File_RemovePath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | File_RemovePath(targetpath, &targetstatus); | ^ TargetDB_Update.c:387:22: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | if (File_GetStatus(sourcepath, ©status, FALSE /* followlinks */ ) < 0) { | ^ TargetDB_Update.c:436:21: warning: passing arguments to 'File_Filter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | if (File_Filter(sourcepath, targetpath, ©status, copyflags, | ^ TargetDB_Update.c:441:19: warning: passing arguments to 'File_Copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | if (File_Copy(sourcepath, targetpath, | ^ TargetDB_Update.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 | TargetDB_CopyFile(targetpath, nodep, flags, collectionpath, sourcep) | ^ In file included from TargetDB_Update.c:39: ./TargetDB.h:198:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 198 | extern Boolean TargetDB_CopyFile(); | ^ TargetDB_Update.c:497:29: warning: passing arguments to 'File_CreateSymLink' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | if (File_CreateSymLink(sourcepath, targetpath) < 0) | ^ TargetDB_Update.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | TargetDB_LinkFile(targetpath, nodep, flags, collectionpath, sourcep, depth) | ^ In file included from TargetDB_Update.c:39: ./TargetDB.h:199:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 199 | extern Boolean TargetDB_LinkFile(); | ^ 49 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c TargetDB_Update.o ../objdir//TargetDB_Update.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c TargetDB_CreateTargetPath.c In file included from TargetDB_CreateTargetPath.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ TargetDB_CreateTargetPath.c:79:37: warning: passing arguments to 'TargetDB_Create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | newtargetdbp = TargetDB_Create("/" /* name of root node */, | ^ TargetDB_CreateTargetPath.c:92:50: warning: passing arguments to 'StringToStringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | targetpathstringarray = StringToStringArray(targetpath, | ^ TargetDB_CreateTargetPath.c:112:41: warning: passing arguments to 'TargetDB_LocateChildNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | childnodep = TargetDB_LocateChildNode(childnodep, | ^ TargetDB_CreateTargetPath.c:131:21: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | StringArray_Free(targetpathstringarray); | ^ TargetDB_CreateTargetPath.c:42:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | TARGETDB *TargetDB_CreateTargetPath(targetdbp, | ^ In file included from TargetDB_CreateTargetPath.c:39: ./TargetDB.h:172:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 172 | extern TARGETDB *TargetDB_CreateTargetPath(); | ^ 7 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c TargetDB_CreateTargetPath.o ../objdir//TargetDB_CreateTargetPath.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c TargetDB_Special.c In file included from TargetDB_Special.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ TargetDB_Special.c:61:42: warning: passing arguments to 'TargetDB_LocateNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | targetdbnodep = TargetDB_LocateNode(targetdbp, *sp, TDB_LAX); | ^ TargetDB_Special.c:63:51: warning: passing arguments to 'TargetDB_CheckPathHierarchy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | SpecialTargetExists = TargetDB_CheckPathHierarchy(*sp); | ^ TargetDB_Special.c:67:42: warning: passing arguments to 'TargetDB_CreateTargetPath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | newtargetdbp = TargetDB_CreateTargetPath(newtargetdbp, | ^ TargetDB_Special.c:71:39: warning: passing arguments to 'TargetDB_LocateNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | targetdbnodep = TargetDB_LocateNode(targetdbp, *sp, TDB_LAX); | ^ TargetDB_Special.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | TargetDB_ProtectSpecialTargets(targetdbp, specialfilelist) | ^ In file included from TargetDB_Special.c:39: ./TargetDB.h:173:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 173 | extern TARGETDB *TargetDB_ProtectSpecialTargets(); | ^ 7 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c TargetDB_Special.o ../objdir//TargetDB_Special.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c TargetDB_SetTargetMappings.c In file included from TargetDB_SetTargetMappings.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ TargetDB_SetTargetMappings.c:62:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | static void TargetDB_NodeSetTargetMappings(nodep, mapmethod, filter) | ^ TargetDB_SetTargetMappings.c:56:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | static void TargetDB_NodeSetTargetMappings(); | ^ TargetDB_SetTargetMappings.c:79:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | static void TargetDB_TreeSetTargetMappings(targetdbp, mapmethod, filter) | ^ TargetDB_SetTargetMappings.c:57:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | static void TargetDB_TreeSetTargetMappings(); | ^ TargetDB_SetTargetMappings.c:113:46: warning: passing arguments to 'StringToStringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | targetpathstringarray = StringToStringArray(targetpath, | ^ TargetDB_SetTargetMappings.c:138:45: warning: passing arguments to 'TargetDB_LocateChildNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | childnodep = TargetDB_LocateChildNode(childnodep, *sp, TDB_LAX); | ^ TargetDB_SetTargetMappings.c:101:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | static void TargetDB_SetTargetMappingPath(targetdbp, targetpath, mapmethod) | ^ TargetDB_SetTargetMappings.c:58:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | static void TargetDB_SetTargetMappingPath(); | ^ TargetDB_SetTargetMappings.c:181:40: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | FilterNames = Preference_GetStringSet(preferencedbp, | ^ TargetDB_SetTargetMappings.c:189:37: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | CopyList = Preference_GetStringSet(preferencedbp, | ^ TargetDB_SetTargetMappings.c:194:39: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | DeleteList = Preference_GetStringSet(preferencedbp, | ^ TargetDB_SetTargetMappings.c:199:37: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | LinkList = Preference_GetStringSet(preferencedbp, | ^ TargetDB_SetTargetMappings.c:204:37: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | NoopList = Preference_GetStringSet(preferencedbp, | ^ TargetDB_SetTargetMappings.c:209:40: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | DefaultList = Preference_GetStringSet(preferencedbp, | ^ TargetDB_SetTargetMappings.c:225:44: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | FilterList = Preference_GetStringSet(preferencedbp, | ^ TargetDB_SetTargetMappings.c:231:39: warning: passing arguments to 'Preference_GetSentence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | filter = Preference_GetSentence(preferencedbp, | ^ TargetDB_SetTargetMappings.c:254:26: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | && (String_Comparator(*current, *delete) >= 0))) | ^ TargetDB_SetTargetMappings.c:258:26: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | && (String_Comparator(*current, *copy) >= 0))) | ^ TargetDB_SetTargetMappings.c:262:26: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | && (String_Comparator(*current, *link) >= 0))) | ^ TargetDB_SetTargetMappings.c:266:26: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | && (String_Comparator(*current, *mapdefault) >= 0))) | ^ TargetDB_SetTargetMappings.c:269:39: warning: passing arguments to 'TargetDB_LocateNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | targetdbnodep = TargetDB_LocateNode(newtargetdbp, *current, TDB_LAX); | ^ TargetDB_SetTargetMappings.c:274:51: warning: passing arguments to 'TargetDB_CheckPathHierarchy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | NoopTargetExists = TargetDB_CheckPathHierarchy(*current); | ^ TargetDB_SetTargetMappings.c:277:49: warning: passing arguments to 'TargetDB_CreateTargetPath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | newtargetdbp = TargetDB_CreateTargetPath(newtargetdbp, | ^ TargetDB_SetTargetMappings.c:282:41: warning: passing arguments to 'TargetDB_LocateNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | targetdbnodep = TargetDB_LocateNode(newtargetdbp, | ^ TargetDB_SetTargetMappings.c:157:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | TARGETDB *TargetDB_SetTargetMappings(targetdbp, preferencedbp) | ^ In file included from TargetDB_SetTargetMappings.c:40: ./TargetDB.h:174:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 174 | extern TARGETDB *TargetDB_SetTargetMappings(); | ^ 27 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c TargetDB_SetTargetMappings.o ../objdir//TargetDB_SetTargetMappings.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c TargetDB_SetTargetFileStatus.c In file included from TargetDB_SetTargetFileStatus.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ TargetDB_SetTargetFileStatus.c:80:54: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | TARGETDB_FileStatus(nodep) = (FILESTAT *) emalloc(sizeof(FILESTAT)); | ^ TargetDB_SetTargetFileStatus.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 | TargetDB_NodeSetTargetFileStatus(nodep, statusp, flags) | ^ TargetDB_SetTargetFileStatus.c:55:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | static void TargetDB_NodeSetTargetFileStatus(); | ^ TargetDB_SetTargetFileStatus.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 | TargetDB_TreeSetTargetFileStatus(targetdbp, statusp, flags) | ^ TargetDB_SetTargetFileStatus.c:56:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | static void TargetDB_TreeSetTargetFileStatus(); | ^ TargetDB_SetTargetFileStatus.c:178:46: warning: passing arguments to 'StringToStringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | targetpathstringarray = StringToStringArray(targetpath, | ^ TargetDB_SetTargetFileStatus.c:196:44: warning: passing arguments to 'TargetDB_LocateChildNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | childnodep = TargetDB_LocateChildNode(childnodep, *sp, TDB_LAX); | ^ TargetDB_SetTargetFileStatus.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | TargetDB_SetTargetFileStatusPath(targetdbp, targetpath, statusp, flags) | ^ TargetDB_SetTargetFileStatus.c:57:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | static void TargetDB_SetTargetFileStatusPath(); | ^ TargetDB_SetTargetFileStatus.c:251:44: warning: passing arguments to 'Preference_GetOwnerNamesToSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | OwnerList = Preference_GetOwnerNamesToSet(preferencedbp); | ^ TargetDB_SetTargetFileStatus.c:256:55: warning: passing arguments to 'UserIDFromName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | FILESTAT_Uid(&targetfilestatus) = UserIDFromName(*cpp); | ^ TargetDB_SetTargetFileStatus.c:258:38: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | TargetList = Preference_GetStringSet(preferencedbp, | ^ TargetDB_SetTargetFileStatus.c:268:39: warning: passing arguments to 'TargetDB_LocateNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | targetdbnodep = TargetDB_LocateNode(newtargetdbp, | ^ TargetDB_SetTargetFileStatus.c:283:21: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | StringArray_Free(OwnerList); | ^ TargetDB_SetTargetFileStatus.c:285:44: warning: passing arguments to 'Preference_GetGroupNamesToSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | GroupList = Preference_GetGroupNamesToSet(preferencedbp); | ^ TargetDB_SetTargetFileStatus.c:290:56: warning: passing arguments to 'GroupIDFromName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | FILESTAT_Gid(&targetfilestatus) = GroupIDFromName(*cpp); | ^ TargetDB_SetTargetFileStatus.c:292:38: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | TargetList = Preference_GetStringSet(preferencedbp, | ^ TargetDB_SetTargetFileStatus.c:302:39: warning: passing arguments to 'TargetDB_LocateNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | targetdbnodep = TargetDB_LocateNode(newtargetdbp, | ^ TargetDB_SetTargetFileStatus.c:317:21: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | StringArray_Free(GroupList); | ^ TargetDB_SetTargetFileStatus.c:319:46: warning: passing arguments to 'Preference_GetSetUIDNamesToSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | SetUidList = Preference_GetSetUIDNamesToSet(preferencedbp); | ^ TargetDB_SetTargetFileStatus.c:324:55: warning: passing arguments to 'UserIDFromName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | FILESTAT_Uid(&targetfilestatus) = UserIDFromName(*cpp); | ^ TargetDB_SetTargetFileStatus.c:326:38: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | TargetList = Preference_GetStringSet(preferencedbp, | ^ TargetDB_SetTargetFileStatus.c:336:39: warning: passing arguments to 'TargetDB_LocateNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | targetdbnodep = TargetDB_LocateNode(newtargetdbp, | ^ TargetDB_SetTargetFileStatus.c:351:21: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | StringArray_Free(SetUidList); | ^ TargetDB_SetTargetFileStatus.c:353:46: warning: passing arguments to 'Preference_GetSetGIDNamesToSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | SetGidList = Preference_GetSetGIDNamesToSet(preferencedbp); | ^ TargetDB_SetTargetFileStatus.c:358:56: warning: passing arguments to 'GroupIDFromName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | FILESTAT_Gid(&targetfilestatus) = GroupIDFromName(*cpp); | ^ TargetDB_SetTargetFileStatus.c:360:38: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | TargetList = Preference_GetStringSet(preferencedbp, | ^ TargetDB_SetTargetFileStatus.c:370:39: warning: passing arguments to 'TargetDB_LocateNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | targetdbnodep = TargetDB_LocateNode(newtargetdbp, | ^ TargetDB_SetTargetFileStatus.c:385:21: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | StringArray_Free(SetGidList); | ^ TargetDB_SetTargetFileStatus.c:392:42: warning: passing arguments to 'Preference_GetModeMasksToSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | MaskList = Preference_GetModeMasksToSet(preferencedbp); | ^ TargetDB_SetTargetFileStatus.c:395:33: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | (unsigned short *) emalloc(STRINGSET_Size(MaskList) * sizeof(unsigned short)); | ^ TargetDB_SetTargetFileStatus.c:397:29: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | (STRINGSET **) emalloc(STRINGSET_Size(MaskList) * sizeof(STRINGSET *)); | ^ TargetDB_SetTargetFileStatus.c:399:22: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | (int *) emalloc(STRINGSET_Size(MaskList) * sizeof(int)); | ^ TargetDB_SetTargetFileStatus.c:403:29: warning: passing arguments to 'StringToNumber' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | *(MaskModeList + i) = OctalNumber(STRINGSET_String(MaskList, i)); | ^ ../build-include/util.h:80:40: note: expanded from macro 'OctalNumber' 80 | #define OctalNumber(s) (StringToNumber(s, 8)) | ^ TargetDB_SetTargetFileStatus.c:405:25: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | Preference_GetStringSet(preferencedbp, | ^ TargetDB_SetTargetFileStatus.c:435:8: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | (STRINGSET_String(*(MaskTargetListList + current), | ^ TargetDB_SetTargetFileStatus.c:461:23: warning: passing arguments to 'TargetDB_LocateNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | TargetDB_LocateNode(newtargetdbp, | ^ TargetDB_SetTargetFileStatus.c:485:18: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | StringArray_Free(*(MaskTargetListList + i)); | ^ TargetDB_SetTargetFileStatus.c:490:21: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | StringArray_Free(MaskList); | ^ TargetDB_SetTargetFileStatus.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | TargetDB_SetTargetFileStatus(targetdbp, preferencedbp) | ^ In file included from TargetDB_SetTargetFileStatus.c:40: ./TargetDB.h:175:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 175 | extern TARGETDB *TargetDB_SetTargetFileStatus(); | ^ 42 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c TargetDB_SetTargetFileStatus.o ../objdir//TargetDB_SetTargetFileStatus.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c TargetDB_Command.c In file included from TargetDB_Command.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ TargetDB_Command.c:59:42: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | TargetListSet = Preference_GetStringSet(preferencedbp, | ^ TargetDB_Command.c:72:40: warning: passing arguments to 'TargetDB_LocateNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | targetnodep = TargetDB_LocateNode(targetdbp, *tp, TDB_LAX); | ^ TargetDB_Command.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | TargetDB_CommandTargetExists(label, targetdbp, preferencedbp) | ^ In file included from TargetDB_Command.c:40: ./TargetDB.h:201:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 201 | extern Boolean TargetDB_CommandTargetExists(); | ^ TargetDB_Command.c:99:42: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | TargetListSet = Preference_GetStringSet(preferencedbp, | ^ TargetDB_Command.c:112:40: warning: passing arguments to 'TargetDB_LocateNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | targetnodep = TargetDB_LocateNode(targetdbp, *tp, TDB_LAX); | ^ TargetDB_Command.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | TargetDB_CommandTargetModified(label, targetdbp, preferencedbp) | ^ In file included from TargetDB_Command.c:40: ./TargetDB.h:202:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 202 | extern Boolean TargetDB_CommandTargetModified(); | ^ 9 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c TargetDB_Command.o ../objdir//TargetDB_Command.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c TargetDBUtil.c In file included from TargetDBUtil.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ TargetDBUtil.c:59:40: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | newtargetdbp = (TARGETDB *) emalloc(sizeof(TARGETDB)); | ^ TargetDBUtil.c:61:41: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | TARGETDB_Name(newtargetdbp) = String(TARGETDB_Name(targetdbp), | ^ TargetDBUtil.c:73:24: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | (FILESTAT *) emalloc(sizeof(FILESTAT)); | ^ TargetDBUtil.c:97:24: warning: passing arguments to 'SourceList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | NULL : SourceList(TARGETDB_SourceList(targetdbp)); | ^ TargetDBUtil.c:107:24: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | (FILESTAT *) emalloc(sizeof(FILESTAT)); | ^ TargetDBUtil.c:132:30: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | = (TARGETDBENTRY **) emalloc(TARGETDB_ChildCount(newtargetdbp) | ^ TargetDBUtil.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | TargetDB(targetdbp) | ^ In file included from TargetDBUtil.c:39: ./TargetDB.h:204:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 204 | extern TARGETDB *TargetDB(); | ^ TargetDBUtil.c:171:37: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | targetdbp = (TARGETDB *) emalloc(sizeof(TARGETDB)); | ^ TargetDBUtil.c:173:38: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | TARGETDB_Name(targetdbp) = String(name, strlen(name)); | ^ TargetDBUtil.c:184:24: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | (FILESTAT *) emalloc(sizeof(FILESTAT)); | ^ TargetDBUtil.c:207:47: warning: passing arguments to 'SourceList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | (sourcelist == NULL) ? NULL : SourceList(sourcelist); | ^ TargetDBUtil.c:217:24: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | (FILESTAT *) emalloc(sizeof(FILESTAT)); | ^ TargetDBUtil.c:242:30: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | = (TARGETDBENTRY **) emalloc(childcount * sizeof(TARGETDBENTRY *)); | ^ TargetDBUtil.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | TargetDB_Create(name, update_spec, filestatusp, status, | ^ In file included from TargetDBUtil.c:39: ./TargetDB.h:205:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 205 | extern TARGETDB *TargetDB_Create(); | ^ TargetDBUtil.c:266:18: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | String_Free(TARGETDB_Name(targetdbp)); | ^ TargetDBUtil.c:268:22: warning: passing arguments to 'SourceList_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | SourceList_Free(TARGETDB_SourceList(targetdbp)); | ^ TargetDBUtil.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | TargetDB_Free(targetdbp) | ^ In file included from TargetDBUtil.c:39: ./TargetDB.h:206:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 206 | extern void TargetDB_Free(); | ^ 21 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c TargetDBUtil.o ../objdir//TargetDBUtil.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c SourceList_Merge.c In file included from SourceList_Merge.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ SourceList_Merge.c:84:50: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | newsourcelistp = (TARGETSOURCELIST *) emalloc(sizeof(TARGETSOURCELIST)); | ^ SourceList_Merge.c:104:29: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | && (String_Comparator(TARGETSOURCE_Path(sourcep), | ^ SourceList_Merge.c:110:44: warning: passing arguments to 'TargetSource_DuplicateComparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | && (TargetSource_DuplicateComparator(secp1, secp2) == TRUE)) { | ^ SourceList_Merge.c:122:34: warning: passing arguments to 'TargetDB_ReportMergeConflict' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | TargetDB_ReportMergeConflict(sourcep, sp); | ^ SourceList_Merge.c:132:34: warning: passing arguments to 'TargetDB_ReportMergeConflict' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | TargetDB_ReportMergeConflict(sourcep, sp); | ^ SourceList_Merge.c:149:34: warning: passing arguments to 'TargetDB_ReportMergeConflict' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | TargetDB_ReportMergeConflict(sourcep, sp); | ^ SourceList_Merge.c:156:29: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | && (String_Comparator(TARGETSOURCE_Path(sourcep), | ^ SourceList_Merge.c:159:5: warning: passing arguments to 'TargetSource_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | (TARGETSOURCE_SecondarySource(sourcep), | ^ SourceList_Merge.c:180:34: warning: passing arguments to 'TargetDB_ReportMergeConflict' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | TargetDB_ReportMergeConflict(sourcep, sp); | ^ SourceList_Merge.c:184:29: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | && (String_Comparator(TARGETSOURCE_Path(sourcep), | ^ SourceList_Merge.c:187:5: warning: passing arguments to 'TargetSource_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | (TARGETSOURCE_SecondarySource(sourcep), | ^ SourceList_Merge.c:194:34: warning: passing arguments to 'TargetDB_ReportMergeConflict' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | TargetDB_ReportMergeConflict(sourcep, sp); | ^ SourceList_Merge.c:214:29: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | (TARGETSOURCE **) emalloc(sizeof(TARGETSOURCE *)); | ^ SourceList_Merge.c:218:12: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | erealloc((void *) TARGETSOURCELIST_SourceArray(newsourcelistp), | ^ SourceList_Merge.c:231:35: warning: passing arguments to 'TargetSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | InsertionPoint) = TargetSource(sourcep); | ^ SourceList_Merge.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | CollectionSourceList_MergeSource(sourcelistp, | ^ SourceList_Merge.c:42:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | static TARGETSOURCELIST *CollectionSourceList_MergeSource(); | ^ SourceList_Merge.c:266:50: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | newsourcelistp = (TARGETSOURCELIST *) emalloc(sizeof(TARGETSOURCELIST)); | ^ SourceList_Merge.c:276:34: warning: passing arguments to 'SourceList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | newsourcelistp = SourceList(deltasourcelistp); | ^ SourceList_Merge.c:283:59: warning: passing arguments to 'SourceList_FindIndexToCollectionId' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | collectionbegin = SourceList_FindIndexToCollectionId(newsourcelistp, | ^ SourceList_Merge.c:313:46: warning: passing arguments to 'SourceList_SubList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | collectionsourcelistp = SourceList_SubList(newsourcelistp, | ^ SourceList_Merge.c:325:38: warning: passing arguments to 'SourceList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | collectionsourcelistp = SourceList(deltasourcelistp); | ^ SourceList_Merge.c:359:14: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | erealloc((void *) TARGETSOURCELIST_SourceArray(newsourcelistp), | ^ SourceList_Merge.c:390:23: warning: passing arguments to 'TargetSource_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | TargetSource_Free(TARGETSOURCELIST_Source(newsourcelistp, | ^ SourceList_Merge.c:393:18: warning: passing arguments to 'TargetSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | TargetSource(TARGETSOURCELIST_Source(collectionsourcelistp, | ^ SourceList_Merge.c:398:17: warning: passing arguments to 'SourceList_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | SourceList_Free(collectionsourcelistp); | ^ SourceList_Merge.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 | SourceList_Merge(sourcelistp, | ^ In file included from SourceList_Merge.c:39: ./TargetDB.h:213:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 213 | extern TARGETSOURCELIST *SourceList_Merge(); | ^ 29 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c SourceList_Merge.o ../objdir//SourceList_Merge.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c SourceList_Find.c In file included from SourceList_Find.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ SourceList_Find.c:42:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | int SourceList_FindIndexToCollectionId(sourcelistp, | ^ In file included from SourceList_Find.c:39: ./TargetDB.h:210:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 210 | extern int SourceList_FindIndexToCollectionId(); | ^ SourceList_Find.c:113:26: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | if ((String_Comparator(TARGETSOURCE_Path(sp), sourcepath) == 0) | ^ SourceList_Find.c:86:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | int SourceList_FindIndexToSource(sourcelistp, sourcepath, collectionid, flags) | ^ In file included from SourceList_Find.c:39: ./TargetDB.h:211:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 211 | extern int SourceList_FindIndexToSource(); | ^ 6 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c SourceList_Find.o ../objdir//SourceList_Find.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c SourceList_Prune.c In file included from SourceList_Prune.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ SourceList_Prune.c:67:57: warning: passing arguments to 'SourceList_FindIndexToCollectionId' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | collectionindex = SourceList_FindIndexToCollectionId(newsourcelistp, | ^ SourceList_Prune.c:93:21: warning: passing arguments to 'TargetSource_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | TargetSource_Free(sourcep); | ^ SourceList_Prune.c:122:14: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | erealloc((void *) TARGETSOURCELIST_SourceArray(newsourcelistp), | ^ SourceList_Prune.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | SourceList_PruneCollection(sourcelistp, | ^ In file included from SourceList_Prune.c:39: ./TargetDB.h:214:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 214 | extern TARGETSOURCELIST *SourceList_PruneCollection(); | ^ 6 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c SourceList_Prune.o ../objdir//SourceList_Prune.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c SourceList_SortByOverrides.c In file included from SourceList_SortByOverrides.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ SourceList_SortByOverrides.c:74:49: warning: passing arguments to 'PreferenceDB_Override' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | OverridingSourcePair = PreferenceDB_Override(collectionname1, | ^ SourceList_SortByOverrides.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | Source_Override(sourcep1, sourcep2, | ^ SourceList_SortByOverrides.c:47:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | static Boolean Source_Override(); | ^ SourceList_SortByOverrides.c:110:53: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | sortedsourcelistp = (TARGETSOURCELIST *) emalloc(sizeof(TARGETSOURCELIST)); | ^ SourceList_SortByOverrides.c:116:9: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | emalloc(TARGETSOURCELIST_NSources(sortedsourcelistp) | ^ SourceList_SortByOverrides.c:186:20: warning: passing arguments to 'TargetSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | = TargetSource(TARGETSOURCELIST_Source(sourcelistp, from + i)); | ^ SourceList_SortByOverrides.c:195:22: warning: passing arguments to 'SourceList_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | SourceList_Free(sourcelistp); | ^ SourceList_SortByOverrides.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | SourceList_SortByOverrides(sourcelistp, | ^ In file included from SourceList_SortByOverrides.c:42: ./TargetDB.h:215:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 215 | extern TARGETSOURCELIST *SourceList_SortByOverrides(); | ^ 10 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c SourceList_SortByOverrides.o ../objdir//SourceList_SortByOverrides.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c SourceList_Conflict.c In file included from SourceList_Conflict.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ SourceList_Conflict.c:85:53: warning: passing arguments to 'PreferenceDB_Override' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | OverridingCollectionPair = PreferenceDB_Override(collectionname2, | ^ SourceList_Conflict.c:132:22: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | (String_Comparator(TARGETSOURCE_Path(sourcep1), | ^ SourceList_Conflict.c:141:34: warning: passing arguments to 'TargetDB_ReportFileConflict' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | TargetDB_ReportFileConflict(sourcep1, sourcep2, | ^ SourceList_Conflict.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | TargetSource_CheckConsistency(sourcep1, sourcep2, | ^ SourceList_Conflict.c:48:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | static Boolean TargetSource_CheckConsistency(); | ^ SourceList_Conflict.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 | SourceList_CheckConsistency(sourcelistp, | ^ In file included from SourceList_Conflict.c:42: ./TargetDB.h:216:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 216 | extern Boolean SourceList_CheckConsistency(); | ^ 8 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c SourceList_Conflict.o ../objdir//SourceList_Conflict.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c SourceListUtil.c In file included from SourceListUtil.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ SourceListUtil.c:56:50: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | newsourcelistp = (TARGETSOURCELIST *) emalloc(sizeof(TARGETSOURCELIST)); | ^ SourceListUtil.c:61:32: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | (TARGETSOURCE **) emalloc(TARGETSOURCELIST_NSources(sourcelistp) | ^ SourceListUtil.c:68:16: warning: passing arguments to 'TargetSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | = TargetSource(TARGETSOURCELIST_Source(sourcelistp, i)); | ^ SourceListUtil.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | SourceList(sourcelistp) | ^ In file included from SourceListUtil.c:39: ./TargetDB.h:218:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 218 | extern TARGETSOURCELIST *SourceList(); | ^ SourceListUtil.c:94:50: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | newsourcelistp = (TARGETSOURCELIST *) emalloc(sizeof(TARGETSOURCELIST)); | ^ SourceListUtil.c:98:32: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | (TARGETSOURCE **) emalloc(TARGETSOURCELIST_NSources(sourcelistp) | ^ SourceListUtil.c:105:16: warning: passing arguments to 'TargetSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | = TargetSource(TARGETSOURCELIST_Source(sourcelistp, begin + i)); | ^ SourceListUtil.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | SourceList_SubList(sourcelistp, begin, end) | ^ In file included from SourceListUtil.c:39: ./TargetDB.h:219:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 219 | extern TARGETSOURCELIST *SourceList_SubList(); | ^ SourceListUtil.c:128:31: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | pathset = StringSet_AddString(pathset, TARGETSOURCE_Path(sp)); | ^ SourceListUtil.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | TargetSourceList_PathSet(sourcelist) | ^ In file included from SourceListUtil.c:39: ./TargetDB.h:220:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 220 | extern STRINGSET *TargetSourceList_PathSet(); | ^ SourceListUtil.c:153:24: warning: passing arguments to 'TargetSource_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | TargetSource_Free(TARGETSOURCELIST_Source(sourcelistp, i)); | ^ SourceListUtil.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | SourceList_Free(sourcelistp) | ^ In file included from SourceListUtil.c:39: ./TargetDB.h:221:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 221 | extern void SourceList_Free(); | ^ 17 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c SourceListUtil.o ../objdir//SourceListUtil.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c SourceUtil.c In file included from SourceUtil.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ SourceUtil.c:54:42: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | newsourcep = (TARGETSOURCE *) emalloc(sizeof(TARGETSOURCE)); | ^ SourceUtil.c:57:15: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | = String(TARGETSOURCE_Path(targetsourcep), | ^ SourceUtil.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | TargetSource(targetsourcep) | ^ In file included from SourceUtil.c:39: ./TargetDB.h:223:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 223 | extern TARGETSOURCE *TargetSource(); | ^ SourceUtil.c:92:42: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | newsourcep = (TARGETSOURCE *) emalloc(sizeof(TARGETSOURCE)); | ^ SourceUtil.c:94:43: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | TARGETSOURCE_Path(newsourcep) = String(source, strlen(source)); | ^ SourceUtil.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | TargetSource_Create(source, update_spec, collection_id, | ^ In file included from SourceUtil.c:39: ./TargetDB.h:224:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 224 | extern TARGETSOURCE *TargetSource_Create(); | ^ SourceUtil.c:121:26: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | if (String_Comparator(TARGETSOURCE_Path(sp1), | ^ SourceUtil.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | TargetSource_Comparator(sp1, sp2) | ^ In file included from SourceUtil.c:39: ./TargetDB.h:225:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 225 | extern Boolean TargetSource_Comparator(); | ^ SourceUtil.c:160:26: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | if (String_Comparator(TARGETSOURCE_Path(sp1), | ^ SourceUtil.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | TargetSource_DuplicateComparator(sp1, sp2) | ^ In file included from SourceUtil.c:39: ./TargetDB.h:226:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 226 | extern Boolean TargetSource_DuplicateComparator(); | ^ SourceUtil.c:190:18: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | String_Free(TARGETSOURCE_Path(sourcep)); | ^ SourceUtil.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | TargetSource_Free(sourcep) | ^ In file included from SourceUtil.c:39: ./TargetDB.h:227:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 227 | extern void TargetSource_Free(); | ^ 18 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c SourceUtil.o ../objdir//SourceUtil.o /var/tmp/work/sysutils/depot/work/.tools/bin/install -c TargetDB.h ../build-include//TargetDB.h ### Done with /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/TargetDB ### Making all in /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/Collection clang -O -DHAVE_CONFIG_H -I../build-include/ -c Collection_LocatePath.c In file included from Collection_LocatePath.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ Collection_LocatePath.c:77:26: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | if ((File_GetStatus(trialpath, | ^ Collection_LocatePath.c:91:39: warning: passing arguments to 'File_ListMatchesinDirectory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | if ((File_ListMatchesinDirectory(*sp, | ^ Collection_LocatePath.c:104:23: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | if ((File_GetStatus(trialpath, | ^ Collection_LocatePath.c:124:18: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | StringArray_Free(candidatelistset); | ^ Collection_LocatePath.c:132:34: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | collectionlocation = String(collectionpath, strlen(collectionpath)); | ^ Collection_LocatePath.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | Collection_LocatePath(collectionname, searchpath, | ^ In file included from Collection_LocatePath.c:43: ./Collection.h:74: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 subsequent definition [-Wdeprecated-non-prototype] 74 | extern char *Collection_LocatePath(); | ^ 8 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c Collection_LocatePath.o ../objdir/Collection_LocatePath.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c Collection_PathMap.c In file included from Collection_PathMap.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ Collection_PathMap.c:109:58: warning: passing arguments to 'Collection_TargetDBCreateNonVirginPath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | newtargetdbp = Collection_TargetDBCreateNonVirginPath(targetdbp, | ^ Collection_PathMap.c:113:40: warning: passing arguments to 'TargetDB_LocateNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | targetdbnodep = TargetDB_LocateNode(newtargetdbp, target, TDB_LOCATE); | ^ Collection_PathMap.c:117:26: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | if (String_Comparator(source, "/") == 0) { | ^ Collection_PathMap.c:119:28: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | (void) File_GetStatus(sourcepath, &filestatbuffer, TRUE /* followlinks */ ); | ^ Collection_PathMap.c:123:28: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | (void) File_GetStatus(sourcepath, &filestatbuffer, FALSE /* followlinks */ ); | ^ Collection_PathMap.c:128:26: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | if (String_Comparator(TARGETDB_Name(targetdbnodep), "/") == 0) { | ^ Collection_PathMap.c:136:60: warning: passing arguments to 'Collection_TargetSourceFromFileStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | targetsourcep = Collection_TargetSourceFromFileStatus(&filestatbuffer, | ^ Collection_PathMap.c:142:4: warning: passing arguments to 'Collection_SourceList_AddSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | (TARGETDB_SourceList(targetdbnodep), targetsourcep, collectionp); | ^ Collection_PathMap.c:145:19: warning: passing arguments to 'TargetSource_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | TargetSource_Free(targetsourcep); | ^ Collection_PathMap.c:157:29: warning: passing arguments to 'HintDB_GetHint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | oldhint = HintDB_GetHint(hintdb_old, source); | ^ Collection_PathMap.c:159:31: warning: passing arguments to 'HintDB_GetHint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | newhint = HintDB_GetHint(COLLECTION_HintDB(collectionp), source); | ^ Collection_PathMap.c:161:34: warning: passing arguments to 'Hint_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | HintComparison = Hint_Comparator(oldhint, newhint); | ^ Collection_PathMap.c:168:30: warning: passing arguments to 'SourceList_FindIndexToSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | SourceList_FindIndexToSource(TARGETDB_SourceList(targetdbnodep), | ^ Collection_PathMap.c:183:32: warning: passing arguments to 'File_ListDirectory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | (void) File_ListDirectory(sourcepath, &childlistset); | ^ Collection_PathMap.c:205:39: warning: passing arguments to 'TargetDB_LocateIndexToChildNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | TargetDB_LocateIndexToChildNode(targetdbnodep, | ^ Collection_PathMap.c:219:37: warning: passing arguments to 'Collection_SubTreeMapFromPath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | Collection_SubTreeMapFromPath(*targetdbchildpp, | ^ Collection_PathMap.c:243:27: warning: passing arguments to 'TargetDB_LocateChildNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | TargetDB_LocateChildNode(targetdbnodep, | ^ Collection_PathMap.c:250:5: warning: passing arguments to 'SourceList_FindIndexToSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | (TARGETDB_SourceList(targetdbchildp), | ^ Collection_PathMap.c:262:17: warning: passing arguments to 'TargetSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | TargetSource(ssp->source); | ^ Collection_PathMap.c:267:28: warning: passing arguments to 'SecondarySourceList_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | SecondarySourceList_Free(secondarysourcelist); | ^ Collection_PathMap.c:269:18: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | StringArray_Free(childlistset); | ^ Collection_PathMap.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | Collection_PathMap(targetdbp, | ^ In file included from Collection_PathMap.c:43: ./Collection.h:79:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | extern TARGETDB *Collection_PathMap(); | ^ Collection_PathMap.c:317:24: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | (void) File_GetStatus(sourcepath, &filestatbuffer, FALSE /* followlinks */ ); | ^ Collection_PathMap.c:326:35: warning: passing arguments to 'SecondarySourceList_IncludeSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | SecondarySourceList_IncludeSource(*secondarysourcelistp, | ^ Collection_PathMap.c:333:60: warning: passing arguments to 'Collection_TargetSourceFromFileStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | targetsourcep = Collection_TargetSourceFromFileStatus(&filestatbuffer, | ^ Collection_PathMap.c:339:33: warning: passing arguments to 'Collection_SourceList_AddSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | Collection_SourceList_AddSource(TARGETDB_SourceList(newtargetdbp), | ^ Collection_PathMap.c:344:24: warning: passing arguments to 'TargetSource_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | TargetSource_Free(targetsourcep); | ^ Collection_PathMap.c:355:29: warning: passing arguments to 'HintDB_GetHint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | oldhint = HintDB_GetHint(hintdb_old, source); | ^ Collection_PathMap.c:357:31: warning: passing arguments to 'HintDB_GetHint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | newhint = HintDB_GetHint(COLLECTION_HintDB(collectionp), source); | ^ Collection_PathMap.c:359:34: warning: passing arguments to 'Hint_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | HintComparison = Hint_Comparator(oldhint, newhint); | ^ Collection_PathMap.c:366:30: warning: passing arguments to 'SourceList_FindIndexToSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | SourceList_FindIndexToSource(TARGETDB_SourceList(newtargetdbp), | ^ Collection_PathMap.c:381:32: warning: passing arguments to 'File_ListDirectory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | (void) File_ListDirectory(sourcepath, &childlistset); | ^ Collection_PathMap.c:400:39: warning: passing arguments to 'TargetDB_LocateIndexToChildNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | TargetDB_LocateIndexToChildNode(newtargetdbp, | ^ Collection_PathMap.c:422:18: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | StringArray_Free(childlistset); | ^ Collection_PathMap.c:436:27: warning: passing arguments to 'TargetDB_LocateChildNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | TargetDB_LocateChildNode(newtargetdbp, | ^ Collection_PathMap.c:443:5: warning: passing arguments to 'SourceList_FindIndexToSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | (TARGETDB_SourceList(targetdbchildp), | ^ Collection_PathMap.c:455:17: warning: passing arguments to 'TargetSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | TargetSource(ssp->source); | ^ Collection_PathMap.c:460:28: warning: passing arguments to 'SecondarySourceList_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | SecondarySourceList_Free(childsecondarysourcelist); | ^ Collection_PathMap.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | Collection_SubTreeMapFromPath(targetdbp, | ^ Collection_PathMap.c:55:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | static TARGETDB *Collection_SubTreeMapFromPath(); | ^ Collection_PathMap.c:490:38: warning: passing arguments to 'TargetSource_Create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | targetsourcep = TargetSource_Create(name, | ^ Collection_PathMap.c:516:44: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | ssp = (SECONDARYSOURCEINFO *) emalloc(sizeof(SECONDARYSOURCEINFO)); | ^ Collection_PathMap.c:471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | SecondarySourceList_IncludeSource(secondarysourcelist, | ^ Collection_PathMap.c:52:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | static SECONDARYSOURCEINFO *SecondarySourceList_IncludeSource(); | ^ Collection_PathMap.c:541:24: warning: passing arguments to 'TargetSource_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | TargetSource_Free(ssp1->source); | ^ Collection_PathMap.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | SecondarySourceList_Free(secondarysourcelist) | ^ Collection_PathMap.c:53:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | static void SecondarySourceList_Free(); | ^ 49 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c Collection_PathMap.o ../objdir/Collection_PathMap.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c Collection_TargetSourceFromFileStatus.c In file included from Collection_TargetSourceFromFileStatus.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ Collection_TargetSourceFromFileStatus.c:90:40: warning: passing arguments to 'TargetSource_Create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | targetsourcep = TargetSource_Create(source, | ^ Collection_TargetSourceFromFileStatus.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | Collection_TargetSourceFromFileStatus(filestatus, | ^ In file included from Collection_TargetSourceFromFileStatus.c:43: ./Collection.h:80:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | extern TARGETSOURCE *Collection_TargetSourceFromFileStatus(); | ^ 4 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c Collection_TargetSourceFromFileStatus.o ../objdir/Collection_TargetSourceFromFileStatus.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c Collection_FSImageMap.c In file included from Collection_FSImageMap.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ Collection_FSImageMap.c:115:58: warning: passing arguments to 'Collection_TargetDBCreateNonVirginPath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | newtargetdbp = Collection_TargetDBCreateNonVirginPath(targetdbp, | ^ Collection_FSImageMap.c:119:40: warning: passing arguments to 'TargetDB_LocateNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | targetdbnodep = TargetDB_LocateNode(newtargetdbp, target, TDB_LOCATE); | ^ Collection_FSImageMap.c:121:46: warning: passing arguments to 'FileSystemImage_LocateNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | fsimagenodep = FileSystemImage_LocateNode(COLLECTION_Image(collectionp), | ^ Collection_FSImageMap.c:126:26: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | if (String_Comparator(TARGETDB_Name(targetdbnodep), "/") == 0) { | ^ Collection_FSImageMap.c:134:57: warning: passing arguments to 'Collection_TargetSourceFromFSImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | targetsourcep = Collection_TargetSourceFromFSImage(fsimagenodep, | ^ Collection_FSImageMap.c:140:4: warning: passing arguments to 'Collection_SourceList_AddSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | (TARGETDB_SourceList(targetdbnodep), targetsourcep, collectionp); | ^ Collection_FSImageMap.c:143:19: warning: passing arguments to 'TargetSource_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | TargetSource_Free(targetsourcep); | ^ Collection_FSImageMap.c:155:29: warning: passing arguments to 'HintDB_GetHint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | oldhint = HintDB_GetHint(hintdb_old, source); | ^ Collection_FSImageMap.c:157:31: warning: passing arguments to 'HintDB_GetHint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | newhint = HintDB_GetHint(COLLECTION_HintDB(collectionp), source); | ^ Collection_FSImageMap.c:159:34: warning: passing arguments to 'Hint_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | HintComparison = Hint_Comparator(oldhint, newhint); | ^ Collection_FSImageMap.c:166:30: warning: passing arguments to 'SourceList_FindIndexToSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | SourceList_FindIndexToSource(TARGETDB_SourceList(targetdbnodep), | ^ Collection_FSImageMap.c:202:37: warning: passing arguments to 'TargetDB_LocateIndexToChildNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | TargetDB_LocateIndexToChildNode(targetdbnodep, | ^ Collection_FSImageMap.c:216:34: warning: passing arguments to 'Collection_FSImageSubTreeMap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | Collection_FSImageSubTreeMap(*targetdbchildpp, | ^ Collection_FSImageMap.c:241:32: warning: passing arguments to 'TargetDB_LocateChildNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | TargetDB_LocateChildNode(targetdbnodep, | ^ Collection_FSImageMap.c:248:3: warning: passing arguments to 'SourceList_FindIndexToSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | (TARGETDB_SourceList(targetdbchildp), | ^ Collection_FSImageMap.c:260:15: warning: passing arguments to 'TargetSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | TargetSource(ssp->source); | ^ Collection_FSImageMap.c:265:26: warning: passing arguments to 'SecondarySourceList_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | SecondarySourceList_Free(secondarysourcelist); | ^ Collection_FSImageMap.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | Collection_FSImageMap(targetdbp, | ^ In file included from Collection_FSImageMap.c:43: ./Collection.h:77:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | extern TARGETDB *Collection_FSImageMap(); | ^ Collection_FSImageMap.c:309:40: warning: passing arguments to 'SecondarySourceList_IncludeSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | SecondarySourceList_IncludeSource(*secondarysourcelistp, | ^ Collection_FSImageMap.c:315:53: warning: passing arguments to 'Collection_TargetSourceFromFSImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | targetsourcep = Collection_TargetSourceFromFSImage(fsimagep, | ^ Collection_FSImageMap.c:320:38: warning: passing arguments to 'Collection_SourceList_AddSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | Collection_SourceList_AddSource(TARGETDB_SourceList(newtargetdbp), | ^ Collection_FSImageMap.c:324:22: warning: passing arguments to 'TargetSource_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | TargetSource_Free(targetsourcep); | ^ Collection_FSImageMap.c:335:29: warning: passing arguments to 'HintDB_GetHint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | oldhint = HintDB_GetHint(hintdb_old, source); | ^ Collection_FSImageMap.c:337:31: warning: passing arguments to 'HintDB_GetHint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | newhint = HintDB_GetHint(COLLECTION_HintDB(collectionp), source); | ^ Collection_FSImageMap.c:339:34: warning: passing arguments to 'Hint_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | HintComparison = Hint_Comparator(oldhint, newhint); | ^ Collection_FSImageMap.c:346:30: warning: passing arguments to 'SourceList_FindIndexToSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | SourceList_FindIndexToSource(TARGETDB_SourceList(newtargetdbp), | ^ Collection_FSImageMap.c:380:37: warning: passing arguments to 'TargetDB_LocateIndexToChildNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | TargetDB_LocateIndexToChildNode(newtargetdbp, | ^ Collection_FSImageMap.c:418:32: warning: passing arguments to 'TargetDB_LocateChildNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | TargetDB_LocateChildNode(newtargetdbp, | ^ Collection_FSImageMap.c:425:3: warning: passing arguments to 'SourceList_FindIndexToSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | (TARGETDB_SourceList(targetdbchildp), | ^ Collection_FSImageMap.c:437:15: warning: passing arguments to 'TargetSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | TargetSource(ssp->source); | ^ Collection_FSImageMap.c:442:26: warning: passing arguments to 'SecondarySourceList_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | SecondarySourceList_Free(childsecondarysourcelist); | ^ Collection_FSImageMap.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 | Collection_FSImageSubTreeMap(targetdbp, | ^ Collection_FSImageMap.c:59:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | static TARGETDB *Collection_FSImageSubTreeMap(); | ^ Collection_FSImageMap.c:470:38: warning: passing arguments to 'TargetSource_Create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | targetsourcep = TargetSource_Create(name, | ^ Collection_FSImageMap.c:481:26: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | if (String_Comparator(linkid, ssp->linkid) == 0) { | ^ Collection_FSImageMap.c:496:44: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | ssp = (SECONDARYSOURCEINFO *) emalloc(sizeof(SECONDARYSOURCEINFO)); | ^ Collection_FSImageMap.c:498:22: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | ssp->linkid = String(linkid, strlen(linkid)); | ^ Collection_FSImageMap.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | SecondarySourceList_IncludeSource(secondarysourcelist, | ^ Collection_FSImageMap.c:56:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | static SECONDARYSOURCEINFO *SecondarySourceList_IncludeSource(); | ^ Collection_FSImageMap.c:521:18: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | String_Free(ssp1->linkid); | ^ Collection_FSImageMap.c:523:24: warning: passing arguments to 'TargetSource_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | TargetSource_Free(ssp1->source); | ^ Collection_FSImageMap.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 | SecondarySourceList_Free(secondarysourcelist) | ^ Collection_FSImageMap.c:57:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | static void SecondarySourceList_Free(); | ^ 45 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c Collection_FSImageMap.o ../objdir/Collection_FSImageMap.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c Collection_TargetSourceFromFSImage.c In file included from Collection_TargetSourceFromFSImage.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ Collection_TargetSourceFromFSImage.c:85:40: warning: passing arguments to 'TargetSource_Create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | targetsourcep = TargetSource_Create(source, | ^ Collection_TargetSourceFromFSImage.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | Collection_TargetSourceFromFSImage(fsimagenodep, | ^ In file included from Collection_TargetSourceFromFSImage.c:43: ./Collection.h:78:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | extern TARGETSOURCE *Collection_TargetSourceFromFSImage(); | ^ 4 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c Collection_TargetSourceFromFSImage.o ../objdir/Collection_TargetSourceFromFSImage.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c Collection_DeleteTarget.c In file included from Collection_DeleteTarget.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ Collection_DeleteTarget.c:66:45: warning: passing arguments to 'TargetDB_DeleteTargetPath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | newtargetdbp = TargetDB_DeleteTargetPath(targetdbp, | ^ Collection_DeleteTarget.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | Collection_DeleteTarget(targetdbp, | ^ In file included from Collection_DeleteTarget.c:43: ./Collection.h:81:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | extern TARGETDB *Collection_DeleteTarget(); | ^ 4 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c Collection_DeleteTarget.o ../objdir/Collection_DeleteTarget.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c Collection_CommandTarget.c In file included from Collection_CommandTarget.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ Collection_CommandTarget.c:82:56: warning: passing arguments to 'Collection_TargetDBCreateCommandPath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | newtargetdbp = Collection_TargetDBCreateCommandPath(targetdbp, | ^ Collection_CommandTarget.c:86:40: warning: passing arguments to 'TargetDB_LocateNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | targetdbnodep = TargetDB_LocateNode(newtargetdbp, target, TDB_LOCATE); | ^ Collection_CommandTarget.c:90:26: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | if (String_Comparator(TARGETDB_Name(targetdbnodep), "/") == 0) { | ^ Collection_CommandTarget.c:96:42: warning: passing arguments to 'TargetSource_Create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | targetsourcep = TargetSource_Create(commandlabel, | ^ Collection_CommandTarget.c:105:4: warning: passing arguments to 'Collection_SourceList_AddSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | (TARGETDB_SourceList(targetdbnodep), targetsourcep, collectionp); | ^ Collection_CommandTarget.c:109:24: warning: passing arguments to 'TargetSource_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | TargetSource_Free(targetsourcep); | ^ Collection_CommandTarget.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | Collection_CommandTarget(targetdbp, | ^ In file included from Collection_CommandTarget.c:43: ./Collection.h:82:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | extern TARGETDB *Collection_CommandTarget(); | ^ 9 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c Collection_CommandTarget.o ../objdir/Collection_CommandTarget.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c Collection_TargetDBGenerate.c In file included from Collection_TargetDBGenerate.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ Collection_TargetDBGenerate.c:72:28: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | if ((StringArray_Size(DEPOTCONF_ConfValue(*dp)) != 2) | ^ Collection_TargetDBGenerate.c:83:45: warning: passing arguments to 'Collection_CheckSourceForExternalReferences' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | Collection_CheckSourceForExternalReferences(source, collectionp); | ^ Collection_TargetDBGenerate.c:84:45: warning: passing arguments to 'Collection_CheckTargetForExternalReferences' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | Collection_CheckTargetForExternalReferences(target, collectionp); | ^ Collection_TargetDBGenerate.c:88:37: warning: passing arguments to 'Collection_FSImageMap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | targetdbp = Collection_FSImageMap(targetdbp, | ^ Collection_TargetDBGenerate.c:93:34: warning: passing arguments to 'Collection_PathMap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | targetdbp = Collection_PathMap(targetdbp, | ^ Collection_TargetDBGenerate.c:101:28: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | if ((StringArray_Size(DEPOTCONF_ConfValue(*dp)) != 1) | ^ Collection_TargetDBGenerate.c:110:45: warning: passing arguments to 'Collection_CheckTargetForExternalReferences' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | Collection_CheckTargetForExternalReferences(target, collectionp); | ^ Collection_TargetDBGenerate.c:113:37: warning: passing arguments to 'Collection_DeleteTarget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | targetdbp = Collection_DeleteTarget(targetdbp, | ^ Collection_TargetDBGenerate.c:119:40: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | targetlistsize = StringArray_Size(DEPOTCONF_ConfValue(*dp)) - 1; | ^ Collection_TargetDBGenerate.c:132:47: warning: passing arguments to 'Collection_CheckTargetForExternalReferences' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | Collection_CheckTargetForExternalReferences(target, | ^ Collection_TargetDBGenerate.c:135:42: warning: passing arguments to 'Collection_CommandTarget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | targetdbp = Collection_CommandTarget(targetdbp, | ^ Collection_TargetDBGenerate.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | Collection_TargetDBGenerate(collectionp, hintdb_old) | ^ In file included from Collection_TargetDBGenerate.c:43: ./Collection.h:76:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | extern TARGETDB *Collection_TargetDBGenerate(); | ^ Collection_TargetDBGenerate.c:184:44: warning: passing arguments to 'StringToStringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | sourcestringarray = StringToStringArray(source, | ^ Collection_TargetDBGenerate.c:202:23: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | if (String_Comparator(*sp, "..") == 0) { | ^ Collection_TargetDBGenerate.c:207:27: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | if (String_Comparator(sourcehier, "/") == 0) { | ^ Collection_TargetDBGenerate.c:214:34: warning: passing arguments to 'FileSystemImage_LocateNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | FileSystemImage_LocateNode(COLLECTION_Image(collectionp), | ^ Collection_TargetDBGenerate.c:224:27: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | (void) File_GetStatus(sourcehierpath, | ^ Collection_TargetDBGenerate.c:246:21: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | StringArray_Free(sourcestringarray); | ^ Collection_TargetDBGenerate.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | Collection_CheckSourceForExternalReferences(source, collectionp) | ^ Collection_TargetDBGenerate.c:45:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | static void Collection_CheckSourceForExternalReferences(); | ^ Collection_TargetDBGenerate.c:270:44: warning: passing arguments to 'StringToStringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | targetstringarray = StringToStringArray(target, | ^ Collection_TargetDBGenerate.c:286:23: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | if (String_Comparator(*tp, "..") == 0) { | ^ Collection_TargetDBGenerate.c:302:21: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | StringArray_Free(targetstringarray); | ^ Collection_TargetDBGenerate.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | Collection_CheckTargetForExternalReferences(target, collectionp) | ^ Collection_TargetDBGenerate.c:46:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | static void Collection_CheckTargetForExternalReferences(); | ^ 27 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c Collection_TargetDBGenerate.o ../objdir/Collection_TargetDBGenerate.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c Collection_TargetDB.c In file included from Collection_TargetDB.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ Collection_TargetDB.c:68:35: warning: passing arguments to 'TargetSource_Create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | thissource = TargetSource_Create(source, | ^ Collection_TargetDB.c:79:35: warning: passing arguments to 'TargetDB_Create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | newtargetdbp = TargetDB_Create("/" /* name of root node */ , | ^ Collection_TargetDB.c:90:36: warning: passing arguments to 'Collection_SourceList_AddSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | Collection_SourceList_AddSource(TARGETDB_SourceList(newtargetdbp), | ^ Collection_TargetDB.c:96:48: warning: passing arguments to 'StringToStringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | targetpathstringarray = StringToStringArray(target, | ^ Collection_TargetDB.c:112:44: warning: passing arguments to 'TargetDB_LocateChildNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | childnodep = TargetDB_LocateChildNode(childnodep, | ^ Collection_TargetDB.c:120:6: warning: passing arguments to 'Collection_SourceList_AddSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | (TARGETDB_SourceList(childnodep), | ^ Collection_TargetDB.c:128:22: warning: passing arguments to 'TargetSource_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | TargetSource_Free(thissource); | ^ Collection_TargetDB.c:130:30: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | (void) StringArray_Free(targetpathstringarray); | ^ Collection_TargetDB.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | Collection_TargetDBCreateNonVirginPath(targetdbp, | ^ In file included from Collection_TargetDB.c:43: ./Collection.h:84:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | extern TARGETDB *Collection_TargetDBCreateNonVirginPath(); | ^ Collection_TargetDB.c:159:35: warning: passing arguments to 'TargetSource_Create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | thissource = TargetSource_Create(source, | ^ Collection_TargetDB.c:170:35: warning: passing arguments to 'TargetDB_Create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | newtargetdbp = TargetDB_Create("/" /* name of root node */ , | ^ Collection_TargetDB.c:181:36: warning: passing arguments to 'Collection_SourceList_AddSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | Collection_SourceList_AddSource(TARGETDB_SourceList(newtargetdbp), | ^ Collection_TargetDB.c:187:48: warning: passing arguments to 'StringToStringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | targetpathstringarray = StringToStringArray(target, | ^ Collection_TargetDB.c:203:44: warning: passing arguments to 'TargetDB_LocateChildNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | childnodep = TargetDB_LocateChildNode(childnodep, | ^ Collection_TargetDB.c:211:6: warning: passing arguments to 'Collection_SourceList_AddSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | (TARGETDB_SourceList(childnodep), | ^ Collection_TargetDB.c:219:22: warning: passing arguments to 'TargetSource_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | TargetSource_Free(thissource); | ^ Collection_TargetDB.c:221:30: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | (void) StringArray_Free(targetpathstringarray); | ^ Collection_TargetDB.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | Collection_TargetDBCreateCommandPath(targetdbp, | ^ In file included from Collection_TargetDB.c:43: ./Collection.h:85:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | extern TARGETDB *Collection_TargetDBCreateCommandPath(); | ^ 21 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c Collection_TargetDB.o ../objdir/Collection_TargetDB.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c Collection_TargetSource.c In file included from Collection_TargetSource.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ Collection_TargetSource.c:91:51: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | newsourcelistp = (TARGETSOURCELIST *)emalloc(sizeof(TARGETSOURCELIST)); | ^ Collection_TargetSource.c:110:31: warning: passing arguments to 'TargetSource_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | if (TargetSource_Comparator(sourcep, sp) == TRUE) { | ^ Collection_TargetSource.c:120:38: warning: passing arguments to 'TargetSource_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | } else if (TargetSource_Comparator(sourcep, sp) == TRUE) { | ^ Collection_TargetSource.c:127:33: warning: passing arguments to 'TargetSource_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | if (TargetSource_Comparator(sourcep, sp) == TRUE) { | ^ Collection_TargetSource.c:136:31: warning: passing arguments to 'TargetDB_ReportUpdateConflict' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | TargetDB_ReportUpdateConflict(sourcep, sp, collectionp); | ^ Collection_TargetSource.c:164:27: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | (TARGETSOURCE **)emalloc(sizeof(TARGETSOURCE *)); | ^ Collection_TargetSource.c:170:13: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | erealloc((void *)TARGETSOURCELIST_SourceArray(newsourcelistp), | ^ Collection_TargetSource.c:184:41: warning: passing arguments to 'TargetSource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | InsertionPoint) = TargetSource(sourcep); | ^ Collection_TargetSource.c:54:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | TARGETSOURCELIST *Collection_SourceList_AddSource(sourcelistp, | ^ In file included from Collection_TargetSource.c:43: ./Collection.h:86:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | extern TARGETSOURCELIST *Collection_SourceList_AddSource(); | ^ 11 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c Collection_TargetSource.o ../objdir/Collection_TargetSource.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c CollectionUtil.c In file included from CollectionUtil.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ CollectionUtil.c:55:16: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | String_Free(COLLECTION_Name(colp)); | ^ CollectionUtil.c:57:16: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | String_Free(COLLECTION_Path(colp)); | ^ CollectionUtil.c:63:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 63 | #endif 0 | ^ | // CollectionUtil.c:65:21: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | StringArray_Free(COLLECTION_CommandList(colp)); | ^ CollectionUtil.c:67:25: warning: passing arguments to 'FileSystemImage_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | FileSystemImage_Free(COLLECTION_Image(colp)); | ^ CollectionUtil.c:69:18: warning: passing arguments to 'TargetDB_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | TargetDB_Free(COLLECTION_TargetDB(colp)); | ^ CollectionUtil.c:46:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | void Collection_Free(colp) | ^ In file included from CollectionUtil.c:43: ./Collection.h:88:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | extern void Collection_Free(); | ^ 9 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c CollectionUtil.o ../objdir/CollectionUtil.o /var/tmp/work/sysutils/depot/work/.tools/bin/install -c Collection.h ../build-include//Collection.h ### Done with /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/Collection ### Making all in /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/CollectionList clang -O -DHAVE_CONFIG_H -I../build-include/ -c CollectionList_Read.c In file included from CollectionList_Read.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ CollectionList_Read.c:58:28: warning: passing arguments to 'efgetunsigned' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | clistsize = efgetunsigned(fp); | ^ CollectionList_Read.c:59:31: warning: passing arguments to 'efgetunsigned' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | ncollections = efgetunsigned(fp); | ^ CollectionList_Read.c:60:38: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | clistp = (COLLECTIONLIST *) emalloc(sizeof(COLLECTIONLIST)); | ^ CollectionList_Read.c:64:32: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | = (COLLECTION **) ecalloc(clistsize + 1, sizeof(COLLECTION *)); | ^ CollectionList_Read.c:68:23: warning: passing arguments to 'efgetunsigned' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | id = efgetunsigned(fp); | ^ CollectionList_Read.c:75:34: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | cp = (COLLECTION *) emalloc(sizeof(COLLECTION)); | ^ CollectionList_Read.c:79:40: warning: passing arguments to 'efgetstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | COLLECTION_Name(cp) = efgetstring(fp, '\\' /* quotechar */ ); | ^ CollectionList_Read.c:81:40: warning: passing arguments to 'efgetstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | COLLECTION_Path(cp) = efgetstring(fp, '\\' /* quotechar */ ); | ^ CollectionList_Read.c:84:25: warning: passing arguments to 'efgetlong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | commandlistsize = efgetint(fp); | ^ ../build-include/util.h:69:37: note: expanded from macro 'efgetint' 69 | #define efgetint(fp) ((int)efgetlong(fp)) | ^ CollectionList_Read.c:88:23: warning: passing arguments to 'efgetstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | command = efgetstring(fp, '\\' /* quotechar */ ); | ^ CollectionList_Read.c:90:25: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | = StringSet_AddString(COLLECTION_CommandList(cp), command); | ^ CollectionList_Read.c:97:28: warning: passing arguments to 'CollectionDepotConfDB_Read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | CollectionDepotConfDB_Read(fp, COLLECTION_Name(cp)); | ^ CollectionList_Read.c:100:42: warning: passing arguments to 'HintDB_Read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | COLLECTION_HintDB(cp) = HintDB_Read(fp); | ^ CollectionList_Read.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | CollectionList_Read(fp) | ^ In file included from CollectionList_Read.c:44: ./CollectionList.h:45:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | extern COLLECTIONLIST *CollectionList_Read(); | ^ 16 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c CollectionList_Read.o ../objdir//CollectionList_Read.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c CollectionList_Write.c In file included from CollectionList_Write.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ CollectionList_Write.c:60:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | static unsigned int CollectionList_CollectionCount(clistp) | ^ CollectionList_Write.c:57:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | static unsigned int CollectionList_CollectionCount(); | ^ CollectionList_Write.c:121:20: warning: passing arguments to 'String_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | String_Write(fp, COLLECTION_Name(cp), | ^ CollectionList_Write.c:134:20: warning: passing arguments to 'String_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | String_Write(fp, COLLECTION_Path(cp), | ^ CollectionList_Write.c:146:22: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | StringArray_Size(COLLECTION_CommandList(cp))); | ^ CollectionList_Write.c:147:22: warning: passing arguments to 'StringArray_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | StringArray_Write(fp, COLLECTION_CommandList(cp), | ^ CollectionList_Write.c:157:32: warning: passing arguments to 'CollectionDepotConfDB_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | CollectionDepotConfDB_Write(fp, COLLECTION_DepotConfDB(cp)); | ^ CollectionList_Write.c:163:26: warning: passing arguments to 'HintDB_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | (void)HintDB_Write(fp, COLLECTION_HintDB(cp)); | ^ CollectionList_Write.c:88:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | int CollectionList_Write(fp, clistp) | ^ In file included from CollectionList_Write.c:44: ./CollectionList.h:46:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | extern int CollectionList_Write(); | ^ 11 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c CollectionList_Write.o ../objdir//CollectionList_Write.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c CollectionList_SetCollectionStatus.c In file included from CollectionList_SetCollectionStatus.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ CollectionList_SetCollectionStatus.c:79:29: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | && (String_Comparator(collectionname, COLLECTION_Name(cp)) == 0)) | ^ CollectionList_SetCollectionStatus.c:56:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | int CollectionList_SetCollectionStatus(clist, collectionname, status) | ^ In file included from CollectionList_SetCollectionStatus.c:44: ./CollectionList.h:48:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | extern int CollectionList_SetCollectionStatus(); | ^ CollectionList_SetCollectionStatus.c:98:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | int CollectionList_IgnoreCollection(clist, collectionname) | ^ In file included from CollectionList_SetCollectionStatus.c:44: ./CollectionList.h:49:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | extern int CollectionList_IgnoreCollection(); | ^ 6 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c CollectionList_SetCollectionStatus.o ../objdir//CollectionList_SetCollectionStatus.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c CollectionListUtil.c In file included from CollectionListUtil.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ CollectionListUtil.c:94:29: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | if (String_Comparator(COLLECTION_Name(cp1), | ^ CollectionListUtil.c:97:34: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | else if (String_Comparator(COLLECTION_Path(cp1), | ^ CollectionListUtil.c:102:34: warning: passing arguments to 'HintDB_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | else if (HintDB_Comparator(COLLECTION_HintDB(cp1), | ^ CollectionListUtil.c:105:39: warning: passing arguments to 'DepotConfDB_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | else if (DepotConfDB_Comparator(COLLECTION_DepotConfDB(cp1), | ^ CollectionListUtil.c:109:39: warning: passing arguments to 'StringArray_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | else if (StringArray_Comparator(COLLECTION_CommandList(cp1), | ^ CollectionListUtil.c:47:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | Boolean CollectionList_Comparator(clist1, clist2) | ^ In file included from CollectionListUtil.c:44: ./CollectionList.h:51:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | extern Boolean CollectionList_Comparator(); | ^ CollectionListUtil.c:139:39: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | newclist = (COLLECTIONLIST *)emalloc(sizeof(COLLECTIONLIST)); | ^ CollectionListUtil.c:151:29: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | = (COLLECTION**)ecalloc(COLLECTIONLIST_Size(newclist) + 1, | ^ CollectionListUtil.c:165:35: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | cp2 = (COLLECTION *)emalloc(sizeof(COLLECTION)); | ^ CollectionListUtil.c:171:36: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | COLLECTION_Name(cp2) = String(COLLECTION_Name(cp1), | ^ CollectionListUtil.c:132:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | COLLECTIONLIST *CollectionList(clist) | ^ In file included from CollectionListUtil.c:44: ./CollectionList.h:52:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | extern COLLECTIONLIST *CollectionList(); | ^ CollectionListUtil.c:221:40: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | newclist = (COLLECTIONLIST *)emalloc(sizeof(COLLECTIONLIST)); | ^ CollectionListUtil.c:237:30: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | else if (String_Comparator(collectionname, COLLECTION_Name(cp)) == 0) | ^ CollectionListUtil.c:255:29: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | = (COLLECTION **)emalloc((COLLECTIONLIST_Size(newclist)+1) | ^ CollectionListUtil.c:260:15: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | erealloc((void *)COLLECTIONLIST_CollectionArray(newclist), | ^ CollectionListUtil.c:267:33: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | cp = (COLLECTION *)emalloc(sizeof(COLLECTION)); | ^ CollectionListUtil.c:269:34: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | COLLECTION_Name(cp) = String(collectionname, | ^ CollectionListUtil.c:198:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | COLLECTIONLIST *CollectionList_AddCollectionName(clist, | ^ In file included from CollectionListUtil.c:44: ./CollectionList.h:55:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | extern COLLECTIONLIST *CollectionList_AddCollectionName(); | ^ CollectionListUtil.c:306:34: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | namelist = (char **)emalloc(COLLECTIONLIST_Size(clist) * sizeof(char *)); | ^ CollectionListUtil.c:319:17: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | *np = String(COLLECTION_Name(cp), | ^ CollectionListUtil.c:293:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | char **CollectionNameList(clist) | ^ In file included from CollectionListUtil.c:44: ./CollectionList.h:53:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | extern char **CollectionNameList(); | ^ CollectionListUtil.c:344:34: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | pathlist = (char **)emalloc(COLLECTIONLIST_Size(clist) * sizeof(char *)); | ^ CollectionListUtil.c:357:17: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | *pp = String(COLLECTION_Path(cp), | ^ CollectionListUtil.c:331:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | char **CollectionPathList(clist) | ^ In file included from CollectionListUtil.c:44: ./CollectionList.h:54:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | extern char **CollectionPathList(); | ^ 30 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c CollectionListUtil.o ../objdir//CollectionListUtil.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c CollectionList_LocateCollection.c In file included from CollectionList_LocateCollection.c:34: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ CollectionList_LocateCollection.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | CollectionList_LocateCollectionByName(name, clist) | ^ In file included from CollectionList_LocateCollection.c:42: ./CollectionList.h:56:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | extern COLLECTION *CollectionList_LocateCollectionByName(); | ^ 3 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c CollectionList_LocateCollection.o ../objdir//CollectionList_LocateCollection.o /var/tmp/work/sysutils/depot/work/.tools/bin/install -c CollectionList.h ../build-include//CollectionList.h ### Done with /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/CollectionList ### Making all in /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/Command clang -O -DHAVE_CONFIG_H -I../build-include/ -c Command_Build.c In file included from Command_Build.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ Command_Build.c:81:40: warning: passing arguments to 'Preference_GetSentence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | labelcommand = Preference_GetSentence(preferencedbp, | ^ Command_Build.c:91:35: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | commandp = (COMMAND *) emalloc(sizeof(COMMAND)); | ^ Command_Build.c:93:39: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | COMMAND_Label(commandp) = String(label, strlen(label)); | ^ Command_Build.c:111:21: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | File_GetStatus(ExecFilePath, &ExecFileStatus, TRUE /* followlinks */ ); | ^ Command_Build.c:116:51: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | COMMAND_Args(commandp) = StringArray_AppendString(NULL, | ^ Command_Build.c:129:41: warning: passing arguments to 'TargetDB_LocateNode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | commandnodep = TargetDB_LocateNode(targetdbp, ExecFileNodePath, TDB_LAX); | ^ Command_Build.c:133:26: warning: passing arguments to 'SourceList_SourceToUse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | SourceList_SourceToUse(TARGETDB_SourceList(commandnodep)); | ^ Command_Build.c:150:20: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | File_GetStatus(ExecFilePath, | ^ Command_Build.c:158:27: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | StringArray_AppendString(NULL, ExecFilePath); | ^ Command_Build.c:173:34: warning: passing arguments to 'Command_LocateExecFileInPATH' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | Command_LocateExecFileInPATH(commandpath, ExecFilePath); | ^ Command_Build.c:176:32: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | StringArray_AppendString(NULL, ExecFilePath); | ^ Command_Build.c:195:26: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | StringArray_AppendString(COMMAND_Args(commandp), | ^ Command_Build.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | Command_Build(label, targetdbp, preferencedbp, collectionlistp) | ^ In file included from Command_Build.c:46: ./Command.h:41:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | extern COMMAND *Command_Build(); | ^ Command_Build.c:221:40: warning: passing arguments to 'StringToStringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | pathstringarray = StringToStringArray(Path, | ^ Command_Build.c:236:21: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | File_GetStatus(filepath, &statusbuffer, TRUE /* followlinks */ ); | ^ Command_Build.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | Command_LocateExecFileInPATH(filename, filepath) | ^ Command_Build.c:50:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | static Boolean Command_LocateExecFileInPATH(); | ^ 19 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c Command_Build.o ../objdir//Command_Build.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c Command_Run.c In file included from Command_Run.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ Command_Run.c:59:11: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] 59 | pid = vfork(); | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:608:1: note: 'vfork' has been explicitly marked deprecated here 608 | __deprecated_msg("Use posix_spawn or fork") | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ Command_Run.c:74:10: warning: incompatible pointer types passing 'union wait *' to parameter of type 'int *' [-Wincompatible-pointer-types] 74 | wait(&ExecStatus); | ^~~~~~~~~~~ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h:246:19: note: passing argument to parameter here 246 | pid_t wait(int *) __DARWIN_ALIAS_C(wait); | ^ Command_Run.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | Command_Run(commandp) | ^ In file included from Command_Run.c:38: ./Command.h:42:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | extern void Command_Run(); | ^ 5 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c Command_Run.o ../objdir//Command_Run.o /var/tmp/work/sysutils/depot/work/.tools/bin/install -c Command.h ../build-include//Command.h ### Done with /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/Command ### Making all in /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/DepotDB clang -O -DHAVE_CONFIG_H -I../build-include/ -c DepotDB_OpenClose.c In file included from DepotDB_OpenClose.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ DepotDB_OpenClose.c:56:34: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | dbh = (DEPOTDBHANDLE *) emalloc(sizeof(DEPOTDBHANDLE)); | ^ DepotDB_OpenClose.c:59:35: warning: passing arguments to 'efopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | DEPOTDBHANDLE_FP(dbh) = efopen(path, "r"); | ^ DepotDB_OpenClose.c:66:39: warning: passing arguments to 'efgetstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | DepotDBVersionString = efgetstring(DEPOTDBHANDLE_FP(dbh), | ^ DepotDB_OpenClose.c:77:54: warning: passing arguments to 'efgetunsigned' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | DEPOTDBHANDLE_OFF_PREFERENCE(dbh) = efgetunsigned(DEPOTDBHANDLE_FP(dbh)); | ^ DepotDB_OpenClose.c:78:53: warning: passing arguments to 'efgetunsigned' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | DEPOTDBHANDLE_OFF_DEPOTCONF(dbh) = efgetunsigned(DEPOTDBHANDLE_FP(dbh)); | ^ DepotDB_OpenClose.c:79:58: warning: passing arguments to 'efgetunsigned' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | DEPOTDBHANDLE_OFF_COLLECTIONLIST(dbh) = efgetunsigned(DEPOTDBHANDLE_FP(dbh)); | ^ DepotDB_OpenClose.c:80:50: warning: passing arguments to 'efgetunsigned' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | DEPOTDBHANDLE_OFF_TARGET(dbh) = efgetunsigned(DEPOTDBHANDLE_FP(dbh)); | ^ DepotDB_OpenClose.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | DepotDB_Open(path) | ^ In file included from DepotDB_OpenClose.c:46: ./DepotDB.h:66:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | extern DEPOTDBHANDLE *DepotDB_Open(); | ^ DepotDB_OpenClose.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | DepotDB_Close(dbh) | ^ In file included from DepotDB_OpenClose.c:46: ./DepotDB.h:67:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | extern int DepotDB_Close(); | ^ 12 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c DepotDB_OpenClose.o ../objdir/DepotDB_OpenClose.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c DepotDB_Read.c In file included from DepotDB_Read.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ DepotDB_Read.c:54:31: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | DepotDB = (DEPOTDB *)emalloc(sizeof(DEPOTDB)); | ^ DepotDB_Read.c:57:67: warning: passing arguments to 'DepotDB_PreferenceDB_Read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | { DEPOTDB_OldPreferenceDB(DepotDB) = DepotDB_PreferenceDB_Read(dbh); } | ^ DepotDB_Read.c:59:65: warning: passing arguments to 'DepotDB_DepotConfDB_Read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | { DEPOTDB_OldDepotConfDB(DepotDB) = DepotDB_DepotConfDB_Read(dbh); } | ^ DepotDB_Read.c:61:71: warning: passing arguments to 'DepotDB_CollectionList_Read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | { DEPOTDB_OldCollectionList(DepotDB) = DepotDB_CollectionList_Read(dbh); } | ^ DepotDB_Read.c:63:56: warning: passing arguments to 'DepotDB_TargetDB_Read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | { DEPOTDB_TargetDB(DepotDB) = DepotDB_TargetDB_Read(dbh); } | ^ DepotDB_Read.c:49:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | DEPOTDB *DepotDB_Read(dbh) | ^ In file included from DepotDB_Read.c:46: ./DepotDB.h:68:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | extern DEPOTDB *DepotDB_Read(); | ^ 8 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c DepotDB_Read.o ../objdir/DepotDB_Read.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c DepotDB_ReadPreliminaryInfo.c In file included from DepotDB_ReadPreliminaryInfo.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ DepotDB_ReadPreliminaryInfo.c:55:65: warning: passing arguments to 'DepotDB_PreferenceDB_Read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | DEPOTDB_OldPreferenceDB(DepotDB) = DepotDB_PreferenceDB_Read(dbh); | ^ DepotDB_ReadPreliminaryInfo.c:58:63: warning: passing arguments to 'DepotDB_DepotConfDB_Read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | DEPOTDB_OldDepotConfDB(DepotDB) = DepotDB_DepotConfDB_Read(dbh); | ^ DepotDB_ReadPreliminaryInfo.c:61:69: warning: passing arguments to 'DepotDB_CollectionList_Read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | DEPOTDB_OldCollectionList(DepotDB) = DepotDB_CollectionList_Read(dbh); | ^ DepotDB_ReadPreliminaryInfo.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | DepotDB_ReadPreliminaryInfo(DepotDB, dbh) | ^ In file included from DepotDB_ReadPreliminaryInfo.c:46: ./DepotDB.h:71:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | extern DEPOTDB *DepotDB_ReadPreliminaryInfo(); | ^ 6 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c DepotDB_ReadPreliminaryInfo.o ../objdir/DepotDB_ReadPreliminaryInfo.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c DepotDB_CollectionList_Read.c In file included from DepotDB_CollectionList_Read.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ DepotDB_CollectionList_Read.c:62:32: warning: passing arguments to 'CollectionList_Read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | clist = CollectionList_Read(DEPOTDBHANDLE_FP(dbh)); | ^ DepotDB_CollectionList_Read.c:49:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | COLLECTIONLIST *DepotDB_CollectionList_Read(dbh) | ^ In file included from DepotDB_CollectionList_Read.c:46: ./DepotDB.h:76:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | extern COLLECTIONLIST *DepotDB_CollectionList_Read(); | ^ 4 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c DepotDB_CollectionList_Read.o ../objdir/DepotDB_CollectionList_Read.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c DepotDB_DepotConfDB_Read.c In file included from DepotDB_DepotConfDB_Read.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ DepotDB_DepotConfDB_Read.c:64:38: warning: passing arguments to 'GlobalDepotConfDB_Read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | confdb = GlobalDepotConfDB_Read(DEPOTDBHANDLE_FP(dbh)); | ^ DepotDB_DepotConfDB_Read.c:49:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | DEPOTCONFDB *DepotDB_DepotConfDB_Read(dbh) | ^ In file included from DepotDB_DepotConfDB_Read.c:46: ./DepotDB.h:74:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | extern DEPOTCONFDB *DepotDB_DepotConfDB_Read(); | ^ 4 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c DepotDB_DepotConfDB_Read.o ../objdir/DepotDB_DepotConfDB_Read.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c DepotDB_PreferenceDB_Read.c In file included from DepotDB_PreferenceDB_Read.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ DepotDB_PreferenceDB_Read.c:65:30: warning: passing arguments to 'PreferenceDB_Read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | pdb = PreferenceDB_Read(DEPOTDBHANDLE_FP(dbh)); | ^ DepotDB_PreferenceDB_Read.c:49:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | PREFERENCEDB *DepotDB_PreferenceDB_Read(dbh) | ^ In file included from DepotDB_PreferenceDB_Read.c:46: ./DepotDB.h:73:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | extern PREFERENCEDB *DepotDB_PreferenceDB_Read(); | ^ 4 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c DepotDB_PreferenceDB_Read.o ../objdir/DepotDB_PreferenceDB_Read.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c DepotDB_TargetDB_Read.c In file included from DepotDB_TargetDB_Read.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ DepotDB_TargetDB_Read.c:85:24: warning: passing arguments to 'TargetDB_Read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | tdb = TargetDB_Read(DEPOTDBHANDLE_FP(dbh), Compress); | ^ DepotDB_TargetDB_Read.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 | DepotDB_TargetDB_Read(dbh) | ^ In file included from DepotDB_TargetDB_Read.c:46: ./DepotDB.h:75:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | extern TARGETDB *DepotDB_TargetDB_Read(); | ^ 4 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c DepotDB_TargetDB_Read.o ../objdir/DepotDB_TargetDB_Read.o clang -O -DHAVE_CONFIG_H -I../build-include/ -c DepotDB_Write.c In file included from DepotDB_Write.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ DepotDB_Write.c:109:25: warning: passing arguments to 'PreferenceDB_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | PreferenceDB_Write(fp, DEPOTDB_PreferenceDB(DepotDB)); | ^ DepotDB_Write.c:119:27: warning: passing arguments to 'GlobalDepotConfDB_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | { GlobalDepotConfDB_Write(fp, DEPOTDB_DepotConfDB(DepotDB)); } | ^ DepotDB_Write.c:128:27: warning: passing arguments to 'CollectionList_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | CollectionList_Write(fp, DEPOTDB_CollectionList(DepotDB)); | ^ DepotDB_Write.c:137:21: warning: passing arguments to 'TargetDB_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | TargetDB_Write(fp, DEPOTDB_TargetDB(DepotDB), compress); | ^ DepotDB_Write.c:150:8: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 149 | fprintf(fp, "%d %d %d %d\n", | ~~ | %ld 150 | PreferenceDBOffset, DepotConfDBOffset, | ^~~~~~~~~~~~~~~~~~ DepotDB_Write.c:150:28: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 149 | fprintf(fp, "%d %d %d %d\n", | ~~ | %ld 150 | PreferenceDBOffset, DepotConfDBOffset, | ^~~~~~~~~~~~~~~~~ DepotDB_Write.c:151:8: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 149 | fprintf(fp, "%d %d %d %d\n", | ~~ | %ld 150 | PreferenceDBOffset, DepotConfDBOffset, 151 | CollectionListOffset, TargetDBOffset); | ^~~~~~~~~~~~~~~~~~~~ DepotDB_Write.c:151:30: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 149 | fprintf(fp, "%d %d %d %d\n", | ~~ | %ld 150 | PreferenceDBOffset, DepotConfDBOffset, 151 | CollectionListOffset, TargetDBOffset); | ^~~~~~~~~~~~~~ DepotDB_Write.c:74:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | int DepotDB_Write(fp, DepotDB, compress) | ^ In file included from DepotDB_Write.c:46: ./DepotDB.h:69:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | extern int DepotDB_Write(); | ^ 11 warnings generated. /var/tmp/work/sysutils/depot/work/.tools/bin/install -c DepotDB_Write.o ../objdir/DepotDB_Write.o /var/tmp/work/sysutils/depot/work/.tools/bin/install -c DepotDB.h ../build-include//DepotDB.h ### Done with /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/DepotDB ### Making all in /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/Depot clang -O -DHAVE_CONFIG_H -I../build-include/ -c Depot.c In file included from Depot.c:37: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ Depot.c:86:24: warning: passing arguments to 'ProcessLockAction' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | ProcessLockAction(DepotLockFileName, LockAction); | ^ Depot.c:88:21: warning: passing arguments to 'ProcessUpdates' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | ProcessUpdates(DepotLockFileName, ImagePath, UpdateMode); | ^ Depot.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 | Depot(TargetPath, ImagePath, UpdateMode, LockAction) | ^ In file included from Depot.c:53: ./Depot.h:48:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | extern int Depot(); | ^ Depot.c:102:24: warning: passing arguments to 'Lock_SetLock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | rval = Lock_SetLock(DepotLockFileName); | ^ Depot.c:112:20: warning: passing arguments to 'Lock_RemoveLock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | Lock_RemoveLock(DepotLockFileName); | ^ Depot.c:118:23: warning: passing arguments to 'Lock_SetLock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | (void)Lock_SetLock(DepotLockFileName); | ^ Depot.c:128:24: warning: passing arguments to 'Lock_SetLock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | rval = Lock_SetLock(DepotLockFileName); | ^ Depot.c:139:20: warning: passing arguments to 'Lock_RemoveLock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | Lock_RemoveLock(DepotLockFileName); | ^ Depot.c:145:26: warning: passing arguments to 'Lock_UnsetLock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | rval = Lock_UnsetLock(DepotLockFileName); | ^ Depot.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | ProcessLockAction(DepotLockFileName, LockAction) | ^ Depot.c:55:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | static void ProcessLockAction(); | ^ Depot.c:171:36: warning: passing arguments to 'Lock_QueryLock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | DepotLockOwner = Lock_QueryLock(DepotLockFileName); | ^ Depot.c:185:23: warning: passing arguments to 'Lock_SetLock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | (void)Lock_SetLock(DepotLockFileName); /* try to lock it */ | ^ Depot.c:190:25: warning: passing arguments to 'Depot_RunDeltaMode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | Depot_RunDeltaMode(ImagePath, UpdateMode, &PointofNoReturn); | ^ Depot.c:192:25: warning: passing arguments to 'Depot_RunBuildMode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | Depot_RunBuildMode(ImagePath, UpdateMode, &PointofNoReturn); | ^ Depot.c:198:21: warning: passing arguments to 'Lock_UnsetLock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | Lock_UnsetLock(DepotLockFileName); | ^ Depot.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | ProcessUpdates(DepotLockFileName, ImagePath, UpdateMode) | ^ Depot.c:56:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | static void ProcessUpdates(); | ^ 20 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c Depot_RunMode.c In file included from Depot_RunMode.c:37: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ Depot_RunMode.c:136:20: warning: passing arguments to 'efopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | fpread = efopen(filenamebuffer, "r"); | ^ Depot_RunMode.c:138:63: warning: passing arguments to 'PreferenceDB_Read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | DEPOTDB_PreferenceDB(Depot_depotdbp) = PreferenceDB_Read(fpread); | ^ Depot_RunMode.c:153:67: warning: passing arguments to 'GlobalDepotConfDB_Read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | DEPOTDB_DepotConfDB(Depot_depotdbp) = GlobalDepotConfDB_Read(fpread); | ^ Depot_RunMode.c:162:27: warning: passing arguments to 'Preference_GetString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | Preference_GetString(DEPOTDB_PreferenceDB(Depot_depotdbp), | ^ Depot_RunMode.c:179:35: warning: passing arguments to 'Preference_GetSearchPathList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | Preference_GetSearchPathList(DEPOTDB_PreferenceDB(Depot_depotdbp)); | ^ Depot_RunMode.c:190:23: warning: passing arguments to 'Preference_GetBoolean' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | Preference_GetBoolean(DEPOTDB_PreferenceDB(Depot_depotdbp), | ^ Depot_RunMode.c:205:23: warning: passing arguments to 'Preference_GetBoolean' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | Preference_GetBoolean(DEPOTDB_PreferenceDB(Depot_depotdbp), | ^ Depot_RunMode.c:224:23: warning: passing arguments to 'Preference_GetBoolean' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | Preference_GetBoolean(DEPOTDB_PreferenceDB(Depot_depotdbp), | ^ Depot_RunMode.c:247:52: warning: passing arguments to 'HintService_GetRelatedHints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | Depot_HintCache = HintService_GetRelatedHints("", filenamebuffer); | ^ Depot_RunMode.c:248:45: warning: passing arguments to 'HintDB_SetPathPrefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | Depot_HintCache = HintDB_SetPathPrefix(Depot_HintCache, *sp); | ^ Depot_RunMode.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 | Initialize(updatemode) | ^ Depot_RunMode.c:261:45: warning: passing arguments to 'Depot_GetCollectionDepotConfDB' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | coll_dcdb = Depot_GetCollectionDepotConfDB(name, path); | ^ Depot_RunMode.c:269:7: warning: passing arguments to 'GlobalDepotConf_ExtractCollectionDepotConf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | (DEPOTDB_DepotConfDB(Depot_depotdbp), name); | ^ Depot_RunMode.c:272:53: warning: passing arguments to 'CollectionDepotConf_AppendGlobalDepotConf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | return(CollectionDepotConf_AppendGlobalDepotConf(coll_dcdb, glob_dcdb, name)); | ^ Depot_RunMode.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | Load_DepotConfDB(name, path) | ^ Depot_RunMode.c:308:39: warning: passing arguments to 'Preference_GetCollectionNameList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | Preference_GetCollectionNameList(DEPOTDB_PreferenceDB(Depot_depotdbp)); | ^ Depot_RunMode.c:316:39: warning: passing arguments to 'Depot_GetCollectionNamesInDirectory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | Depot_GetCollectionNamesInDirectory(*sp, | ^ Depot_RunMode.c:320:30: warning: passing arguments to 'StringSet_Merge' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | cnameset = StringSet_Merge(cnameset, tempstringset); | ^ Depot_RunMode.c:322:18: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | StringArray_Free(tempstringset); | ^ Depot_RunMode.c:332:4: warning: passing arguments to 'CollectionList_AddCollectionName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | (DEPOTDB_CollectionList(Depot_depotdbp), | ^ Depot_RunMode.c:340:21: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | StringArray_Free(Depot_SearchPathList); | ^ Depot_RunMode.c:341:21: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | StringArray_Free(cnameset); | ^ Depot_RunMode.c:348:30: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | Preference_GetStringSet(DEPOTDB_PreferenceDB(Depot_depotdbp), | ^ Depot_RunMode.c:354:2: warning: passing arguments to 'CollectionList_IgnoreCollection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | (DEPOTDB_CollectionList(Depot_depotdbp), *sp); | ^ Depot_RunMode.c:374:25: warning: passing arguments to 'Depot_GetCollectionPath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | Depot_GetCollectionPath(COLLECTION_Name(colp), | ^ Depot_RunMode.c:410:30: warning: passing arguments to 'HintDB_GetRelatedHints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | hdb = HintDB_GetRelatedHints(Depot_HintCache, COLLECTION_Path(colp)); | ^ Depot_RunMode.c:415:26: warning: passing arguments to 'Preference_GetString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | = Preference_GetString(DEPOTDB_PreferenceDB(Depot_depotdbp), | ^ Depot_RunMode.c:421:37: warning: passing arguments to 'HintService_GetRelatedHints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | hdb = HintService_GetRelatedHints(hintservicepath, | ^ Depot_RunMode.c:425:30: warning: passing arguments to 'HintDB_UnsetPathPrefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | hdb = HintDB_UnsetPathPrefix(hdb, COLLECTION_Path(colp)); | ^ Depot_RunMode.c:440:22: warning: passing arguments to 'Collection_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | Collection_Free(colp); | ^ Depot_RunMode.c:454:5: warning: passing arguments to 'PreferenceDB_CollectionInstallMethod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | (COLLECTION_Name(colp), DEPOTDB_PreferenceDB(Depot_depotdbp)), | ^ Depot_RunMode.c:453:4: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | (PreferenceDB_CollectionInstallMethod | ^ Depot_RunMode.c:502:52: warning: passing arguments to 'FileSystemImage_Read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | COLLECTION_Image(colp) = FileSystemImage_Read(filenamebuffer); | ^ Depot_RunMode.c:512:27: warning: passing arguments to 'Hint_CollectAllHints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | Hint_CollectAllHints(COLLECTION_Image(colp))) != NULL) { | ^ Depot_RunMode.c:530:30: warning: passing arguments to 'DepotConfDB_GetCommandList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | DepotConfDB_GetCommandList(COLLECTION_DepotConfDB(colp)); | ^ Depot_RunMode.c:535:31: warning: passing arguments to 'Collection_TargetDBGenerate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | Collection_TargetDBGenerate(colp, NULL); | ^ Depot_RunMode.c:540:29: warning: passing arguments to 'TargetDB_DeleteTargetPath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | TargetDB_DeleteTargetPath(COLLECTION_TargetDB(colp), | ^ Depot_RunMode.c:544:29: warning: passing arguments to 'TargetDB_DeleteTargetPath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | TargetDB_DeleteTargetPath(COLLECTION_TargetDB(colp), | ^ Depot_RunMode.c:554:18: warning: passing arguments to 'TargetDB_Merge' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | TargetDB_Merge(DEPOTDB_TargetDB(Depot_depotdbp), | ^ Depot_RunMode.c:560:22: warning: passing arguments to 'FileSystemImage_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | FileSystemImage_Free(COLLECTION_Image(colp)); | ^ Depot_RunMode.c:564:15: warning: passing arguments to 'TargetDB_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | TargetDB_Free(COLLECTION_TargetDB(colp)); | ^ Depot_RunMode.c:577:29: warning: passing arguments to 'TargetDB_SortByOverrides' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | TargetDB_SortByOverrides(DEPOTDB_TargetDB(Depot_depotdbp), | ^ Depot_RunMode.c:583:36: warning: passing arguments to 'TargetDB_CheckSourceConsistency' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | TargetDB_CheckSourceConsistency(DEPOTDB_TargetDB(Depot_depotdbp), | ^ Depot_RunMode.c:593:33: warning: passing arguments to 'TargetDB_SetTargetMappings' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | TargetDB_SetTargetMappings(DEPOTDB_TargetDB(Depot_depotdbp), | ^ Depot_RunMode.c:599:35: warning: passing arguments to 'TargetDB_SetTargetFileStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | TargetDB_SetTargetFileStatus(DEPOTDB_TargetDB(Depot_depotdbp), | ^ Depot_RunMode.c:605:30: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | Preference_GetStringSet(DEPOTDB_PreferenceDB(Depot_depotdbp), | ^ Depot_RunMode.c:612:17: warning: passing arguments to 'StringSet_Merge' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | StringSet_Merge(Depot_SpecialFileSet, &DEPOT_SpecialFileSet); | ^ Depot_RunMode.c:617:32: warning: passing arguments to 'TargetDB_ProtectSpecialTargets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | TargetDB_ProtectSpecialTargets(DEPOTDB_TargetDB(Depot_depotdbp), | ^ Depot_RunMode.c:637:19: warning: passing arguments to 'TargetDB_Apply' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | TargetDB_Apply(DEPOTDB_TargetDB(Depot_depotdbp), | ^ Depot_RunMode.c:653:38: warning: passing arguments to 'Preference_GetTargetCommandList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | Preference_GetTargetCommandList(DEPOTDB_PreferenceDB(Depot_depotdbp)); | ^ Depot_RunMode.c:660:34: warning: passing arguments to 'TargetDB_CommandTargetExists' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | if (TargetDB_CommandTargetExists(*sp, | ^ Depot_RunMode.c:664:25: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | StringSet_AddString(Depot_CommandLabelsToRun, *sp); | ^ Depot_RunMode.c:688:23: warning: passing arguments to 'StringSet_Merge' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | StringSet_Merge(Depot_CommandLabelsToRun, | ^ Depot_RunMode.c:699:22: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | (COMMAND **) emalloc((STRINGSET_Size(Depot_CommandLabelsToRun) + 1) | ^ Depot_RunMode.c:706:29: warning: passing arguments to 'Command_Build' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | *commandp = Command_Build(STRINGSET_String(Depot_CommandLabelsToRun, i), | ^ Depot_RunMode.c:753:21: warning: passing arguments to 'efopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | fpwrite = efopen(filenamebuffer, "w"); | ^ Depot_RunMode.c:755:27: warning: passing arguments to 'DepotDB_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | (void) DepotDB_Write(fpwrite, Depot_depotdbp, Depot_CompressTDB); | ^ Depot_RunMode.c:774:21: warning: passing arguments to 'TargetDB_Apply' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | TargetDB_Apply(DEPOTDB_TargetDB(Depot_depotdbp), | ^ Depot_RunMode.c:793:13: warning: passing arguments to 'Command_Run' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | Command_Run(*commandp); | ^ Depot_RunMode.c:802:23: warning: passing arguments to 'File_Move' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | (void) File_Move(filenamebuffer, DepotDBFileName); | ^ Depot_RunMode.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | Depot_RunBuildMode(ImagePath, UpdateMode, PointofNoReturn) | ^ In file included from Depot_RunMode.c:53: ./Depot.h:50:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | extern void Depot_RunBuildMode(); | ^ Depot_RunMode.c:847:23: warning: passing arguments to 'DepotDB_Open' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | dbh = DepotDB_Open(DepotDBFileName); | ^ Depot_RunMode.c:850:49: warning: passing arguments to 'DepotDB_ReadPreliminaryInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | Depot_depotdbp = DepotDB_ReadPreliminaryInfo(Depot_depotdbp, dbh); | ^ Depot_RunMode.c:871:32: warning: passing arguments to 'Preference_Diff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 871 | prefdiffp = Preference_Diff(DEPOTDB_PreferenceDB(Depot_depotdbp), | ^ Depot_RunMode.c:881:32: warning: passing arguments to 'DepotConfDB_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | = !DepotConfDB_Comparator(DEPOTDB_DepotConfDB(Depot_depotdbp), | ^ Depot_RunMode.c:894:40: warning: passing arguments to 'PreferenceDiff_GetChangedCollections' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | = PreferenceDiff_GetChangedCollections(prefdiffp); | ^ Depot_RunMode.c:895:27: warning: passing arguments to 'StringSet_Member' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 895 | if (StringSet_Member(Depot_ChangedCollections, PREF_WILDITEM)) { | ^ Depot_RunMode.c:900:37: warning: passing arguments to 'PreferenceDiff_GetChangedCommands' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 900 | = PreferenceDiff_GetChangedCommands(prefdiffp); | ^ Depot_RunMode.c:908:23: warning: passing arguments to 'CollectionList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 908 | = CollectionList(DEPOTDB_OldCollectionList(Depot_depotdbp)); | ^ Depot_RunMode.c:934:39: warning: passing arguments to 'Preference_GetCollectionNameList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 934 | Preference_GetCollectionNameList(DEPOTDB_PreferenceDB(Depot_depotdbp)); | ^ Depot_RunMode.c:941:39: warning: passing arguments to 'Depot_GetCollectionNamesInDirectory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | Depot_GetCollectionNamesInDirectory(*sp, | ^ Depot_RunMode.c:945:30: warning: passing arguments to 'StringSet_Merge' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | cnameset = StringSet_Merge(cnameset, tempstringset); | ^ Depot_RunMode.c:948:20: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 948 | StringArray_Free(tempstringset); | ^ Depot_RunMode.c:961:4: warning: passing arguments to 'CollectionList_AddCollectionName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 961 | (DEPOTDB_CollectionList(Depot_depotdbp), | ^ Depot_RunMode.c:968:4: warning: passing arguments to 'CollectionList_SetCollectionStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | (DEPOTDB_CollectionList(Depot_depotdbp), *namep, C_UPDATE); | ^ Depot_RunMode.c:999:25: warning: passing arguments to 'StringSet_Member' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 999 | && StringSet_Member(Depot_ChangedCollections, | ^ Depot_RunMode.c:1018:23: warning: passing arguments to 'StringSet_Member' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | if (!StringSet_Member(cnameset, COLLECTION_Name(colp))) { | ^ Depot_RunMode.c:1027:30: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1027 | Preference_GetStringSet(DEPOTDB_PreferenceDB(Depot_depotdbp), | ^ Depot_RunMode.c:1034:2: warning: passing arguments to 'CollectionList_IgnoreCollection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1034 | (DEPOTDB_CollectionList(Depot_depotdbp), *sp); | ^ Depot_RunMode.c:1052:25: warning: passing arguments to 'Depot_GetCollectionPath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1052 | Depot_GetCollectionPath(COLLECTION_Name(colp), | ^ Depot_RunMode.c:1089:30: warning: passing arguments to 'HintDB_GetRelatedHints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1089 | hdb = HintDB_GetRelatedHints(Depot_HintCache, COLLECTION_Path(colp)); | ^ Depot_RunMode.c:1094:26: warning: passing arguments to 'Preference_GetString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | = Preference_GetString(DEPOTDB_PreferenceDB(Depot_depotdbp), | ^ Depot_RunMode.c:1099:37: warning: passing arguments to 'HintService_GetRelatedHints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1099 | hdb = HintService_GetRelatedHints(hintservicepath, | ^ Depot_RunMode.c:1103:30: warning: passing arguments to 'HintDB_UnsetPathPrefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1103 | hdb = HintDB_UnsetPathPrefix(hdb, COLLECTION_Path(colp)); | ^ Depot_RunMode.c:1130:23: warning: passing arguments to 'Collection_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1130 | Collection_Free(colp); | ^ Depot_RunMode.c:1150:7: warning: passing arguments to 'PreferenceDB_CollectionInstallMethod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1150 | (COLLECTION_Name(colp), DEPOTDB_PreferenceDB(Depot_depotdbp)), | ^ Depot_RunMode.c:1149:6: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1149 | (PreferenceDB_CollectionInstallMethod | ^ Depot_RunMode.c:1159:9: warning: passing arguments to 'PreferenceDB_CollectionInstallMethod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1159 | (COLLECTION_Name(oldcolp), DEPOTDB_OldPreferenceDB(Depot_depotdbp)), | ^ Depot_RunMode.c:1158:8: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1158 | (PreferenceDB_CollectionInstallMethod | ^ Depot_RunMode.c:1235:29: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1235 | || (String_Comparator(COLLECTION_Path(colp), | ^ Depot_RunMode.c:1238:29: warning: passing arguments to 'HintDB_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1238 | || (HintDB_Comparator(COLLECTION_HintDB(colp), | ^ Depot_RunMode.c:1251:28: warning: passing arguments to 'FileSystemImage_Read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1251 | FileSystemImage_Read(filenamebuffer); | ^ Depot_RunMode.c:1262:23: warning: passing arguments to 'Hint_CollectAllHints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1262 | Hint_CollectAllHints(COLLECTION_Image(colp)); | ^ Depot_RunMode.c:1271:27: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1271 | if (String_Comparator(COLLECTION_Path(colp), | ^ Depot_RunMode.c:1276:5: warning: passing arguments to 'HintDB_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1276 | (COLLECTION_HintDB(colp), | ^ Depot_RunMode.c:1294:19: warning: passing arguments to 'DepotConfDB' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1294 | DepotConfDB(COLLECTION_DepotConfDB(oldcolp)); | ^ Depot_RunMode.c:1302:29: warning: passing arguments to 'DepotConfDB_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1302 | || !DepotConfDB_Comparator(COLLECTION_DepotConfDB(colp), | ^ Depot_RunMode.c:1312:29: warning: passing arguments to 'DepotConfDB_GetCommandList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1312 | DepotConfDB_GetCommandList(COLLECTION_DepotConfDB(colp)); | ^ Depot_RunMode.c:1320:22: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1320 | StringArray_Size(COLLECTION_CommandList(oldcolp))); | ^ Depot_RunMode.c:1319:5: warning: passing arguments to 'StringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1319 | (COLLECTION_CommandList(oldcolp), | ^ Depot_RunMode.c:1359:61: warning: passing arguments to 'DepotDB_TargetDB_Read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1359 | DEPOTDB_TargetDB(Depot_depotdbp) = DepotDB_TargetDB_Read(dbh); | ^ Depot_RunMode.c:1368:25: warning: passing arguments to 'DepotDB_Close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | (void) DepotDB_Close(dbh); | ^ Depot_RunMode.c:1397:31: warning: passing arguments to 'TargetDB_ObsoleteCollection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1397 | TargetDB_ObsoleteCollection(DEPOTDB_TargetDB(Depot_depotdbp), | ^ Depot_RunMode.c:1423:33: warning: passing arguments to 'Collection_TargetDBGenerate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1423 | Collection_TargetDBGenerate(colp, hintdb_old); | ^ Depot_RunMode.c:1428:31: warning: passing arguments to 'TargetDB_DeleteTargetPath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1428 | TargetDB_DeleteTargetPath(COLLECTION_TargetDB(colp), | ^ Depot_RunMode.c:1432:31: warning: passing arguments to 'TargetDB_DeleteTargetPath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1432 | TargetDB_DeleteTargetPath(COLLECTION_TargetDB(colp), | ^ Depot_RunMode.c:1439:20: warning: passing arguments to 'TargetDB_Merge' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1439 | TargetDB_Merge(DEPOTDB_TargetDB(Depot_depotdbp), | ^ Depot_RunMode.c:1447:17: warning: passing arguments to 'TargetDB_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1447 | TargetDB_Free(COLLECTION_TargetDB(colp)); | ^ Depot_RunMode.c:1457:33: warning: passing arguments to 'TargetDB_UnObsoleteCollection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1457 | TargetDB_UnObsoleteCollection(DEPOTDB_TargetDB(Depot_depotdbp), | ^ Depot_RunMode.c:1477:28: warning: passing arguments to 'TargetDB_PruneCollection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1477 | TargetDB_PruneCollection(DEPOTDB_TargetDB(Depot_depotdbp), | ^ Depot_RunMode.c:1487:22: warning: passing arguments to 'FileSystemImage_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1487 | FileSystemImage_Free(COLLECTION_Image(colp)); | ^ Depot_RunMode.c:1508:23: warning: passing arguments to 'TargetDB_PruneTargets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1508 | TargetDB_PruneTargets(DEPOTDB_TargetDB(Depot_depotdbp)); | ^ Depot_RunMode.c:1519:31: warning: passing arguments to 'TargetDB_SortByOverrides' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1519 | TargetDB_SortByOverrides(DEPOTDB_TargetDB(Depot_depotdbp), | ^ Depot_RunMode.c:1531:38: warning: passing arguments to 'TargetDB_CheckSourceConsistency' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1531 | TargetDB_CheckSourceConsistency(DEPOTDB_TargetDB(Depot_depotdbp), | ^ Depot_RunMode.c:1547:28: warning: passing arguments to 'TargetDB_SetTargetMappings' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1547 | TargetDB_SetTargetMappings(DEPOTDB_TargetDB(Depot_depotdbp), | ^ Depot_RunMode.c:1553:30: warning: passing arguments to 'TargetDB_SetTargetFileStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1553 | TargetDB_SetTargetFileStatus(DEPOTDB_TargetDB(Depot_depotdbp), | ^ Depot_RunMode.c:1560:25: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1560 | Preference_GetStringSet(DEPOTDB_PreferenceDB(Depot_depotdbp), | ^ Depot_RunMode.c:1568:17: warning: passing arguments to 'StringSet_Merge' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1568 | StringSet_Merge(Depot_SpecialFileSet, &DEPOT_SpecialFileSet); | ^ Depot_RunMode.c:1573:32: warning: passing arguments to 'TargetDB_ProtectSpecialTargets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1573 | TargetDB_ProtectSpecialTargets(DEPOTDB_TargetDB(Depot_depotdbp), | ^ Depot_RunMode.c:1597:21: warning: passing arguments to 'TargetDB_Apply' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1597 | TargetDB_Apply(DEPOTDB_TargetDB(Depot_depotdbp), | ^ Depot_RunMode.c:1625:33: warning: passing arguments to 'Preference_GetTargetCommandList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1625 | Preference_GetTargetCommandList(DEPOTDB_PreferenceDB(Depot_depotdbp)); | ^ Depot_RunMode.c:1634:25: warning: passing arguments to 'StringSet_Member' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1634 | && StringSet_Member(Depot_ChangedCommandLabels, *sp)) { | ^ Depot_RunMode.c:1636:25: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1636 | StringSet_AddString(ChangedTargetCommandSet, *sp); | ^ Depot_RunMode.c:1646:34: warning: passing arguments to 'TargetDB_CommandTargetExists' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1646 | if (TargetDB_CommandTargetExists(*sp, | ^ Depot_RunMode.c:1650:25: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1650 | StringSet_AddString(Depot_CommandLabelsToRun, *sp); | ^ Depot_RunMode.c:1660:36: warning: passing arguments to 'TargetDB_CommandTargetModified' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1660 | if (TargetDB_CommandTargetModified(*sp, | ^ Depot_RunMode.c:1664:25: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1664 | StringSet_AddString(Depot_CommandLabelsToRun, *sp); | ^ Depot_RunMode.c:1692:18: warning: passing arguments to 'StringSet_Merge' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1692 | StringSet_Merge(Depot_CommandLabelsToRun, | ^ Depot_RunMode.c:1700:25: warning: passing arguments to 'StringSet_Member' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1700 | if (StringSet_Member(Depot_ChangedCommandLabels, *sp)) { | ^ Depot_RunMode.c:1702:28: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1702 | StringSet_AddString(Depot_CommandLabelsToRun, *sp); | ^ Depot_RunMode.c:1716:22: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1716 | (COMMAND **) emalloc((STRINGSET_Size(Depot_CommandLabelsToRun) + 1) | ^ Depot_RunMode.c:1723:29: warning: passing arguments to 'Command_Build' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1723 | *commandp = Command_Build(STRINGSET_String(Depot_CommandLabelsToRun, i), | ^ Depot_RunMode.c:1769:23: warning: passing arguments to 'efopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1769 | fpwrite = efopen(filenamebuffer, "w"); | ^ Depot_RunMode.c:1773:22: warning: passing arguments to 'DepotDB_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1773 | (void) DepotDB_Write(fpwrite, Depot_depotdbp, Depot_CompressTDB); | ^ Depot_RunMode.c:1792:16: warning: passing arguments to 'TargetDB_Apply' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1792 | TargetDB_Apply(DEPOTDB_TargetDB(Depot_depotdbp), | ^ Depot_RunMode.c:1811:15: warning: passing arguments to 'Command_Run' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1811 | Command_Run(*commandp); | ^ Depot_RunMode.c:1820:18: warning: passing arguments to 'File_Move' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1820 | (void) File_Move(DepotDBFileName, filenamebuffer); | ^ Depot_RunMode.c:1828:18: warning: passing arguments to 'File_Move' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1828 | (void) File_Move(filenamebuffer, DepotDBFileName); | ^ Depot_RunMode.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 | Depot_RunDeltaMode(ImagePath, UpdateMode, PointofNoReturn) | ^ In file included from Depot_RunMode.c:53: ./Depot.h:51:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | extern void Depot_RunDeltaMode(); | ^ 142 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c Depot_CollectionUtil.c In file included from Depot_CollectionUtil.c:37: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ Depot_CollectionUtil.c:101:25: warning: passing arguments to 'File_ListDirectory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | if (File_ListDirectory(path, &filenamelist) < 0) { | ^ Depot_CollectionUtil.c:121:26: warning: passing arguments to 'StringSet_Member' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | if (!StringSet_Member(collectionnamelist, colname)) { | ^ Depot_CollectionUtil.c:125:46: warning: passing arguments to 'HintDB_GetHint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | if ((hintdb == NULL) || (HintDB_GetHint(hintdb, colpath) == NULL)) { | ^ Depot_CollectionUtil.c:129:20: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | if (File_GetStatus(colpath, &filestatusbuffer, TRUE /* followlinks */ ) < 0) { | ^ Depot_CollectionUtil.c:134:44: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | collectionnamelist = StringSet_AddString(collectionnamelist, | ^ Depot_CollectionUtil.c:138:42: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | collectionnamelist = StringSet_AddString(collectionnamelist, | ^ Depot_CollectionUtil.c:144:21: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | StringArray_Free(filenamelist); | ^ Depot_CollectionUtil.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | Depot_GetCollectionNamesInDirectory(path, versiondelimiter, hintdb) | ^ In file included from Depot_CollectionUtil.c:53: ./DepotUtil.h:31:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | extern STRINGSET *Depot_GetCollectionNamesInDirectory(); | ^ Depot_CollectionUtil.c:164:40: warning: passing arguments to 'Preference_GetString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | collectionpath = Preference_GetString(preferencedbp, | ^ Depot_CollectionUtil.c:171:32: warning: passing arguments to 'Preference_GetInt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | version = Preference_GetInt(preferencedbp, | ^ Depot_CollectionUtil.c:176:32: warning: passing arguments to 'Preference_GetStringArray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | Preference_GetStringArray(preferencedbp, | ^ Depot_CollectionUtil.c:185:35: warning: passing arguments to 'Depot_LocateCollectionPathInHints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | Depot_LocateCollectionPathInHints(collectionname, | ^ Depot_CollectionUtil.c:193:27: warning: passing arguments to 'Collection_LocatePath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | = Collection_LocatePath(collectionname, | ^ Depot_CollectionUtil.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | Depot_GetCollectionPath(collectionname, | ^ In file included from Depot_CollectionUtil.c:53: ./DepotUtil.h:32: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 subsequent definition [-Wdeprecated-non-prototype] 32 | extern char *Depot_GetCollectionPath(); | ^ Depot_CollectionUtil.c:240:29: warning: passing arguments to 'HintDB_GetHint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | hintp = HintDB_GetHint(hintdb, trialpath); | ^ Depot_CollectionUtil.c:244:25: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | collectionpath = String(trialpath, strlen(trialpath)); | ^ Depot_CollectionUtil.c:256:45: warning: passing arguments to 'HintDB_GetRelatedHints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | relatedhintdb = HintDB_GetRelatedHints(hintdb, trialhintpathprefix); | ^ Depot_CollectionUtil.c:272:26: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | collectionpath = String(trialhintpathprefix, strlen(trialhintpathprefix)); | ^ Depot_CollectionUtil.c:284:28: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | collectionpath = String(hintpath, strlen(hintpath)); | ^ Depot_CollectionUtil.c:290:13: warning: passing arguments to 'HintDB_Free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | HintDB_Free(relatedhintdb); | ^ Depot_CollectionUtil.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | Depot_LocateCollectionPathInHints(collectionname, | ^ Depot_CollectionUtil.c:88: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 subsequent definition [-Wdeprecated-non-prototype] 88 | static char *Depot_LocateCollectionPathInHints(); | ^ Depot_CollectionUtil.c:318:32: warning: passing arguments to 'DepotConfDB' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | coll_confdb = DepotConfDB(&DEPOT_DEFAULTDEPOTCONFDB); | ^ Depot_CollectionUtil.c:325:31: warning: passing arguments to 'CollectionDepotConfDB_Read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | CollectionDepotConfDB_Read(fpread, collectionname); | ^ Depot_CollectionUtil.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | Depot_GetCollectionDepotConfDB(collectionname, collectionpath) | ^ In file included from Depot_CollectionUtil.c:53: ./DepotUtil.h:33:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | extern DEPOTCONFDB *Depot_GetCollectionDepotConfDB(); | ^ 29 warnings generated. rm -f libdepot.a ar rv libdepot.a Depot.o Depot_RunMode.o Depot_CollectionUtil.o ar: creating archive libdepot.a a - Depot.o a - Depot_RunMode.o a - Depot_CollectionUtil.o ranlib libdepot.a /var/tmp/work/sysutils/depot/work/.tools/bin/install -c libdepot.a ../build-lib//libdepot.a /var/tmp/work/sysutils/depot/work/.tools/bin/install -c Depot.h ../build-include//Depot.h /var/tmp/work/sysutils/depot/work/.tools/bin/install -c config.h ../build-include//config.h /var/tmp/work/sysutils/depot/work/.tools/bin/install -c DepotUtil.h ../build-include//DepotUtil.h ### Done with /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/Depot ### Making all in /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/DepotQuery clang -O -DHAVE_CONFIG_H -I../build-include/ -c DepotQuery_CollectionInfo.c In file included from DepotQuery_CollectionInfo.c:36: ../build-include/util.h:85: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] 85 | extern char *strerror(); | ^ DepotQuery_CollectionInfo.c:75:25: warning: passing arguments to 'DepotDB_Open' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | dbh = DepotDB_Open(DepotDBFilePath); | ^ DepotQuery_CollectionInfo.c:79:42: warning: passing arguments to 'DepotDB_CollectionList_Read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | { clist = DepotDB_CollectionList_Read(dbh); } | ^ DepotQuery_CollectionInfo.c:90:29: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | && (String_Comparator(collectionname, COLLECTION_Name(cp)) == 0)) | ^ DepotQuery_CollectionInfo.c:52:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | COLLECTION *DepotQuery_GetCollectionInfo(targetdir, collectionname) | ^ 5 warnings generated. rm -f libdepotquery.a ar rv libdepotquery.a DepotQuery_CollectionInfo.o ar: creating archive libdepotquery.a a - DepotQuery_CollectionInfo.o ranlib libdepotquery.a /var/tmp/work/sysutils/depot/work/.tools/bin/install -c libdepotquery.a ../build-lib//libdepotquery.a /var/tmp/work/sysutils/depot/work/.tools/bin/install -c DepotQuery.h ../build-include//DepotQuery.h ### Done with /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/DepotQuery ### Making all in /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/libgen rm -f libdepotdb.a ar rv libdepotdb.a ../objdir/*.o ar: creating archive libdepotdb.a a - ../objdir/CollectionDepotConf_AppendGlobalDepotConf.o a - ../objdir/CollectionDepotConf_Parse.o a - ../objdir/CollectionDepotConf_Read.o a - ../objdir/CollectionDepotConf_Write.o a - ../objdir/CollectionListUtil.o a - ../objdir/CollectionList_LocateCollection.o a - ../objdir/CollectionList_Read.o a - ../objdir/CollectionList_SetCollectionStatus.o a - ../objdir/CollectionList_Write.o a - ../objdir/CollectionUtil.o a - ../objdir/Collection_CommandTarget.o a - ../objdir/Collection_DeleteTarget.o a - ../objdir/Collection_FSImageMap.o a - ../objdir/Collection_LocatePath.o a - ../objdir/Collection_PathMap.o a - ../objdir/Collection_TargetDB.o a - ../objdir/Collection_TargetDBGenerate.o a - ../objdir/Collection_TargetSource.o a - ../objdir/Collection_TargetSourceFromFSImage.o a - ../objdir/Collection_TargetSourceFromFileStatus.o a - ../objdir/Command_Build.o a - ../objdir/Command_Run.o a - ../objdir/DepotConf.o a - ../objdir/DepotConfUtil.o a - ../objdir/DepotDB_CollectionList_Read.o a - ../objdir/DepotDB_DepotConfDB_Read.o a - ../objdir/DepotDB_OpenClose.o a - ../objdir/DepotDB_PreferenceDB_Read.o a - ../objdir/DepotDB_Read.o a - ../objdir/DepotDB_ReadPreliminaryInfo.o a - ../objdir/DepotDB_TargetDB_Read.o a - ../objdir/DepotDB_Write.o a - ../objdir/GlobalDepotConf_ExtractCollectionDepotConf.o a - ../objdir/GlobalDepotConf_Parse.o a - ../objdir/GlobalDepotConf_Read.o a - ../objdir/GlobalDepotConf_Write.o a - ../objdir/SourceListUtil.o a - ../objdir/SourceList_Conflict.o a - ../objdir/SourceList_Find.o a - ../objdir/SourceList_Merge.o a - ../objdir/SourceList_Prune.o a - ../objdir/SourceList_SortByOverrides.o a - ../objdir/SourceUtil.o a - ../objdir/TargetDBUtil.o a - ../objdir/TargetDB_Apply.o a - ../objdir/TargetDB_Check.o a - ../objdir/TargetDB_Command.o a - ../objdir/TargetDB_Conflict.o a - ../objdir/TargetDB_CreateTargetPath.o a - ../objdir/TargetDB_Delete.o a - ../objdir/TargetDB_Locate.o a - ../objdir/TargetDB_Merge.o a - ../objdir/TargetDB_Obsolete.o a - ../objdir/TargetDB_Prune.o a - ../objdir/TargetDB_Read.o a - ../objdir/TargetDB_SetTargetFileStatus.o a - ../objdir/TargetDB_SetTargetMappings.o a - ../objdir/TargetDB_SortByOverrides.o a - ../objdir/TargetDB_Special.o a - ../objdir/TargetDB_Update.o a - ../objdir/TargetDB_Write.o ranlib libdepotdb.a /var/tmp/work/sysutils/depot/work/.tools/bin/install -c libdepotdb.a ../build-lib//libdepotdb.a /var/tmp/work/sysutils/depot/work/.tools/bin/install -c MasterDepotDB.h ../build-include/ ./newvers clang -O -c vers.c rm -f libdepotversion.a ar rv libdepotversion.a vers.o ar: creating archive libdepotversion.a a - vers.o ranlib libdepotversion.a /var/tmp/work/sysutils/depot/work/.tools/bin/install -c libdepotversion.a ../build-lib//libdepotversion.a ### Done with /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib/libgen ### Done with /var/tmp/work/sysutils/depot/work/depot-5.14/src/lib ### Making all in /var/tmp/work/sysutils/depot/work/depot-5.14/src/cmd ### Making all in /var/tmp/work/sysutils/depot/work/depot-5.14/src/cmd/fsi_generate clang -O -DHAVE_CONFIG_H -I../../lib/build-include -c fsi_generate.c In file included from fsi_generate.c:38: ../../lib/build-include/util.h:85: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] 85 | extern char *strerror(); | ^ fsi_generate.c:57:28: warning: call to undeclared function 'getversion_libdepot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | (void)fprintf(fp,"%s\n", getversion_libdepot()); | ^ fsi_generate.c:57:28: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 57 | (void)fprintf(fp,"%s\n", getversion_libdepot()); | ~~ ^~~~~~~~~~~~~~~~~~~~~ | %d fsi_generate.c:50:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | void Usage(fp) | ^ fsi_generate.c:62:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 62 | main(argc, argv) | ^ | int fsi_generate.c:79:54: warning: passing arguments to 'FileSystemImage_Build' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | FileSystemImage_Write(out, FileSystemImage_Build(argv[1])); | ^ fsi_generate.c:79:27: warning: passing arguments to 'FileSystemImage_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | FileSystemImage_Write(out, FileSystemImage_Build(argv[1])); | ^ fsi_generate.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | main(argc, argv) | ^ 8 warnings generated. clang -O -o fsi_generate fsi_generate.o ../../lib/build-lib/libfilesystemimage.a ../../lib/build-lib/libfilesystemutil.a ../../lib/build-lib/libfile.a ../../lib/build-lib/libutil.a ../../lib/build-lib/libdepotversion.a ### Done with /var/tmp/work/sysutils/depot/work/depot-5.14/src/cmd/fsi_generate ### Making all in /var/tmp/work/sysutils/depot/work/depot-5.14/src/cmd/hintservice clang -O -DHAVE_CONFIG_H -I../../lib/build-include/ -c hintservice.c In file included from hintservice.c:40: ../../lib/build-include/util.h:85: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] 85 | extern char *strerror(); | ^ hintservice.c:66:30: warning: call to undeclared function 'getversion_libdepot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | (void) fprintf(fp, "%s\n", getversion_libdepot()); | ^ hintservice.c:66:30: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 66 | (void) fprintf(fp, "%s\n", getversion_libdepot()); | ~~ ^~~~~~~~~~~~~~~~~~~~~ | %d hintservice.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | Usage(fp) | ^ hintservice.c:76:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 76 | main(argc, argv) | ^ | int hintservice.c:104:36: warning: passing arguments to 'FileSystemImage_Read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | fsimage = FileSystemImage_Read(argv[4]); | ^ hintservice.c:106:37: warning: passing arguments to 'Hint_CollectAllHints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | hintdb = Hint_CollectAllHints(fsimage); | ^ hintservice.c:108:37: warning: passing arguments to 'HintDB_SetPathPrefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | hintdb = HintDB_SetPathPrefix(hintdb, argv[5]); | ^ hintservice.c:116:37: warning: passing arguments to 'FileSystemImage_Build' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | fsimage = FileSystemImage_Build(argv[4]); | ^ hintservice.c:118:37: warning: passing arguments to 'Hint_CollectAllHints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | hintdb = Hint_CollectAllHints(fsimage); | ^ hintservice.c:120:37: warning: passing arguments to 'HintDB_SetPathPrefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | hintdb = HintDB_SetPathPrefix(hintdb, argv[5]); | ^ hintservice.c:132:34: warning: passing arguments to 'HintService_SetHint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | (void) HintService_SetHint(*hp, hintlocation); | ^ hintservice.c:144:38: warning: passing arguments to 'HintService_UnsetRelatedHints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | (void) HintService_UnsetRelatedHints(path, hintlocation); | ^ hintservice.c:153:29: warning: passing arguments to 'HintService_GetHint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | hintp = HintService_GetHint(path, hintlocation); | ^ hintservice.c:159:32: warning: passing arguments to 'HintDB_InsertHint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | hintdb = HintDB_InsertHint(NULL /* hintdb */ , | ^ hintservice.c:162:25: warning: passing arguments to 'HintDB_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | (void) HintDB_Write(out, hintdb); | ^ hintservice.c:172:38: warning: passing arguments to 'HintService_GetRelatedHints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | hintdb = HintService_GetRelatedHints(path, hintlocation); | ^ hintservice.c:178:25: warning: passing arguments to 'HintDB_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | (void) HintDB_Write(out, hintdb); | ^ hintservice.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | main(argc, argv) | ^ 19 warnings generated. clang -O -DHAVE_CONFIG_H -I../../lib/build-include/ -o hintservice hintservice.o -L../../lib/build-lib/ -lhintservice -lhint -lfilesystemimage -lfilesystemutil -lfile -lutil -ldepotversion ### Done with /var/tmp/work/sysutils/depot/work/depot-5.14/src/cmd/hintservice ### Making all in /var/tmp/work/sysutils/depot/work/depot-5.14/src/cmd/depot clang -O -DHAVE_CONFIG_H -I../../lib/build-include/ -c depot.c In file included from depot.c:36: ../../lib/build-include/util.h:85: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] 85 | extern char *strerror(); | ^ depot.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | Usage(fp) | ^ depot.c:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | static void Usage(); | ^ depot.c:148:13: warning: passing arguments to 'HandleArgs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | HandleArgs(argc, argv); | ^ depot.c:154:15: warning: passing arguments to 'Depot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | (void) Depot(Depot_TargetPath, | ^ depot.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 | main(argc, argv) | ^ depot.c:198:31: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | Depot_TargetPath = String(*argv, strlen(*argv)); | ^ depot.c:206:30: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | Depot_ImagePath = String(*argv, strlen(*argv)); | ^ depot.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | HandleArgs(argc, argv) | ^ depot.c:55:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | static void HandleArgs(); | ^ 10 warnings generated. clang -O -o depot depot.o ../../lib/build-lib//libdepot.a ../../lib/build-lib//libdepotdb.a ../../lib/build-lib//libpreference.a ../../lib/build-lib//libhint.a ../../lib/build-lib//libhintservice.a ../../lib/build-lib//libfilesystemimage.a ../../lib/build-lib//libfile.a ../../lib/build-lib//liblock.a ../../lib/build-lib//libutil.a ../../lib/build-lib//libdepotversion.a ### Done with /var/tmp/work/sysutils/depot/work/depot-5.14/src/cmd/depot ### Making all in /var/tmp/work/sysutils/depot/work/depot-5.14/src/cmd/depot_collectioninfo clang -O -DHAVE_CONFIG_H -I../../lib/build-include/ -c depot_getcollectioninfo.c In file included from depot_getcollectioninfo.c:38: ../../lib/build-include/util.h:85: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] 85 | extern char *strerror(); | ^ depot_getcollectioninfo.c:57:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | static void Usage(fp) | ^ depot_getcollectioninfo.c:71:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 71 | main(argc, argv) | ^ | int depot_getcollectioninfo.c:86:49: warning: passing arguments to 'DepotQuery_GetCollectionInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | collectionp = DepotQuery_GetCollectionInfo(argv[1], argv[2]); | ^ depot_getcollectioninfo.c:107:23: warning: passing arguments to 'HintDB_Write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | (void)HintDB_Write(out, COLLECTION_HintDB(collectionp)); | ^ depot_getcollectioninfo.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | main(argc, argv) | ^ 6 warnings generated. clang -O -o depot_getcollectioninfo depot_getcollectioninfo.o -L../../lib/build-lib/ -ldepotquery -ldepotdb -lpreference -lhint -lfilesystemimage -lfile -lutil -ldepotversion ### Done with /var/tmp/work/sysutils/depot/work/depot-5.14/src/cmd/depot_collectioninfo ### Done with /var/tmp/work/sysutils/depot/work/depot-5.14/src/cmd ### Done with /var/tmp/work/sysutils/depot/work/depot-5.14/src # All finished at Tue Oct 27 16:00:33 UTC 2026