HomeFreeBSD

smartpqi: Fix build issues highlighted by gcc12

Description

smartpqi: Fix build issues highlighted by gcc12

Make inline functions defined in a header file as static inline.
Mark inline functions used only in the compilation unit they are
defined in as merely static (the compiler can figure out it these
days).

Sponsored by: Netflix

(cherry picked from commit 2f06449d64298fe508e3c585b45effd69a72d696)

Approved by: re (cperciva@)

Details

Provenance
impAuthored on Aug 25 2023, 3:45 PM
Parents
rGfc0c24482f11: timerfd: compute fflags before calling falloc
Branches
Unknown
Tags
Unknown