aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-07-11 11:50:02 +0200
committerHarald Welte <laforge@osmocom.org>2020-07-12 23:47:10 +0200
commit570608313816b0a656587b76496c849880fcd794 (patch)
tree164eb097bf9cd9797aef229b98efac8a172fe540 /src
parent1b75abe5ce473eaae3ebef898a72010e7e065fae (diff)
_e1_rx_hdlcfs: const-ify input buffer argument
Diffstat (limited to 'src')
-rw-r--r--src/intf_line.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intf_line.c b/src/intf_line.c
index 4c9c404..e206f76 100644
--- a/src/intf_line.c
+++ b/src/intf_line.c
@@ -142,7 +142,7 @@ e1_line_destroy(struct e1_line *line)
// ---------------------------------------------------------------------------
static int
-_e1_rx_hdlcfs(struct e1_ts *ts, uint8_t *buf, int len)
+_e1_rx_hdlcfs(struct e1_ts *ts, const uint8_t *buf, int len)
{
int rv, cl, oi;