Commit Graph

11 Commits

Author SHA1 Message Date
Daniel P. Berrange
95f2f77839 Remove trailing whitespace from end of lines 2012-03-20 15:25:55 +01:00
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
Christophe Fergeau
264ccc73f1 server: fix function prototypes
Several functions in server/ were not specifying an argument list,
ie they were declared as void foo(); When compiling with
-Wstrict-prototypes, this leads to:
test_playback.c:93:5: erreur: function declaration isn’t a prototype
[-Werror=strict-prototypes]
2012-03-20 15:25:54 +01:00
Christophe Fergeau
29e175bb06 common: don't duplicate find_msb implementation 2012-03-20 15:25:52 +01:00
Christophe Fergeau
08326f733a add #include <config.h> to all source files
When using config.h, it must be the very first include in all source
files since it contains #define that may change the compilation process
(eg libc structure layout changes when it's used to enable large file
support on 32 bit x86 archs). This commit adds it at the beginning
of all .c and .cpp files
2012-03-20 15:25:52 +01:00
Christophe Fergeau
57b6e08160 use foo(void) instead of foo() in prototypes
In C, the latter isn't a prototype for a function with no arg,
but declares a function with an undefined number of args.
2012-03-20 15:25:51 +01:00
Alexander Larsson
41171d081d Fix spelling errors in comments and strings 2012-03-20 15:25:42 +01:00
Alexander Larsson
92e30df45c Relicense everything from GPL to LGPL 2.1+ 2012-03-20 15:25:41 +01:00
Alexander Larsson
29b01c2c16 Use macros from <spice/macros.h> rather than duplicate them 2012-03-20 15:25:40 +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