K 10 svn:author V 3 dim K 8 svn:date V 27 2022-07-29T18:50:01.696441Z K 7 svn:log V 903 Adjust ng_{name,ID}_rehash() definitions to avoid clang 15 warnings With clang 15, the following -Werror warnings are produced: sys/netgraph/ng_base.c:981:15: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] ng_name_rehash() ^ void sys/netgraph/ng_base.c:1012:13: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] ng_ID_rehash() ^ void This is because ng_name_rehash() and ng_ID_rehash() are declared with (void) argument lists, but defined with empty argument lists. Make the definitions match the declarations. MFC after: 3 days (cherry picked from commit dba7f4aa0909d8c31a0ca0ad0d1208fabfaa9352) Git Hash: 9424c32010c919f720cdd7ed27e42a49a16f1a2e Git Author: dim@FreeBSD.org END