summaryrefslogtreecommitdiffstats
path: root/src/afb-stub-ws.c
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2018-08-20 15:15:39 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2018-08-22 14:03:52 +0200
commit58a21f8f9465a20cba3fdfc3abaee866dafc245f (patch)
tree9923c7372584710bae4584f17980679612ce04c0 /src/afb-stub-ws.c
parent9893640014f28ef9ad844939405f84b75a7fb57e (diff)
afb-stub-ws: Improve naming
The function afb_stub_ws_on_hangup is now named afb_stub_ws_set_on_hangup. Bug-AGL: SPEC-1668 Change-Id: Ie96c77d4af10ee6b42aea6f57d7c3aadb95e6467 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-stub-ws.c')
-rw-r--r--src/afb-stub-ws.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-stub-ws.c b/src/afb-stub-ws.c
index 0a58b836..8475ae61 100644
--- a/src/afb-stub-ws.c
+++ b/src/afb-stub-ws.c
@@ -670,7 +670,7 @@ void afb_stub_ws_addref(struct afb_stub_ws *stubws)
__atomic_add_fetch(&stubws->refcount, 1, __ATOMIC_RELAXED);
}
-void afb_stub_ws_on_hangup(struct afb_stub_ws *stubws, void (*on_hangup)(struct afb_stub_ws*))
+void afb_stub_ws_set_on_hangup(struct afb_stub_ws *stubws, void (*on_hangup)(struct afb_stub_ws*))
{
stubws->on_hangup = on_hangup;
}