mgmt/imgmgr; clean up unused function prototypes.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/fa6cc192 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/fa6cc192 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/fa6cc192 Branch: refs/heads/sensors_branch Commit: fa6cc192e2af81a6b968292089da42accfb6a06b Parents: d232170 Author: Marko Kiiskila <ma...@runtime.io> Authored: Tue Feb 21 15:21:33 2017 -0800 Committer: Marko Kiiskila <ma...@runtime.io> Committed: Tue Feb 21 15:21:33 2017 -0800 ---------------------------------------------------------------------- mgmt/imgmgr/src/imgmgr_priv.h | 7 ------- 1 file changed, 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/fa6cc192/mgmt/imgmgr/src/imgmgr_priv.h ---------------------------------------------------------------------- diff --git a/mgmt/imgmgr/src/imgmgr_priv.h b/mgmt/imgmgr/src/imgmgr_priv.h index dbedd53..11b73e2 100644 --- a/mgmt/imgmgr/src/imgmgr_priv.h +++ b/mgmt/imgmgr/src/imgmgr_priv.h @@ -93,9 +93,6 @@ struct imgr_state { uint32_t off; uint32_t size; const struct flash_area *fa; -#if MYNEWT_VAL(IMGMGR_FS) - struct fs_file *file; -#endif } upload; }; @@ -103,13 +100,9 @@ extern struct imgr_state imgr_state; struct nmgr_jbuf; -int imgr_boot2_read(struct mgmt_cbuf *); -int imgr_boot2_write(struct mgmt_cbuf *); int imgr_core_list(struct mgmt_cbuf *); int imgr_core_load(struct mgmt_cbuf *); int imgr_core_erase(struct mgmt_cbuf *); -int imgr_splitapp_read(struct mgmt_cbuf *); -int imgr_splitapp_write(struct mgmt_cbuf *); int imgmgr_state_read(struct mgmt_cbuf *cb); int imgmgr_state_write(struct mgmt_cbuf *njb); int imgr_find_by_ver(struct image_version *find, uint8_t *hash);