pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-pcu/+/31086 )
Change subject: llc: Mark llc_is_user_data_frame() as static
......................................................................
llc: Mark llc_is_user_data_frame() as static
It's only used once in the same file.
Change-Id: I8e38a946c87142a09e0b49ea3160df1d5772b587
---
M src/llc.c
M src/llc.h
2 files changed, 1 insertion(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/86/31086/1
diff --git a/src/llc.c b/src/llc.c
index ddc1e03..c283146 100644
--- a/src/llc.c
+++ b/src/llc.c
@@ -80,7 +80,7 @@
llc->length += len;
}
-bool llc_is_user_data_frame(const uint8_t *data, size_t len)
+static bool llc_is_user_data_frame(const uint8_t *data, size_t len)
{
if (len < 2)
return false;
diff --git a/src/llc.h b/src/llc.h
index fe14c6a..58b169e 100644
--- a/src/llc.h
+++ b/src/llc.h
@@ -58,7 +58,6 @@
uint16_t index; /* current write/read position of frame */
uint16_t length; /* len of current DL LLC_frame, 0 == no frame */
};
-bool llc_is_user_data_frame(const uint8_t *data, size_t len);
void llc_init(struct gprs_llc *llc);
void llc_reset(struct gprs_llc *llc);
--
To view, visit
https://gerrit.osmocom.org/c/osmo-pcu/+/31086
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I8e38a946c87142a09e0b49ea3160df1d5772b587
Gerrit-Change-Number: 31086
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange