You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/11/10 22:39:14 UTC
[07/50] [abbrv] incubator-mynewt-core git commit: newtmgr/mgmt;
rename nmgr_evq_set() -> mgmt_evq_set()
newtmgr/mgmt; rename nmgr_evq_set() -> mgmt_evq_set()
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/da398bd2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/da398bd2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/da398bd2
Branch: refs/heads/master
Commit: da398bd2246bcae923817857f430b39c31f5fe53
Parents: c55ab97
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Mon Nov 7 14:21:06 2016 -0800
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Mon Nov 7 14:21:06 2016 -0800
----------------------------------------------------------------------
mgmt/mgmt/include/mgmt/mgmt.h | 1 +
mgmt/newtmgr/include/newtmgr/newtmgr.h | 1 -
mgmt/newtmgr/src/newtmgr.c | 2 +-
3 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/da398bd2/mgmt/mgmt/include/mgmt/mgmt.h
----------------------------------------------------------------------
diff --git a/mgmt/mgmt/include/mgmt/mgmt.h b/mgmt/mgmt/include/mgmt/mgmt.h
index bd3354b..9856405 100644
--- a/mgmt/mgmt/include/mgmt/mgmt.h
+++ b/mgmt/mgmt/include/mgmt/mgmt.h
@@ -89,6 +89,7 @@ const struct mgmt_handler *mgmt_find_handler(uint16_t group_id,
uint16_t handler_id);
struct os_eventq *mgmt_evq_get(void);
+void mgmt_evq_set(struct os_eventq *evq);
#ifdef __cplusplus
}
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/da398bd2/mgmt/newtmgr/include/newtmgr/newtmgr.h
----------------------------------------------------------------------
diff --git a/mgmt/newtmgr/include/newtmgr/newtmgr.h b/mgmt/newtmgr/include/newtmgr/newtmgr.h
index 9f87655..2349578 100644
--- a/mgmt/newtmgr/include/newtmgr/newtmgr.h
+++ b/mgmt/newtmgr/include/newtmgr/newtmgr.h
@@ -68,7 +68,6 @@ struct nmgr_transport {
nmgr_transport_get_mtu_func_t nt_get_mtu;
};
-void nmgr_evq_set(struct os_eventq *evq);
void nmgr_event_put(struct os_event *ev);
int nmgr_task_init(void);
int nmgr_transport_init(struct nmgr_transport *nt,
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/da398bd2/mgmt/newtmgr/src/newtmgr.c
----------------------------------------------------------------------
diff --git a/mgmt/newtmgr/src/newtmgr.c b/mgmt/newtmgr/src/newtmgr.c
index bd7474d..242b188 100644
--- a/mgmt/newtmgr/src/newtmgr.c
+++ b/mgmt/newtmgr/src/newtmgr.c
@@ -55,7 +55,7 @@ mgmt_evq_get(void)
}
void
-nmgr_evq_set(struct os_eventq *evq)
+mgmt_evq_set(struct os_eventq *evq)
{
os_eventq_designate(&nmgr_evq, evq, NULL);
}