History log of /external/kmod/libkmod/libkmod-list.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dea2dfee9b301da84dbb09cf510b8ebf2ef28fff 26-Dec-2014 Lucas De Marchi <lucas.demarchi@intel.com> Remove FSF mailing address

It has changed in the past, and these days, anyone can get a copy of the
LGPL via the web rather than by post.

Like 657a122 (Remove FSF mailing address) in libabc by Josh Tripplet,
but let the FSF website in which the license can be found.
/external/kmod/libkmod/libkmod-list.c
eb6f9112cfb0923d2c0a37517f9507b944626c72 09-Oct-2014 Lucas De Marchi <lucas.demarchi@intel.com> libkmod: remove unused inline functions

libkmod/libkmod-list.c:39:33: warning: unused function 'list_node_next' [-Wunused-function]
static inline struct list_node *list_node_next(const struct list_node *node)
^
libkmod/libkmod-list.c:47:33: warning: unused function 'list_node_prev' [-Wunused-function]
static inline struct list_node *list_node_prev(const struct list_node *node)
^

It doesn't really matter in the end result since the compiler won't
generate any code for it. But let's keep it clean. It wasn't needed
until now, so probably it won't be anymore.
/external/kmod/libkmod/libkmod-list.c
83b855a6ed7028173e231eab0a39c929a962ddf5 04-Jul-2013 Lucas De Marchi <lucas.demarchi@intel.com> Use "-internal" suffix instead of "-private"
/external/kmod/libkmod/libkmod-list.c
e6b0e49b4ea7937a98b16f23d621244ee1a3e588 16-Jan-2013 Lucas De Marchi <lucas.demarchi@profusion.mobi> Update copyright notices
/external/kmod/libkmod/libkmod-list.c
434f32ca8d2858568c1ef959ae3f3c24a1c9be2a 18-Jan-2012 Lucas De Marchi <lucas.demarchi@profusion.mobi> libkmod-list: allow to append an empty list
/external/kmod/libkmod/libkmod-list.c
6681951bbeb04f7b5c08e49da81a0da6f2aca2d2 09-Jan-2012 Lucas De Marchi <lucas.demarchi@profusion.mobi> doc: organize sections
/external/kmod/libkmod/libkmod-list.c
a66a6a999f0156f5c43bc51660300f9a7466986f 09-Jan-2012 Lucas De Marchi <lucas.demarchi@profusion.mobi> Update copyright
/external/kmod/libkmod/libkmod-list.c
eb4ae531f7693c52fc42a612b99127e591575eed 27-Dec-2011 Lucas De Marchi <lucas.demarchi@profusion.mobi> Fix kmod_list_remove_n_latest()

It only worked because n was always 1. kmod_list_remove returns a
pointer to the next element, relative to the removed one. Therefore we
need to always get a pointer to the last.
/external/kmod/libkmod/libkmod-list.c
d5ec60bc0c2fa92a05e766463761b6e22d6d67b4 17-Dec-2011 Gustavo Sverzut Barbieri <barbieri@profusion.mobi> introduce kmod_list_last()

This gets the last element in the list, that is, the previous element
of the head.
/external/kmod/libkmod/libkmod-list.c
2a70a5d4e0e62313a905378d463bc5857c5eef0b 17-Dec-2011 Gustavo Sverzut Barbieri <barbieri@profusion.mobi> fix kmod_list_prev().

kmod_list_prev() should return NULL if the current element is the
head, not if the previous element is the head. This was likely a copy
& paste error from kmod_list_next().
/external/kmod/libkmod/libkmod-list.c
cb451f35d9fe25ec1dee0628f8af23f022358f6b 12-Dec-2011 Lucas De Marchi <lucas.demarchi@profusion.mobi> Change licenses

libkmod is under LGPL 2.1 or later
tools/* are under GPL
/external/kmod/libkmod/libkmod-list.c
c35347f15cf0ed71a0929ddb0a0d8e2de5f73de8 12-Dec-2011 Lucas De Marchi <lucas.demarchi@profusion.mobi> coding style: fix lines over 80 chars

Lines should not go over 80 chars with a few exceptions:
- headers
- function definitions with only 1 argument
- long strings, otherwise we break grep

This should go later in a coding-style file
/external/kmod/libkmod/libkmod-list.c
7e1b3ae2b902031d3ec042a7f87fd3ecc98a4018 08-Dec-2011 Lucas De Marchi <lucas.demarchi@profusion.mobi> kmod_list: document exported functions
/external/kmod/libkmod/libkmod-list.c
e16e27f4a482540de5adc3c6f02e425c227fcf32 06-Dec-2011 Lucas De Marchi <lucas.demarchi@profusion.mobi> kmod_list: remove nodes in order
/external/kmod/libkmod/libkmod-list.c
1965029cb08ed31aca48921bd0418033cc0b060a 06-Dec-2011 Lucas De Marchi <lucas.demarchi@profusion.mobi> kmod_list: add helper function to merge two lists

This helper function will append the second list in the first one, so
they become one single list.
/external/kmod/libkmod/libkmod-list.c
b91a1c6d3d4780d59a63bafd89c42c1910022b54 06-Dec-2011 Lucas De Marchi <lucas.demarchi@profusion.mobi> kmod_list: add helper kmod_list_insert_before()
/external/kmod/libkmod/libkmod-list.c
86e878857219d3b0ffc716ec3135258a9d5523f2 06-Dec-2011 Lucas De Marchi <lucas.demarchi@profusion.mobi> kmod_list: add helper kmod_list_insert_after()
/external/kmod/libkmod/libkmod-list.c
1ce08a563e4ff4a9bcae7a1514f1159232a16f71 02-Dec-2011 Gustavo Sverzut Barbieri <barbieri@profusion.mobi> improve "const" keyword usage.

functions that do not modify their parameters get them as const pointers.

special cases:
* kmod_get_userdata/kmod_set_userdata: return as void* for user convenience.
* kmod_list_append/kmod_list_prepend: take const void* for user convenience.
/external/kmod/libkmod/libkmod-list.c
62be799554c468b483afdda36f6e9903662aab23 01-Dec-2011 Lucas De Marchi <lucas.demarchi@profusion.mobi> Add kmod_list_remove_n_latest()
/external/kmod/libkmod/libkmod-list.c
79d77111dc4026effbbd3e7b60970b0b2ac6179c 01-Dec-2011 Lucas De Marchi <lucas.demarchi@profusion.mobi> Add kmod_list_prev to exported functions
/external/kmod/libkmod/libkmod-list.c
191ab4b9e0ae8d1fe9d6377adb8e28fa7f746d60 28-Nov-2011 Lucas De Marchi <lucas.demarchi@profusion.mobi> Fix wrong copyright

I'm the author, not the copyright owner.
/external/kmod/libkmod/libkmod-list.c
f87081b4d18d7478bb76da20ae024a09817a78e8 23-Nov-2011 Lucas De Marchi <lucas.demarchi@profusion.mobi> Add some function attributes and use them
/external/kmod/libkmod/libkmod-list.c
6924e47a8d1af9ed2d42709358802fbb43fff8d4 22-Nov-2011 Lucas De Marchi <lucas.demarchi@profusion.mobi> Implement circular double-linked list
/external/kmod/libkmod/libkmod-list.c