в первой строке функции сделать так:
static struct pt* const pt = &static_pt_for_this_module;
не благодарите