在这个函数中
char *function(buf,salt)
char *buf;
char *salt;
{
function_body
}
我收到这个错误
error: argument "buf" doesn't match prototype
error: prototype declaration
argument "salt" doesn't match prototype
error: prototype declaration
这是实际的代码:
char * function(const char *, const char *);
char *buffer = NULL;
buffer = function(arg1, arg2);