summaryrefslogtreecommitdiffstats
path: root/common/lines.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove casts from void * with xrealloc() callsDaniel P. Berrange2012-01-131-12/+10
| | | | | The xrealloc() function returns void*, so the return value never needs to be cast
* Remove useless if() before free()Daniel P. Berrange2012-01-131-10/+5
| | | | | The free() function allows NULL to be passed in, so any code which puts a if() before free() is wasting time
* fix memory leak in error pathChristophe Fergeau2011-08-251-1/+2
| | | | Issue found by the Coverity scanner
* common: use INLINE instead of inlineArnon Gilboa2011-05-121-2/+1
| | | | | | needed for spice/common files used by the client, server & qxl driver. in windows _inline works for both c/c++, while inline is c++ only. compiling the client with mixed c/c++ code required this define.
* add #include <config.h> to all source filesChristophe Fergeau2011-05-031-1/+3
| | | | | | | | 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
* Initialize variable to avoid compiler warningAlexander Larsson2010-09-291-1/+1
| | | | Seems the OSX gcc warns on saveRight not being initialzied.
* Use the spice allocator in common/Alexander Larsson2010-03-111-2/+3
|
* Use macros from <spice/macros.h> rather than duplicate themAlexander Larsson2010-03-091-16/+1
|
* Fix warnings from visual studio compilerLarsson@.(none)2010-03-011-10/+10
|
* Add line rasterizerAlexander Larsson2010-02-231-0/+3632