aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-08-03 17:12:20 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2023-08-03 17:14:08 +0200
commita18f907aaf1e972dcc35349741eff4e66611287c (patch)
treea8845dd691cb008a893251a6adb934a2d3ba6319
parent4ddaee93624d1677ff96c35a2f9a91bd57d6b882 (diff)
cosmetic: Fix pointer location format
Caught by linter: ERROR:POINTER_LOCATION: "foo* const* bar" should be "foo * const*bar" Change-Id: Icb3adff115e77fca273fdbfda6c7de1ddf1b61cd
-rw-r--r--include/osmocom/sigtran/osmo_ss7.h2
-rw-r--r--src/osmo_ss7.c2
2 files changed, 2 insertions, 2 deletions
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 @@ struct osmo_ss7_asp {
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 @@ int osmo_ss7_asp_peer_snprintf(char* buf, size_t buf_len, struct osmo_ss7_asp_pe
* \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;