=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/time/xalarm", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xalarm-3.06nb5 --- alarm.o --- --- when.o --- --- alarm.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DUSERENAME -DUSEGETHOSTNAME -DUSEGETPWUID -I/opt/pkg/include -c alarm.c --- when.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DUSERENAME -DUSEGETHOSTNAME -DUSEGETPWUID -I/opt/pkg/include -c when.c when.c: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 previous declaration [-Wdeprecated-non-prototype] 59 | extern time_t time(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_time.h:121:8: note: conflicting prototype is here 121 | time_t time(time_t *); | ^ when.c:60: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 previous declaration [-Wdeprecated-non-prototype] 60 | extern struct tm *localtime(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_time.h:117:12: note: conflicting prototype is here 117 | struct tm *localtime(const time_t *); | ^ when.c:135:14: warning: passing arguments to 'TimeTracker' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | TimeTracker ((XtPointer) popup, (XtIntervalId) NULL); | ^ when.c:136:17: warning: passing arguments to 'SetGeometry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | SetGeometry (popup); | ^ when.c:162:15: warning: passing arguments to 'SetWMName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | SetWMName ((Widget) clientdata, wmname); | ^ when.c:168:38: warning: passing arguments to 'DateToMilliSeconds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | xalarm.dateout = DateToMilliSeconds (xalarm.datestr); | ^ when.c:169:38: warning: passing arguments to 'TimeToMilliSeconds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | xalarm.timeout = TimeToMilliSeconds (xalarm.timestr); | ^ when.c:172:12: warning: passing arguments to 'Popup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | Popup (xalarm.gettimewidget, TIMEINSTRUCTIONS); | ^ when.c:174:25: warning: passing arguments to 'MakeConfirmMessage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | MakeConfirmMessage (buf); | ^ when.c:182:34: warning: passing arguments to 'ResetTracker' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | xalarm.whenid = ResetTracker (TimeTracker, clientdata, 0); | ^ when.c:150:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | static void TimeTracker (clientdata, id) | ^ when.c:52:72: warning: a function declaration without a prototype is 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 void PopupAndConfirm(), Popup(), PopupNext(), Edit(), Cancel(), TimeTracker(); | ^ when.c:195:8: warning: passing arguments to 'Popup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | Popup (xalarm.gettimewidget, TIMEINSTRUCTIONS); | ^ when.c:198:8: warning: passing arguments to 'Popup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | Popup (xalarm.getdatewidget, DATEINSTRUCTIONS); | ^ when.c:201:8: warning: passing arguments to 'Popup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | Popup (xalarm.getwtimewidget, WARNINGINSTRUCTIONS); | ^ when.c:205:12: warning: passing arguments to 'Confirmed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | Confirmed ((Widget) NULL, (XtPointer) NULL, (XtPointer) NULL); | ^ when.c:221:2: warning: passing arguments to 'TimeToMilliSeconds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | (DIALOGVALUE (xalarm.timestr, xalarm.gettimewidget)); | ^ when.c:214:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | void EnteredTime (widget, clientdata, calldata) | ^ when.c:50: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] 50 | void PopupAndAsk(), EnteredTime(), EnteredDate(), EnteredWarnings(), | ^ when.c:244:2: warning: passing arguments to 'DateToMilliSeconds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | (DIALOGVALUE (xalarm.datestr, xalarm.getdatewidget)); | ^ when.c:237:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | void EnteredDate (widget, clientdata, calldata) | ^ when.c:50:37: warning: a function declaration without a prototype is 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 | void PopupAndAsk(), EnteredTime(), EnteredDate(), EnteredWarnings(), | ^ when.c:266:21: warning: passing arguments to 'SetWarningTimes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | SetWarningTimes (DIALOGVALUE (xalarm.warningsstr, xalarm.getwtimewidget)); | ^ when.c:260:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | void EnteredWarnings (widget, clientdata, calldata) | ^ when.c:50:52: warning: a function declaration without a prototype is 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 | void PopupAndAsk(), EnteredTime(), EnteredDate(), EnteredWarnings(), | ^ when.c:286:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 286 | switch ((int) clientdata) { | ^~~~~~~~~~~~~~~~ --- alarm.o --- alarm.c:46: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 previous declaration [-Wdeprecated-non-prototype] --- when.o --- when.c:288:8: warning: passing arguments to 'Popup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- alarm.o --- 46 | extern time_t time(); | ^ --- when.o --- 288 | Popup (xalarm.gettimewidget, TIMEINSTRUCTIONS); | ^ --- alarm.o --- /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_time.h:121:8: note: conflicting prototype is here --- when.o --- when.c:291:8: warning: passing arguments to 'Popup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- alarm.o --- 121 | time_t time(time_t *); | ^ alarm.c:47: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 previous declaration [-Wdeprecated-non-prototype] --- when.o --- 291 | Popup (xalarm.getdatewidget, DATEINSTRUCTIONS); --- alarm.o --- 47 | extern struct tm *localtime(); --- when.o --- | ^ when.c:294:8: warning: passing arguments to 'Popup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- alarm.o --- | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_time.h:117:12: note: conflicting prototype is here --- when.o --- 294 | Popup (xalarm.getwtimewidget, WARNINGINSTRUCTIONS); | ^ --- alarm.o --- 117 | struct tm *localtime(const time_t *); | ^ --- when.o --- when.c:282:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | static void Edit (widget, clientdata, calldata) | ^ when.c:52:54: warning: a function declaration without a prototype is 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 void PopupAndConfirm(), Popup(), PopupNext(), Edit(), Cancel(), TimeTracker(); | ^ when.c:305:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | void EditedText (widget, clientdata, calldata) | ^ --- alarm.o --- alarm.c:59:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- when.o --- when.c:51:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- alarm.o --- 59 | void CreateAlarmWidget (alarmmessage) --- when.o --- 51 | Confirmed(), MakeConfirmMessage(), EditedText(); | ^ --- alarm.o --- | ^ alarm.c:37: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] --- when.o --- when.c:327:24: warning: passing arguments to 'MakeConfirmMessage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- alarm.o --- 37 | void CreateAlarmWidget(), WakeUp(), ShowClickToZero(), ShowSnoozeValue(); | ^ --- when.o --- 327 | MakeConfirmMessage (message); | ^ when.c:328:11: warning: passing arguments to 'Popup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | Popup (xalarm.confirmwidget, message); | ^ when.c:348:27: warning: passing arguments to 'TimeToMilliSeconds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | TimeToMilliSeconds (xalarm.timestr)); | ^ when.c:347:48: warning: passing arguments to 'DateToMilliSeconds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | msecsout = SUMTIMEOUTS (DateToMilliSeconds (xalarm.datestr), | ^ when.c:348:27: warning: passing arguments to 'TimeToMilliSeconds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | TimeToMilliSeconds (xalarm.timestr)); | ^ when.c:347:48: warning: passing arguments to 'DateToMilliSeconds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | msecsout = SUMTIMEOUTS (DateToMilliSeconds (xalarm.datestr), | ^ --- alarm.o --- alarm.c:109:29: warning: passing arguments to 'EnsureNotGrownOffScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- when.o --- when.c:348:27: warning: passing arguments to 'TimeToMilliSeconds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- alarm.o --- 109 | EnsureNotGrownOffScreen (xalarm.alarmwidget); | ^ --- when.o --- 348 | TimeToMilliSeconds (xalarm.timestr)); | ^ when.c:359:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 356 | (void) sprintf (message, CONFIRMFORMAT, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- alarm.o --- alarm.c:120:29: warning: passing arguments to 'EnsureNotGrownOffScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | EnsureNotGrownOffScreen (xalarm.alarmwidget); | ^ --- when.o --- 357 | strings[alarmtime->tm_wday], strings[alarmtime->tm_mon+7], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 358 | alarmtime->tm_mday, alarmtime->tm_hour, alarmtime->tm_min, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 359 | msecsout / MSECSIN1DAY, (msecsout / MSECSIN1HR) % 24, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 360 | (msecsout / MSECSIN1MIN) % 60); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' --- alarm.o --- alarm.c:133:18: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 133 | int mins = (int) clientdata; | ^~~~~~~~~~~~~~~~ --- when.o --- 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ when.c:359:31: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] --- alarm.o --- alarm.c:129:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- when.o --- 356 | (void) sprintf (message, CONFIRMFORMAT, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 357 | strings[alarmtime->tm_wday], strings[alarmtime->tm_mon+7], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 358 | alarmtime->tm_mday, alarmtime->tm_hour, alarmtime->tm_min, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- alarm.o --- 129 | static void SnoozeAmount (widget, clientdata, calldata) | ^ alarm.c:39: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] --- when.o --- 359 | msecsout / MSECSIN1DAY, (msecsout / MSECSIN1HR) % 24, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- alarm.o --- 39 | static void SnoozeAmount(), Snooze(), TimeTracker(); | ^ --- when.o --- 360 | (msecsout / MSECSIN1MIN) % 60); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ when.c:360:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 356 | (void) sprintf (message, CONFIRMFORMAT, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- alarm.o --- alarm.c:150:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- when.o --- 357 | strings[alarmtime->tm_wday], strings[alarmtime->tm_mon+7], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 358 | alarmtime->tm_mday, alarmtime->tm_hour, alarmtime->tm_min, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- alarm.o --- 150 | static void Snooze (widget, clientdata, calldata) | ^ --- when.o --- 359 | msecsout / MSECSIN1DAY, (msecsout / MSECSIN1HR) % 24, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- alarm.o --- alarm.c:39: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] --- when.o --- 360 | (msecsout / MSECSIN1MIN) % 60); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' --- alarm.o --- 39 | static void SnoozeAmount(), Snooze(), TimeTracker(); | ^ --- when.o --- 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ --- alarm.o --- alarm.c:179:34: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 179 | SnoozeAmount ((Widget) NULL, (XtPointer) xalarm.snooze, (XtPointer) NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~ alarm.c:182:14: warning: passing arguments to 'TimeTracker' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | TimeTracker ((XtPointer) xalarm.alarmwidget, (XtIntervalId) NULL); | ^ alarm.c:183:17: warning: passing arguments to 'SetGeometry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | SetGeometry (xalarm.alarmwidget); | ^ alarm.c:186:11: warning: passing arguments to 'Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | Audio (xalarm.alarmaudio); | ^ --- when.o --- when.c:338:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | void MakeConfirmMessage (message) | ^ when.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 | Confirmed(), MakeConfirmMessage(), EditedText(); | ^ --- alarm.o --- alarm.c:196:14: warning: passing arguments to 'QuitWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | QuitWarning ((Widget) NULL, | ^ alarm.c:173:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | void WakeUp (clientdata, id) | ^ alarm.c:37:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | void CreateAlarmWidget(), WakeUp(), ShowClickToZero(), ShowSnoozeValue(); | ^ alarm.c:212:69: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | String user = UserName(), host = MachineName(), name = getenv ("NAME"); | ^ alarm.c:230:15: warning: passing arguments to 'SetWMName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- when.o --- when.c:403:41: warning: passing arguments to 'TimeToMilliSeconds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | xalarm.timeout = TimeToMilliSeconds (xalarm.timestr); | ^ when.c:386:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- alarm.o --- 230 | SetWMName ((Widget) clientdata, wmname); | ^ alarm.c:232:35: warning: passing arguments to 'ResetTracker' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- when.o --- 386 | void Confirmed (widget, clientdata, calldata) | ^ --- alarm.o --- 232 | xalarm.alarmid = ResetTracker (TimeTracker, clientdata, (int) (xalarm.offtime % 60)); | ^ --- when.o --- when.c:51:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- alarm.o --- alarm.c:208:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | static void TimeTracker (clientdata, id) | ^ alarm.c:39:39: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- when.o --- 51 | Confirmed(), MakeConfirmMessage(), EditedText(); | ^ --- alarm.o --- 39 | static void SnoozeAmount(), Snooze(), TimeTracker(); | ^ --- when.o --- when.c:421:11: warning: passing arguments to 'Popup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | Popup (xalarm.gettimewidget, TIMEINSTRUCTIONS); | ^ --- alarm.o --- alarm.c:243:10: warning: declaration of 'struct sigcontext' will not be visible outside of this function [-Wvisibility] --- when.o --- when.c:417:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- alarm.o --- 243 | struct sigcontext *scp; | ^ --- when.o --- 417 | static void Cancel (widget, clientdata, calldata) | ^ when.c:52:62: warning: a function declaration without a prototype is 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 void PopupAndConfirm(), Popup(), PopupNext(), Edit(), Cancel(), TimeTracker(); | ^ when.c:447:29: warning: passing arguments to 'EnsureNotGrownOffScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | EnsureNotGrownOffScreen (XtParent (form)); | ^ when.c:431:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | static void Popup (widget, label) | ^ --- alarm.o --- alarm.c:263:41: warning: passing arguments to 'DateToMilliSeconds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- when.o --- when.c:52:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- alarm.o --- 263 | xalarm.dateout = DateToMilliSeconds (xalarm.datestr); --- when.o --- 52 | static void PopupAndConfirm(), Popup(), PopupNext(), Edit(), Cancel(), TimeTracker(); | ^ --- alarm.o --- | ^ alarm.c:241:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | SIGRET ResetAlarm (sig, code, scp, addr) | ^ alarm.c:38:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | SIGRET ResetAlarm(); | ^ 27 warnings generated. --- warnings.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DUSERENAME -DUSEGETHOSTNAME -DUSEGETPWUID -I/opt/pkg/include -c warnings.c --- when.o --- 54 warnings generated. --- times.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DUSERENAME -DUSEGETHOSTNAME -DUSEGETPWUID -I/opt/pkg/include -c times.c times.c:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern time_t time(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_time.h:121:8: note: conflicting prototype is here 121 | time_t time(time_t *); | ^ times.c:35: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 previous declaration [-Wdeprecated-non-prototype] 35 | extern struct tm *localtime(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_time.h:117:12: note: conflicting prototype is here 117 | struct tm *localtime(const time_t *); | ^ times.c:58:29: warning: passing arguments to 'ParseTimeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | if (not ParseTimeString (timestr, &hours, &minutes, &in24hrformat)) | ^ times.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 | long TimeToMilliSeconds (timestr) | ^ times.c:32: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] 32 | long TimeToMilliSeconds(); | ^ --- warnings.o --- warnings.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 previous declaration [-Wdeprecated-non-prototype] 42 | extern time_t time(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_time.h:121:8: note: conflicting prototype is here 121 | time_t time(time_t *); | ^ warnings.c:43: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 previous declaration [-Wdeprecated-non-prototype] 43 | extern struct tm *localtime(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_time.h:117:12: note: conflicting prototype is here 117 | struct tm *localtime(const time_t *); | ^ --- times.o --- times.c:99:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 99 | if (relative = (*str == '+')) | ~~~~~~~~~^~~~~~~~~~~~~~~ times.c:99:18: note: place parentheses around the assignment to silence this warning 99 | if (relative = (*str == '+')) | ^ | ( ) --- warnings.o --- warnings.c:72:38: warning: passing arguments to 'TimeToMilliSeconds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- times.o --- times.c:99:18: note: use '==' to turn this assignment into an equality comparison 99 | if (relative = (*str == '+')) | ^ | == --- warnings.o --- 72 | (unsigned long) TimeToMilliSeconds (warning)) { | ^ warnings.c:56:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | void SetWarningTimes (warnings) | ^ warnings.c:36: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] 36 | void SetWarningTimes(), Warning(), QuitWarning(); | ^ --- times.o --- times.c:87:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- warnings.o --- warnings.c:128:14: warning: passing arguments to 'TimeTracker' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- times.o --- 87 | Boolean ParseTimeString (str, hrs, mins, in24hrf) | ^ times.c:33:10: warning: a function declaration without a prototype is 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 | Boolean ParseTimeString(); --- warnings.o --- 128 | TimeTracker ((XtPointer) popup, (XtIntervalId) NULL); | ^ --- times.o --- | ^ --- warnings.o --- warnings.c:129:17: warning: passing arguments to 'SetGeometry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | SetGeometry (popup); | ^ warnings.c:130:11: warning: passing arguments to 'Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | Audio (xalarm.warningaudio); | ^ warnings.c:108:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | void Warning (clientdata, id) | ^ warnings.c:36: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] 36 | void SetWarningTimes(), Warning(), QuitWarning(); | ^ warnings.c:160:12: warning: passing arguments to 'SetWMName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | SetWMName ((Widget) clientdata, wmname); | ^ warnings.c:180:34: warning: passing arguments to 'ResetTracker' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | xalarm.warningid = ResetTracker (TimeTracker, clientdata, | ^ warnings.c:143:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | static void TimeTracker (clientdata, id) | ^ warnings.c:37: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] 37 | static void TimeTracker(), Reset(); | ^ warnings.c:195:17: warning: passing arguments to 'QuitWarning' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | QuitWarning (widget, clientdata, calldata); | ^ warnings.c:196:24: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 196 | (void) ResetAlarm ((int) NULL, (int) NULL, (struct sigcontext *) NULL, | ^~~~~~~~~~ warnings.c:196:36: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 196 | (void) ResetAlarm ((int) NULL, (int) NULL, (struct sigcontext *) NULL, | ^~~~~~~~~~ warnings.c:196:23: warning: passing arguments to 'ResetAlarm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | (void) ResetAlarm ((int) NULL, (int) NULL, (struct sigcontext *) NULL, | ^ warnings.c:191:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | static void Reset (widget, clientdata, calldata) | ^ warnings.c:37:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | static void TimeTracker(), Reset(); | ^ warnings.c:206:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | void QuitWarning (widget, clientdata, calldata) | ^ warnings.c:36:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | void SetWarningTimes(), Warning(), QuitWarning(); | ^ --- times.o --- 8 warnings generated. --- dates.o --- --- warnings.o --- 22 warnings generated. --- file.o --- --- dates.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DUSERENAME -DUSEGETHOSTNAME -DUSEGETPWUID -I/opt/pkg/include -c dates.c --- file.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DUSERENAME -DUSEGETHOSTNAME -DUSEGETPWUID -I/opt/pkg/include -c file.c --- dates.o --- dates.c:37: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 previous declaration [-Wdeprecated-non-prototype] 37 | extern time_t time(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_time.h:121:8: note: conflicting prototype is here 121 | time_t time(time_t *); | ^ dates.c:38: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 previous declaration [-Wdeprecated-non-prototype] 38 | extern struct tm *localtime(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_time.h:117:12: note: conflicting prototype is here --- file.o --- file.c:63: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 previous declaration [-Wdeprecated-non-prototype] 63 | extern time_t time(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_time.h:121:8: note: conflicting prototype is here --- dates.o --- 117 | struct tm *localtime(const time_t *); | ^ --- file.o --- 121 | time_t time(time_t *); | ^ file.c:64: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 previous declaration [-Wdeprecated-non-prototype] 64 | extern struct tm *localtime(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_time.h:117:12: note: conflicting prototype is here 117 | struct tm *localtime(const time_t *); | ^ file.c:83:56: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dates.o --- dates.c:68:36: warning: passing arguments to 'NextWord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- file.o --- 83 | String timestr, datestr, alarmfilepath = getenv ("XALARMFILEPATH"), | ^ --- dates.o --- 68 | while (strcmp (word = NextWord (line, chpos), "-")) | ^ dates.c:81:29: warning: passing arguments to 'ParseDateString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- file.o --- file.c:118:25: warning: passing arguments to 'AppointmentWithin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dates.o --- 81 | if (not ParseDateString (*datestr, &days, &dayofweek, &dayofmonth, &month, &year)) { | ^ --- file.o --- 118 | if (AppointmentWithin (days, line, ×tr, &datestr, &endofdate)) { | ^ --- dates.o --- dates.c:93:22: warning: passing arguments to 'NextWord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | *timestr = NextWord (line, chpos); | ^ dates.c:94:26: warning: passing arguments to 'ParseTimeString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | if (not ParseTimeString (*timestr, &hrs, &mins, &dummy)) { | ^ --- file.o --- file.c:136:4: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- dates.o --- dates.c:103:34: warning: passing arguments to 'DateToMilliSeconds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- file.o --- 136 | exit (-1); | ^ file.c:136:4: note: include the header or explicitly provide a declaration for 'exit' file.c:138:12: warning: passing arguments to 'DoAlarm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dates.o --- 103 | dateout = DateToMilliSeconds (*datestr); | ^ --- file.o --- 138 | DoAlarm (argv, newargc); | ^ --- dates.o --- dates.c:104:34: warning: passing arguments to 'TimeToMilliSeconds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | timeout = TimeToMilliSeconds (*timestr); | ^ --- file.o --- file.c:78:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | int ParseAlarmFile (days, argv, argc) | ^ file.c:54:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | int ParseAlarmFile(); | ^ --- dates.o --- dates.c:117:28: warning: passing arguments to 'DateToMilliSeconds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | (void) DateToMilliSeconds (*datestr); | ^ dates.c:50:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | Boolean AppointmentWithin (withindays, line, timestr, datestr, chpos) | ^ dates.c:29:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | Boolean AppointmentWithin(); | ^ --- file.o --- file.c:175:24: warning: passing arguments to 'MakeConfirmMessage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | MakeConfirmMessage (buf); | ^ file.c:177:23: warning: passing arguments to 'SaveAlarm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | if (not SaveAlarm (filename)) | ^ --- dates.o --- dates.c:138:34: warning: passing arguments to 'ParseDateString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | else if (not ParseDateString (datestr, &days, &dayofweek, &dayofmonth, &month, &year)) | ^ dates.c:142:24: warning: passing arguments to 'DaysBeforeDate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- file.o --- file.c:181:13: warning: passing arguments to 'EditedText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dates.o --- 142 | days = DaysBeforeDate (dayofweek, dayofmonth, month, year); | ^ --- file.o --- 181 | EditedText ((Widget) NULL, (XtPointer) NULL, (XtPointer) False); | ^ file.c:185:29: warning: passing arguments to 'EnsureNotGrownOffScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | EnsureNotGrownOffScreen (XtParent (XtParent (xalarm.confirmwidget))); | ^ file.c:162:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | void SaveAlarmSettings (widget, clientdata, calldata) | ^ file.c:53: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] 53 | void SaveAlarmSettings(), AlarmDying(), RestartDiedAlarms(); | ^ --- dates.o --- dates.c:130:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | unsigned long DateToMilliSeconds (datestr) | ^ dates.c:30: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] 30 | unsigned long DateToMilliSeconds(); | ^ --- file.o --- file.c:201:20: warning: passing arguments to 'SaveAlarm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | if (not SaveAlarm (filename)) | ^ file.c:194:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | void AlarmDying (display) | ^ file.c:53:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- dates.o --- dates.c:187:38: warning: passing arguments to 'IsInteger' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- file.o --- 53 | void SaveAlarmSettings(), AlarmDying(), RestartDiedAlarms(); | ^ --- dates.o --- 187 | if ((*str == '+') and (IsInteger (str))) | ^ dates.c:188:10: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- file.o --- file.c:225:12: warning: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 225 | (void) umask (63); | ^ --- dates.o --- 188 | *days = atoi (str); | ^ dates.c:190:33: warning: passing arguments to 'NextWord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- file.o --- file.c:240:30: warning: passing arguments to 'TimeToMilliSeconds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dates.o --- 190 | while (strcmp (word = NextWord (str, &chpos), "")) { | ^ --- file.o --- 240 | now += ((TimeToMilliSeconds (xalarm.timestr) + | ^ file.c:241:23: warning: passing arguments to 'DateToMilliSeconds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | DateToMilliSeconds (xalarm.datestr)) / MSECSIN1SEC); | ^ file.c:255:36: warning: passing arguments to 'ReplaceNewlines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dates.o --- dates.c:224:60: warning: passing arguments to 'IsInteger' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- file.o --- 255 | xalarm.timestr, ReplaceNewlines (xalarm.messagestr)); | ^ --- dates.o --- 224 | else if (((num = atoi (word)) <= 0) or (not IsInteger (word))) { | ^ --- file.o --- file.c:214:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | static Boolean SaveAlarm (filename) | ^ file.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 SaveAlarm(); | ^ file.c:288:59: warning: passing arguments to 'DisplayName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | if (NIL (Display *, (display = XOpenDisplay (DisplayName (argv, argc))))) | ^ --- dates.o --- dates.c:168:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- file.o --- file.c:295:14: warning: passing arguments to 'RenameFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | RenameFile (livefilename, tmp); | ^ file.c:296:17: warning: passing arguments to 'RenameFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dates.o --- 168 | static Boolean ParseDateString (str, days, dayofweek, dayofmonth, month, year) | ^ dates.c:33: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] --- file.o --- 296 | RenameFile (diedfilename, livefilename); | ^ file.c:302:10: warning: call to undeclared function 'wait'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- dates.o --- 33 | static Boolean ParseDateString(); --- file.o --- 302 | (void) wait ((int *) NULL); | ^ --- dates.o --- | ^ --- file.o --- file.c:307:14: warning: passing arguments to 'RenameFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | RenameFile (tmp, livefilename); | ^ --- dates.o --- dates.c:299:22: warning: passing arguments to 'DaysBetween' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- file.o --- file.c:290:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 290 | else { --- dates.o --- 299 | (DaysBetween (&today, date) < 0)) | ^ --- file.o --- | ^ file.c:278:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | void RestartDiedAlarms (argv, argc) | ^ --- dates.o --- dates.c:330:25: warning: passing arguments to 'DaysBetween' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- file.o --- file.c:53:42: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- dates.o --- 330 | return (DaysBetween (&today, date)); | ^ --- file.o --- 53 | void SaveAlarmSettings(), AlarmDying(), RestartDiedAlarms(); | ^ --- dates.o --- dates.c:275:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | static int DaysBeforeDate (dayofweek, dayofmonth, month, year) | ^ dates.c:32:27: warning: a function declaration without a prototype is 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 | static int DaysBetween(), DaysBeforeDate(); | ^ --- file.o --- file.c:318:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dates.o --- dates.c:339:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- file.o --- 318 | static void RenameFile (from, to) | ^ file.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] --- dates.o --- 339 | static int DaysBetween (today, date) | ^ dates.c:32: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] 32 | static int DaysBetween(), DaysBeforeDate(); | ^ --- file.o --- 56 | static void RenameFile(); | ^ --- dates.o --- dates.c:373:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | int DaysTo (datestr, inst) | ^ dates.c:31:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | int DaysTo(); | ^ --- file.o --- 33 warnings generated. --- fns.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DUSERENAME -DUSEGETHOSTNAME -DUSEGETPWUID -I/opt/pkg/include -c fns.c --- dates.o --- 29 warnings generated. --- xalarm.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DUSERENAME -DUSEGETHOSTNAME -DUSEGETPWUID -I/opt/pkg/include -c xalarm.c --- fns.o --- fns.c:68: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 previous declaration [-Wdeprecated-non-prototype] 68 | extern time_t time(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_time.h:121:8: note: conflicting prototype is here 121 | time_t time(time_t *); | ^ fns.c:69: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 previous declaration [-Wdeprecated-non-prototype] 69 | extern struct tm *localtime(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_time.h:117:12: note: conflicting prototype is here 117 | struct tm *localtime(const time_t *); | ^ fns.c:131:6: warning: call to undeclared function 'system'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 131 | if (system (command) != 0) | ^ fns.c:137:16: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | if (kill (atoi (data->reset), SIGUSR1) == -1) | ^ fns.c:142:10: warning: call to undeclared function 'system'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | if (system (command) != 0) | ^ fns.c:139:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 139 | } else { | ^ fns.c:148:16: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 148 | if (kill (atoi (data->kill), SIGUSR2) == -1) | ^ fns.c:153:10: warning: call to undeclared function 'system'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 153 | if (system (command) != 0) | ^ fns.c:150:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 150 | } else { | ^ fns.c:159:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 159 | exit (0); | ^ fns.c:159:2: note: include the header or explicitly provide a declaration for 'exit' fns.c:81:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | void Initialise (proggie, data) | ^ fns.c:59: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] 59 | void Initialise(), AddTimeOuts(), SetWMName(), StartDaemon(), | ^ fns.c:203:43: warning: passing arguments to 'DaysTo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | } else if (ISINVALID (*days = DaysTo (argv[i], instance = File))) { | ^ fns.c:212:43: warning: passing arguments to 'DaysTo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | } else if (ISINVALID (*days = DaysTo (argv[i], instance = Daemon))) { | ^ fns.c:183:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | Instance PreParseArgList (argv, argc, days, args) | ^ fns.c:56:10: warning: a function declaration without a prototype is 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 | Instance PreParseArgList(); | ^ fns.c:245:39: warning: passing arguments to 'DisplayName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | String displayname = DisplayName (argv, argc); | ^ fns.c:282:25: warning: passing arguments to 'ParseAlarmFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | kids = ParseAlarmFile (7 - now->tm_wday, argv, argc); | ^ fns.c:284:25: warning: passing arguments to 'ParseAlarmFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | kids = ParseAlarmFile (days - 1, argv, argc); | ^ fns.c:287:10: warning: call to undeclared function 'wait'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 287 | (void) wait ((int *) NULL); | ^ fns.c:240:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | void StartDaemon (days, argv, argc) | ^ fns.c:59:49: warning: a function declaration without a prototype is 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 | void Initialise(), AddTimeOuts(), SetWMName(), StartDaemon(), | ^ fns.c:312:10: warning: declaration of 'struct sigcontext' will not be visible outside of this function [-Wvisibility] 312 | struct sigcontext *scp; | ^ fns.c:310:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | static SIGRET KillDaemon (sig, code, scp, addr) | ^ fns.c:62: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] 62 | static SIGRET KillDaemon(); | ^ fns.c:327:10: warning: declaration of 'struct sigcontext' will not be visible outside of this function [-Wvisibility] 327 | struct sigcontext *scp; | ^ fns.c:330:10: warning: passing arguments to 'Quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | Quit ((Widget) NULL, (XtPointer) NULL, (XtPointer) NULL); | ^ fns.c:325:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | SIGRET KillAlarm (sig, code, scp, addr) | ^ fns.c:58: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] 58 | SIGRET KillAlarm(); | ^ fns.c:383:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 383 | XtFree (property.value); | ^~~~~~~~~~~~~~ /var/tmp/work/time/xalarm/work/.buildlink/include/X11/Intrinsic.h:1870:1: note: passing argument to parameter here 1870 | ); | ^ fns.c:368:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | void SetWMName (widget, name) | ^ fns.c:59:36: warning: a function declaration without a prototype is 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 | void Initialise(), AddTimeOuts(), SetWMName(), StartDaemon(), | ^ fns.c:393:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | XtIntervalId ResetTracker (tracker, clientdata, triggered) | ^ fns.c:57: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] 57 | XtIntervalId ResetTracker(); | ^ fns.c:429:27: warning: passing arguments to 'CentreWidgetUnderPointer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | CentreWidgetUnderPointer (widget, width, height, borderwidth); | ^ fns.c:431:16: warning: passing arguments to 'ParseGeometry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | ParseGeometry (widget, width, height, borderwidth, xalarm.geometry); | ^ fns.c:417:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | void SetGeometry (widget) | ^ fns.c:60:3: warning: a function declaration without a prototype is 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 | SetGeometry(), EnsureNotGrownOffScreen(), Audio(), Quit(); | ^ fns.c:440:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | static void CentreWidgetUnderPointer (widget, width, height, borderwidth) | ^ fns.c:61: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] 61 | static void CentreWidgetUnderPointer(), ParseGeometry(); | ^ fns.c:467:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | static void ParseGeometry (widget, currentwidth, currentheight, borderwidth, geometry) | ^ fns.c:61:41: warning: a function declaration without a prototype is 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 | static void CentreWidgetUnderPointer(), ParseGeometry(); | ^ fns.c:503:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xalarm.o --- xalarm.c:166:32: warning: passing arguments to 'PreParseArgList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- fns.o --- 503 | void EnsureNotGrownOffScreen (widget) | ^ --- xalarm.o --- 166 | instance = PreParseArgList (argv, &argc, &days, &args); | ^ --- fns.o --- fns.c:60: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] --- xalarm.o --- xalarm.c:168:23: warning: passing arguments to 'RestartDiedAlarms' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | RestartDiedAlarms (args, argc); | ^ --- fns.o --- 60 | SetGeometry(), EnsureNotGrownOffScreen(), Audio(), Quit(); | ^ --- xalarm.o --- xalarm.c:175:10: warning: passing arguments to 'DoAlarm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | DoAlarm (args, argc); | ^ --- fns.o --- fns.c:533:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] --- xalarm.o --- xalarm.c:178:14: warning: passing arguments to 'StartDaemon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | StartDaemon (days, args, argc); | ^ xalarm.c:181:24: warning: passing arguments to 'ParseAlarmFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- fns.o --- 533 | else { | ^ fns.c:522:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xalarm.o --- 181 | (void) ParseAlarmFile (days, args, argc); --- fns.o --- 522 | String DisplayName (argv, argc) | ^ --- xalarm.o --- | ^ --- fns.o --- fns.c:53:50: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- xalarm.o --- xalarm.c:158:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | int main (argc, argv) | ^ --- fns.o --- 53 | String Concat(), ReplaceNewlines(), NextWord(), DisplayName(), --- xalarm.o --- xalarm.c:30:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- fns.o --- | ^ --- xalarm.o --- 30 | int main(); | ^ --- fns.o --- fns.c:552:6: warning: call to undeclared function 'system'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 552 | if (system (sound) != 0) | ^ fns.c:546:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | void Audio (sound) | ^ fns.c:60:45: warning: a function declaration without a prototype is 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 | SetGeometry(), EnsureNotGrownOffScreen(), Audio(), Quit(); | ^ --- xalarm.o --- xalarm.c:214:16: warning: passing arguments to 'Initialise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | Initialise (*argv, &data); | ^ xalarm.c:215:31: warning: passing arguments to 'Concat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | CreateAlarmWidget (Concat (argv, argc)); | ^ xalarm.c:215:23: warning: passing arguments to 'CreateAlarmWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- fns.o --- fns.c:565:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xalarm.o --- 215 | CreateAlarmWidget (Concat (argv, argc)); | ^ --- fns.o --- 565 | String Concat (strings, n) | ^ --- xalarm.o --- xalarm.c:216:14: warning: passing arguments to 'SetAlarm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- fns.o --- fns.c:53: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] --- xalarm.o --- 216 | SetAlarm (&data); --- fns.o --- 53 | String Concat(), ReplaceNewlines(), NextWord(), DisplayName(), | ^ --- xalarm.o --- | ^ xalarm.c:193:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | void DoAlarm (argv, argc) | ^ xalarm.c:31: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] 31 | void DoAlarm(); | ^ --- fns.o --- fns.c:596:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | String ReplaceNewlines (str) | ^ fns.c:53: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] 53 | String Concat(), ReplaceNewlines(), NextWord(), DisplayName(), | ^ --- xalarm.o --- xalarm.c:234:47: warning: passing arguments to 'TimeToMilliSeconds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | xalarm.pester = (int) (TimeToMilliSeconds (time) / MSECSIN1MIN); | ^ xalarm.c:236:47: warning: passing arguments to 'TimeToMilliSeconds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- fns.o --- fns.c:617:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | String NextWord (str, chpos) | ^ fns.c:53:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- xalarm.o --- 236 | xalarm.snooze = (int) (TimeToMilliSeconds (time) / MSECSIN1MIN); | ^ --- fns.o --- 53 | String Concat(), ReplaceNewlines(), NextWord(), DisplayName(), | ^ --- xalarm.o --- xalarm.c:257:41: warning: passing arguments to 'DateToMilliSeconds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | xalarm.dateout = DateToMilliSeconds (xalarm.datestr = data->date); | ^ --- fns.o --- fns.c:649:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xalarm.o --- xalarm.c:258:41: warning: passing arguments to 'TimeToMilliSeconds' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- fns.o --- 649 | Boolean IsInteger (str) | ^ fns.c:55:10: warning: a function declaration without a prototype is 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 | Boolean IsInteger(); | ^ --- xalarm.o --- 258 | xalarm.timeout = TimeToMilliSeconds (xalarm.timestr = data->time); | ^ xalarm.c:259:21: warning: passing arguments to 'SetWarningTimes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | SetWarningTimes (xalarm.warningsstr = data->warnings); | ^ xalarm.c:228:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | static void SetAlarm (data) | ^ xalarm.c:32: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] 32 | static void SetAlarm(); | ^ --- fns.o --- fns.c:725:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | void Quit (widget, clientdata, calldata) | ^ fns.c:60:54: warning: a function declaration without a prototype is 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 | SetGeometry(), EnsureNotGrownOffScreen(), Audio(), Quit(); | ^ --- xalarm.o --- 20 warnings generated. --- xalarm._man --- rm -f xalarm._man if test -z "" ; then cd `dirname xalarm` && ln -s `basename xalarm.man` `basename xalarm._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'` X.Org" < xalarm.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\/' >xalarm._man; fi --- fns.o --- 60 warnings generated. --- xalarm --- rm -f xalarm clang -o xalarm -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib alarm.o when.o warnings.o times.o dates.o file.o fns.o xalarm.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11