remove const warning in SMF C code by changing function parameter argument qualifier