diff options
| author | Russ White <russ@riw.us> | 2021-02-02 07:44:21 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-02 07:44:21 -0500 |
| commit | 8f57f7413cae483fdae4c89842ddd6b0860d1b2b (patch) | |
| tree | e55d40823268ab19e83ce7e1ea4fefaa3484edad /lib/module.h | |
| parent | b449f7dc10beb872f146c52ca6545afc4e582400 (diff) | |
| parent | acbf5146a98990850679903119d42c5dfb7cdf26 (diff) | |
Merge pull request #6766 from opensourcerouting/xref
lib: xrefs - general cross-references & unique IDs
Diffstat (limited to 'lib/module.h')
| -rw-r--r-- | lib/module.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/module.h b/lib/module.h index 79cf52d75a..5d8d9cfbcc 100644 --- a/lib/module.h +++ b/lib/module.h @@ -20,6 +20,9 @@ #include <stdint.h> #include <stdbool.h> +#include "compiler.h" +#include "xref.h" + #ifdef __cplusplus extern "C" { #endif @@ -75,7 +78,10 @@ extern union _frrmod_runtime_u _frrmod_this_module; DSO_LOCAL union _frrmod_runtime_u _frrmod_this_module = {{ \ NULL, \ &_frrmod_info, \ - }}; + }}; \ + XREF_SETUP() \ + /* end */ + #define FRR_MODULE_SETUP(...) \ FRR_COREMOD_SETUP(__VA_ARGS__) \ DSO_SELF struct frrmod_runtime *frr_module = &_frrmod_this_module.r; |
