Compared with that how the pointer was created your function declaration is invalid (more precisely its declaration is surplus). It should be declared either as
void dosomething(character* x);
or as
void dosomething(character x[]);
or even as
void dosomething(character x[10]);
All three declarations declare the same function. So you even can place all these three declaraions in your code provided that there will be only one its definition.:)
As for your function declaration then you have to write in the function body
demonstrate how you could call the function if it is declared as you showed in the first your post. There is no need to use these statements if you will declare the function as I pointed out.