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/OpenBSC@lists.osmocom.org/.
Jacob Erlbeck jerlbeck at sysmocom.deOn 23.11.2015 10:43, Neels Hofmeyr wrote:
> On Tue, Nov 17, 2015 at 10:37:48AM +0100, Jacob Erlbeck wrote:
>> diff --git a/tests/msgb/msgb_test.c b/tests/msgb/msgb_test.c
>> index 412e8bb..08d9857 100644
>> --- a/tests/msgb/msgb_test.c
>> +++ b/tests/msgb/msgb_test.c
>> @@ -87,6 +87,7 @@ static void test_msgb_api()
>> msg->l3h = msg->head - 1;
>> printf("Buffer: %s\n", msgb_hexdump(msg));
>>
>> +
>> #if 0
>> extern void msgb_reset(struct msgb *m);
>> #define msgb_l1(m) ((void *)(MSGB_CHECK2(m)->l1h))
>> @@ -97,15 +98,61 @@ static inline unsigned int msgb_l1len(const struct msgb *msgb)
>> static inline unsigned char *msgb_get(struct msgb *msgb, unsigned int len)
>> static inline unsigned char *msgb_push(struct msgb *msgb, unsigned int len)
>> static inline unsigned char *msgb_pull(struct msgb *msgb, unsigned int len)
>> -
>> +
>> static inline unsigned char *msgb_pull_to_l3(struct msgb *msg)
>> static inline int msgb_trim(struct msgb *msg, int len)
>> static inline int msgb_l3trim(struct msgb *msg, int l3len)
>> uint8_t *msgb_data(const struct msgb *msg);
>> - return;
>> +return;
>> #endif
>> }
>
> ^ seems like those whitespace changes came in by accident...
Yes, thanks for noticing. I will remove the complete commentary block.
Jacob
--
- Jacob Erlbeck <jerlbeck at sysmocom.de> http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschaeftsfuehrer / Managing Directors: Holger Freyther, Harald Welte