diff options
author | Harald Welte <laforge@osmocom.org> | 2023-03-29 12:22:19 +0200 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2023-03-29 12:02:10 +0000 |
commit | 80c605dd0b0e005178728550c73ef4e523d12273 (patch) | |
tree | 691042c77ab2cf40441322f4461b61d5291eb84b /tests | |
parent | c29ca5eb7dc970e3a39e80b9bce389c4bcd3862b (diff) |
cosmetic: use __func__ instead of __FUNCTION__
Our linter would complain about this these days:
__func__ should be used instead of gcc specific __FUNCTION__
Change-Id: I80bf6d0a89ce6454ae063759d6088a28b04670c0
Diffstat (limited to 'tests')
-rw-r--r-- | tests/agch/agch_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/agch/agch_test.c b/tests/agch/agch_test.c index e6c56d97..30e7ef19 100644 --- a/tests/agch/agch_test.c +++ b/tests/agch/agch_test.c @@ -124,13 +124,13 @@ static void test_agch_queue(void) for (round = 1; round <= num_rounds; round++) { for (idx = 0; idx < num_ima_per_round; idx++) { - msg = msgb_alloc(GSM_MACBLOCK_LEN, __FUNCTION__); + msg = msgb_alloc(GSM_MACBLOCK_LEN, __func__); put_imm_ass(msg, ++count); bts_agch_enqueue(bts, msg); imm_ass_count++; } for (idx = 0; idx < num_rej_per_round; idx++) { - msg = msgb_alloc(GSM_MACBLOCK_LEN, __FUNCTION__); + msg = msgb_alloc(GSM_MACBLOCK_LEN, __func__); put_imm_ass_rej(msg, ++count, 10); bts_agch_enqueue(bts, msg); imm_ass_rej_count++; |