Cleanup bdev.c after splitting into modules
Cleanup bdev.c after splitting into modules

The function

	- bdev_get();

becomes static. It is called from nowhere else so far and never appeared in any
header.

Minor changes

	- Avoid comparisons between int and size_t types. Use size_t where
	  possible else cast to size_t when it makes sense.
	- insert missing spaces between operators
	- put declarations for all static functions at the top

Signed-off-by: Christian Brauner <48455ab3070520a2d174545c7239d6d0fabd9a83@mailbox.org>

terceiro/lxc,federicobriata/lxc,hfuCN/lxc,caglar10ur/lxc,bostjan/lxc,ss1h2a3tw/lxc,aeris/lxc,ysbnim/lxc,caglar10ur/lxc,QingweiPeterLan/cs188-lxc,akshaykarle/lxc,cjwatson/lxc,akshaykarle/lxc,QingweiPeterLan/cs188-lxc,QingweiPeterLan/cs188-lxc,bostjan/lxc,bostjan/lxc,terceiro/lxc,hfuCN/lxc,LynxChaus/lxc,tych0/lxc,GreatFruitOmsk/lxc,thmo/lxc,ss1h2a3tw/lxc,GreatFruitOmsk/lxc,hallyn/lxc,caglar10ur/lxc,ysbnim/lxc,ss1h2a3tw/lxc,LynxChaus/lxc,thmo/lxc,federicobriata/lxc,thmo/lxc,tych0/lxc,cjwatson/lxc,tych0/lxc,hfuCN/lxc,federicobriata/lxc,GreatFruitOmsk/lxc,cjwatson/lxc,terceiro/lxc,LynxChaus/lxc,aeris/lxc,ysbnim/lxc,hallyn/lxc,hallyn/lxc,akshaykarle/lxc,aeris/lxc