]> git.ipfire.org Git - thirdparty/lxc.git/commit
Cleanup bdev.c after splitting into modules 742/head
authorChristian Brauner <christian.brauner@mailbox.org>
Wed, 30 Dec 2015 16:34:08 +0000 (17:34 +0100)
committerChristian Brauner <christian.brauner@mailbox.org>
Tue, 12 Jan 2016 07:50:45 +0000 (08:50 +0100)
commitcdb4e53a7df61f5f3c4a4b03ae5990cb4c86263e
treefa8c7dd645381b8da4d203c3eb9b4bf435dc97ae
parentbf76c012b3f0e49930d207fe77ba6cc3919728ac
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 <christian.brauner@mailbox.org>
src/lxc/bdev/bdev.c