]> git.ipfire.org Git - thirdparty/bird.git/commit
Birdtest: Purge 'int main()' from lib/birdlib.a #2
authorPavel Tvrdík <pawel.tvrdik@gmail.cz>
Wed, 5 Aug 2015 09:42:40 +0000 (11:42 +0200)
committerPavel Tvrdík <pawel.tvrdik@gmail.cz>
Wed, 5 Aug 2015 10:36:40 +0000 (12:36 +0200)
commit856250c27f43522a82ce305c4a6dc7e8d35059eb
tree35936f7af546729213717a16349cb67a4041506f
parentce8d15a02d2a06e67d6818b81b5e84a875010512
Birdtest: Purge 'int main()' from lib/birdlib.a #2

All origin static functions from sysdep/unix/main.c were rewrited to
non-static.

All origin static global variables from sysdep/unix/main.c was rewrited
to extern.

It is possible create executables bird, birdc and birdcl as well as run
unit tests without mockuping

After remake new BIRD's build system will be this commit reverting...
sysdep/linux/syspriv.h
sysdep/unix/Modules
sysdep/unix/main.c
sysdep/unix/main_helper.c
sysdep/unix/main_helper.h [new file with mode: 0644]