*how* are you calling the function? It should be something like:

Code:
void foo(char m[][10]){}

int main()
{
 char x[10][10];
 foo(x);
}