wrlib: new headers to contain definition of internal stuff

Using local function prototype redefinition is dangerous, now a single
prototype is seen in all the files that are concerned.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
Christophe CURIS authored and Carlos R. Mafra committed 2014-06-15 19:45:20 +01:00
1 parent 6c3cd08dad
commit 96a6e4da1e
7 files changed
+67 -7

No files matched your search

+1 -4
View File
@@ -35,12 +35,9 @@
#include "wraster.h"
#include "convert.h"
#include "xutil.h"
#ifdef USE_XSHM
extern Pixmap R_CreateXImageMappedPixmap(RContext * context, RXImage * ximage);
#endif
#define NFREE(n) if (n) free(n)
#define HAS_ALPHA(I) ((I)->format == RRGBAFormat)