summaryrefslogtreecommitdiffstats
path: root/ospfd
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2018-10-01 19:29:18 +0200
committerGitHub <noreply@github.com>2018-10-01 19:29:18 +0200
commit024233b6a18767773e1ff11f6a5ec4f84ab90774 (patch)
tree04f7543d6d14c745e5481a9171415bc662384acc /ospfd
parentMerge pull request #3105 from opensourcerouting/fix/sphinx-stamp (diff)
parentospfd: fix symbol collision (diff)
downloadfrr-024233b6a18767773e1ff11f6a5ec4f84ab90774.tar.xz
frr-024233b6a18767773e1ff11f6a5ec4f84ab90774.zip
Merge pull request #3097 from opensourcerouting/static-linking
build: add --enable-static-bin option
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_dump.c2
-rw-r--r--ospfd/ospf_dump.h2
-rw-r--r--ospfd/ospf_main.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/ospfd/ospf_dump.c b/ospfd/ospf_dump.c
index d8742943c..48d210d27 100644
--- a/ospfd/ospf_dump.c
+++ b/ospfd/ospf_dump.c
@@ -1799,7 +1799,7 @@ static int config_write_debug(struct vty *vty)
}
/* Initialize debug commands. */
-void debug_init()
+void ospf_debug_init(void)
{
install_node(&debug_node, config_write_debug);
diff --git a/ospfd/ospf_dump.h b/ospfd/ospf_dump.h
index 99d7512f1..397f666f6 100644
--- a/ospfd/ospf_dump.h
+++ b/ospfd/ospf_dump.h
@@ -140,7 +140,7 @@ extern const char *ospf_timer_dump(struct thread *, char *, size_t);
extern const char *ospf_timeval_dump(struct timeval *, char *, size_t);
extern void ospf_ip_header_dump(struct ip *);
extern void ospf_packet_dump(struct stream *);
-extern void debug_init(void);
+extern void ospf_debug_init(void);
/* Appropriate buffer size to use with ospf_timer_dump and ospf_timeval_dump: */
#define OSPF_TIME_DUMP_SIZE 16
diff --git a/ospfd/ospf_main.c b/ospfd/ospf_main.c
index 9fb0e0ad1..20632f284 100644
--- a/ospfd/ospf_main.c
+++ b/ospfd/ospf_main.c
@@ -187,7 +187,7 @@ int main(int argc, char **argv)
master = om->master;
/* Library inits. */
- debug_init();
+ ospf_debug_init();
ospf_vrf_init();
access_list_init();