summaryrefslogtreecommitdiff
path: root/pceplib/pcep_timers.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2021-08-31 23:14:10 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2021-09-02 13:00:35 +0200
commit14040553bc8db794de5f44b622c20ff8437479ff (patch)
tree09977be1706d94ce39264f306cbbe65f7a6d3cdb /pceplib/pcep_timers.c
parentf94825578a05eb769f40b5990ba9d77d92064dca (diff)
lib: fix hook defs for -Wstrict-prototypes
Without this, the hook code creates functions with empty parameter lists like "void hook_something()", which is not a proper C prototype. It needs to be "void hook_something(void)". Add some macro shenanigans to handle that. ... and make the plumbing functions "inline" too. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pceplib/pcep_timers.c')
0 files changed, 0 insertions, 0 deletions