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:
committed by
Carlos R. Mafra
parent
6c3cd08dad
commit
96a6e4da1e
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user