I think maybe you want
extern void set_t_pointer_to_null(my_T *pp);
and call
set_t_pointer_to_null(&p_my_t);
where
void set_t_pointer_to_null(my_T *pp) { *pp = NULL; }
I'm not sure it's worth defining a function to do this, but I think this answers the question you're trying to ask.