[Midnightbsd-cvs] [MidnightBSD/src] c8bf9f: prowld: move TIMER_* defines and timer_ident befor...

Lucas Holt noreply at github.com
Sat Apr 18 17:27:13 EDT 2026


  Branch: refs/heads/feature/prowl
  Home:   https://github.com/MidnightBSD/src
  Commit: c8bf9f1ca3441c7e91f3d7d92a8a657573966da0
      https://github.com/MidnightBSD/src/commit/c8bf9f1ca3441c7e91f3d7d92a8a657573966da0
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-04-18 (Sat, 18 Apr 2026)

  Changed paths:
    M sbin/prowld/supervisor.c

  Log Message:
  -----------
  prowld: move TIMER_* defines and timer_ident before first use

arm_throttle_timer and arm_stop_timer called timer_ident() and
referenced TIMER_THROTTLE/TIMER_STOP before their definitions,
causing implicit-function-declaration errors under -Werror.
Move the macro block and the two static helpers above the first caller.

AI-Assisted-by: Claude Sonnet 4.6
Signed-off-by: Lucas Holt <luke at foolishgames.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications


More information about the Midnightbsd-cvs mailing list