sdt: move defines into .c from header