fix warning: function is not a prototype

Change-Id: I1d9d42cc0754efc3d565e5cd0d86f7eb960ecfe0