[MERGED] libosmocore[master]: Mark inline header function as static

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Sep 30 12:31:51 UTC 2016


Harald Welte has submitted this change and it was merged.

Change subject: Mark inline header function as static
......................................................................


Mark inline header function as static

Change-Id: Ib751f7467d54cbcae76f72448a38e30f2ecc63d4
---
M include/osmocom/codec/codec.h
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/include/osmocom/codec/codec.h b/include/osmocom/codec/codec.h
index 74eca46..fb127b5 100644
--- a/include/osmocom/codec/codec.h
+++ b/include/osmocom/codec/codec.h
@@ -46,7 +46,7 @@
  *  \param[in] ft AMR Frame Type
  *  \returns true if AMR with given Frame Type contains voice, false otherwise
  */
-inline bool osmo_amr_is_speech(enum osmo_amr_type ft)
+static inline bool osmo_amr_is_speech(enum osmo_amr_type ft)
 {
 	switch (ft) {
 	case AMR_4_75:

-- 
To view, visit https://gerrit.osmocom.org/966
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib751f7467d54cbcae76f72448a38e30f2ecc63d4
Gerrit-PatchSet: 2
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list