modules: ln_core: make c definitions private to prevent collision