Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-05-02 | Add __attribute__((const, pure, format)) in various places | Zbigniew Jędrzejewski-Szmek | |
I'm assuming that it's fine if a _const_ or _pure_ function calls assert. It is assumed that the assert won't trigger, and even if it does, it can only trigger on the first call with a given set of parameters, and we don't care if the compiler moves the order of calls. | |||
2013-04-01 | Always use our own MAX/MIN definitions | Cristian Rodríguez | |
code in src/shared/macro.h only defined MAX/MIN in case they were not defined previously. however the MAX/MIN macros implemented in glibc are not of the "safe" kind but defined as: define MIN(a,b) (((a)<(b))?(a):(b)) define MAX(a,b) (((a)>(b))?(a):(b)) Avoid nasty side effects by using our own versions instead. Also fix the warnings derived from this change. [zj: - modify MAX3 macro to fix warning about _a shadowing _a, - do bootchart/svg.c too, - remove unused MIN3.] | |||
2013-03-30 | prioq: consider a NULL prioq empty | Lennart Poettering | |
2013-03-21 | bus: implement full method call timeout logic | Lennart Poettering | |
2013-03-21 | shared: add simple priority queue implementation | Lennart Poettering | |