Commit Graph

8 Commits

Author SHA1 Message Date
Daniel P. Berrange
f83432a685 Remove trailing blank lines
Remove any blank lines at the end of all source files
2012-03-20 15:25:55 +01:00
Alon Levy
e5b2086eb5 common/ring: RING_FOREACH_SAFE: use shorter version from qemu 2012-03-20 15:25:54 +01:00
Marc-André Lureau
a472bdff0d common: add ring_get_length() for debugging purposes
Please notice it has a "static" modifier, like the rest of the inlined
functions in ring.h, so it won't warn if it isn't used.
2012-03-20 15:25:52 +01:00
Christophe Fergeau
c15c5050af common: add extern "C" guards to headers
Since some spice C++ code is using code from common/, the C
functions need to be marked as such for the C++ compiler, otherwise
we'll get linkage issues.
2012-03-20 15:25:51 +01:00
Alon Levy
bd84cda1fe ring: add RING_FOREACH{,_SAFE,_REVERSED} 2012-03-20 15:25:51 +01:00
Alexander Larsson
92e30df45c Relicense everything from GPL to LGPL 2.1+ 2012-03-20 15:25:41 +01:00
Alexander Larsson
9d9a3e12c0 Add emacs settings for indent according to spice styleguide 2012-03-20 15:25:37 +01:00
Yaniv Kamay
a9ae774c90 fresh start 2012-03-20 15:25:36 +01:00