diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-06-17 11:12:10 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-06-17 11:12:10 -0700 |
commit | f465230263c4d1827feafedfce1b648cc035e49a (patch) | |
tree | 246e08c2f3cb0cf5e264c1788ff50005f6a80970 /device.c | |
parent | 6fd1e32452a9d3d1fb7116764442bbd26d36673e (diff) | |
parent | 7681895fe09aa81c83143c6a58459e354a4234b1 (diff) | |
download | subsurface-f465230263c4d1827feafedfce1b648cc035e49a.tar.gz |
Merge branch '119_divecomputerManagement' of github.com:tcanabrava/subsurface
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'device.c')
-rw-r--r-- | device.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -9,6 +9,11 @@ struct device_info *head_of_device_info_list(void) return device_info_list; } +void remove_dive_computer(const char *model, uint32_t deviceid) +{ + free(remove_device_info(model, deviceid)); +} + static int match_device_info(struct device_info *entry, const char *model, uint32_t deviceid) { return !strcmp(entry->model, model) && entry->deviceid == deviceid; |