diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2021-04-16 17:18:02 +0200 | 
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2021-04-30 10:33:18 +0200 | 
| commit | dee1c6c3384ca9f22f2920263640f4c4dc9eb67c (patch) | |
| tree | d4e47fe0d08565c5e3e4c81c45370273d179c737 /nhrpd/nhrp_interface.c | |
| parent | e3d3fa06f735dc00d406dc03d7fb84eabaf07b87 (diff) | |
nhrpd: move prototype to top of file
nhrp prototype function was not declared at top of the file.
fixing it.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'nhrpd/nhrp_interface.c')
| -rw-r--r-- | nhrpd/nhrp_interface.c | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/nhrpd/nhrp_interface.c b/nhrpd/nhrp_interface.c index 541e5a992a..2db8997bad 100644 --- a/nhrpd/nhrp_interface.c +++ b/nhrpd/nhrp_interface.c @@ -26,6 +26,10 @@ DEFINE_MTYPE_STATIC(NHRPD, NHRP_IF_GRE, "NHRP GRE interface");  struct hash *nhrp_gre_list; +static void nhrp_interface_update_cache_config(struct interface *ifp, +					       bool available, +					       uint8_t family); +  static unsigned int nhrp_gre_info_key(const void *data)  {  	const struct nhrp_gre_info *r = data; @@ -61,10 +65,6 @@ struct nhrp_gre_info *nhrp_gre_info_alloc(struct nhrp_gre_info *p)  	return a;  } -static void nhrp_interface_update_cache_config(struct interface *ifp, -					       bool available, -					       uint8_t family); -  static int nhrp_if_new_hook(struct interface *ifp)  {  	struct nhrp_interface *nifp;  | 
