]> git.ipfire.org Git - thirdparty/mtr.git/commit
Annotate `set_privileged_socket_opt` with UNUSED
authorflu0r1ne <flu0r1ne@flu0r1ne.net>
Mon, 2 Oct 2023 23:10:43 +0000 (18:10 -0500)
committerflu0r1ne <flu0r1ne@flu0r1ne.net>
Mon, 2 Oct 2023 23:10:43 +0000 (18:10 -0500)
commit74645e05ecb66d876dc7669df6e8f17c95679845
treeeaf5dc3193dc3b7a3ab1201bc2d30186c8d4d425
parent04d5abe3b5d9975a4e74f15ef86eae3b355ae729
Annotate `set_privileged_socket_opt` with UNUSED

The `set_privileged_socket_opt` function is currently called only when
`SO_MARK` or `SO_BINDTODEVICE` are defined. On systems that do not support
either feature, `set_privileged_socket_opt` is expected to be unused. Adding
an annotation suppresses compiler warnings.
packet/construct_unix.c