1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-08 23:04:15 +01:00

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
2014-06-14 19:34:06 +02:00
committed by Carlos R. Mafra
parent 6c3cd08dad
commit 96a6e4da1e
7 changed files with 67 additions and 7 deletions

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)