FRRouting / frr

The FRRouting Protocol Suite
https://frrouting.org/
Other
3.27k stars 1.24k forks source link

Warning: implicit declaration of function "access_list_init" #1148

Closed subsecond closed 7 years ago

subsecond commented 7 years ago

When building from branch stable/3.0 on Ubuntu 16.04 as per setup instructions and running make one will get the following warning:

nhrp_vty.c: In function ‘nhrp_config_init’:
nhrp_vty.c:941:2: warning: implicit declaration of function ‘access_list_init’ [-Wimplicit-function-declaration]
  access_list_init ();
  ^

The same warning will potentially lead to a build failure when running debuild -us -uc for example.

qlyoung commented 7 years ago

626, now cherry-picked to stable/3.0. Please verify fix.

subsecond commented 7 years ago

Tested using latest stable/3.0 (commit 53227da0beb10a3d964694c6d6b68f98d066caa3): No more warnings. Setup instructions as well as debuild -us -uc now work as expected.