[riot-notifications] [RIOT] add a generic list and make lowpan.c use that list (#304)

benpicco notifications at github.com
Tue Nov 5 07:19:48 CET 2013


lowpan.c uses a custom list implementation and intermingles list handling with application logic.
This leads to errors like #299.

I had already implemented a very simple and tested generic list for olsr2, so add that to RIOT and make lowpan.c use it.

It's still missing documentation and RIOT coding style, I'll add that later if you agree with the general approach.

My application runs a lot more stable with it, so I guess this fixes #299
You can merge this Pull Request by running:

  git pull https://github.com/benpicco/RIOT simple_list

Or you can view, comment on it, or merge it online at:

  https://github.com/RIOT-OS/RIOT/pull/304

-- Commit Summary --

  * add simple list implementation
  * use list.h in lowpan.c

-- File Changes --

    M Makefile.dep (3)
    M sys/Makefile (3)
    A sys/include/list.h (47)
    A sys/list/Makefile (5)
    A sys/list/list.c (141)
    M sys/net/sixlowpan/lowpan.c (209)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/304.patch
https://github.com/RIOT-OS/RIOT/pull/304.diff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20131104/22f40148/attachment.html>


More information about the notifications mailing list