pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/libosmo-sccp/+/34055 )
Change subject: cosmetic: Fix pointer location format
......................................................................
cosmetic: Fix pointer location format
Caught by linter:
ERROR:POINTER_LOCATION: "foo* const* bar" should be "foo * const*bar"
Change-Id: Icb3adff115e77fca273fdbfda6c7de1ddf1b61cd
---
M include/osmocom/sigtran/osmo_ss7.h
M src/osmo_ss7.c
2 files changed, 14 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/55/34055/1
diff --git a/include/osmocom/sigtran/osmo_ss7.h b/include/osmocom/sigtran/osmo_ss7.h
index ba1e214..1197ddf 100644
--- a/include/osmocom/sigtran/osmo_ss7.h
+++ b/include/osmocom/sigtran/osmo_ss7.h
@@ -452,7 +452,7 @@
int osmo_ss7_asp_peer_snprintf(char* buf, size_t buf_len, struct osmo_ss7_asp_peer
*peer);
int osmo_ss7_asp_peer_set_hosts(struct osmo_ss7_asp_peer *peer, void *talloc_ctx,
- const char* const* hosts, size_t host_cnt);
+ const char *const*hosts, size_t host_cnt);
int osmo_ss7_asp_peer_add_host(struct osmo_ss7_asp_peer *peer, void *talloc_ctx, const
char *host);
struct osmo_ss7_asp *
diff --git a/src/osmo_ss7.c b/src/osmo_ss7.c
index e24b853..bc483a6 100644
--- a/src/osmo_ss7.c
+++ b/src/osmo_ss7.c
@@ -1216,7 +1216,7 @@
* \param[in] hosts Array of strings containing IP addresses.
* \param[in] host_cnt Number of strings in hosts
* \returns 0 on success; negative otherwise */
-int osmo_ss7_asp_peer_set_hosts(struct osmo_ss7_asp_peer *peer, void *talloc_ctx, const
char* const* hosts, size_t host_cnt)
+int osmo_ss7_asp_peer_set_hosts(struct osmo_ss7_asp_peer *peer, void *talloc_ctx, const
char *const*hosts, size_t host_cnt)
{
int i = 0;
--
To view, visit
https://gerrit.osmocom.org/c/libosmo-sccp/+/34055
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: Icb3adff115e77fca273fdbfda6c7de1ddf1b61cd
Gerrit-Change-Number: 34055
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange