Mark inline functions static.

This commit is contained in:
Alexander Motin 2020-11-29 00:35:13 +00:00
parent ac90f70d1e
commit a93d2db0e7

View File

@ -53,7 +53,7 @@ void isp_destroy_handle(ispsoftc_t *, uint32_t);
/*
* Request Queue allocation
*/
inline int
static inline int
isp_rqentry_avail(ispsoftc_t *isp, uint32_t num)
{
if (ISP_QAVAIL(isp) >= num)
@ -63,7 +63,7 @@ isp_rqentry_avail(ispsoftc_t *isp, uint32_t num)
return (ISP_QAVAIL(isp) >= num);
}
inline void *
static inline void *
isp_getrqentry(ispsoftc_t *isp)
{
if (!isp_rqentry_avail(isp, 1))