diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-10-18 10:50:59 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-10-18 13:43:42 +0200 |
commit | 416024c9aefb9c484033433d9b051d422f34ce64 (patch) | |
tree | 3bec1aca91c3d5a5c123696ccd0291c1e9aef856 /include/complete.h | |
parent | 8a3967479630f62036288f84391d73996f1639ce (diff) | |
download | barebox-416024c9aefb9c484033433d9b051d422f34ce64.tar.gz barebox-416024c9aefb9c484033433d9b051d422f34ce64.tar.xz |
bootchooser: Add reference counting
This adds reference counting to the bootchooser. Instead of creating a
new bootchooser instance with each bootchooser_get() we return a
reference to the existing bootchooser.
This makes the behaviour consistent when bootchooser_get() is called
multiple times.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/complete.h')
0 files changed, 0 insertions, 0 deletions