Chase compiler warnings, warning: static variable 'next' is used in an inline
function with external linkage [-Wstatic-in-inline]