fix: function prototype typo