| commit | 1303fca2b7ca3bd5eb14a31a3d876438d75de008 | [log] [tgz] |
|---|---|---|
| author | David Howells <dhowells@redhat.com> | Wed Apr 29 16:48:54 2015 +0100 |
| committer | David Howells <dhowells@redhat.com> | Wed Apr 29 19:58:07 2015 +0100 |
| tree | 17413642d15582bba4b342cd46fa2ab2e650c67c | |
| parent | 79bfe231ebb1c74ea5559f9ff318ff21d326f594 [diff] |
netlink: Use bool when returning boolean values Return bool from netlink functions that return boolean values. This allows gcc to make better choices. Note that !! on a bool value is not required and that when adding/subtracting a bool, it is converted to 0 or 1 as appropriate. Signed-off-by: David Howells <dhowells@redhat.com>