]> git.ipfire.org Git - thirdparty/openwrt.git/commit
ead: replace legacy RETSIGTYPE with void in signal handler 19681/head
authorNick Hainke <vincent@systemli.org>
Tue, 5 Aug 2025 16:21:55 +0000 (18:21 +0200)
committerNick Hainke <vincent@systemli.org>
Wed, 6 Aug 2025 04:39:47 +0000 (06:39 +0200)
commit6719bf56727f873dbd62d63fe023b4cca64fb786
treecc3e112f2a4d8a600aef7ba5635436fd3060c250
parent9d10907718c769f4e6456cfe78b18b1b997bf10e
ead: replace legacy RETSIGTYPE with void in signal handler

The RETSIGTYPE macro was historically used for signal handler return types,
defaulting to int on some legacy systems. This is no longer needed,
so we now use void as the return type.

Fixes a compiler error:
  error: assignment to 'void (*)(int)' from incompatible pointer type 'int (*)()' [-Wincompatible-pointer-types]

Link: https://github.com/openwrt/openwrt/pull/19681
Signed-off-by: Nick Hainke <vincent@systemli.org>
package/network/services/ead/src/tinysrp/t_getpass.c