HomeFreeBSD

Adjust vt_mouse_paste() definition to avoid clang 15 warning

Description

Adjust vt_mouse_paste() definition to avoid clang 15 warning

With clang 15, the following -Werror warning is produced:

sys/dev/vt/vt_core.c:2129:15: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
vt_mouse_paste()
              ^
               void

This is because vt_mouse_paste() is declared with a (void) argument
list, but defined with an empty argument list. Make the definition match
the declaration.

MFC after: 3 days

(cherry picked from commit b77a5e5f5835620ce27114fad9a211d960ed60aa)

Details

Provenance
dimAuthored on Jul 21 2022, 8:10 PM
Parents
rG0f55ecc86ee5: Fix unused variable warning in ipsec_mbuf.c
Branches
Unknown
Tags
Unknown