mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 04:20:27 +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,8 +35,8 @@
|
||||
#include <math.h>
|
||||
|
||||
#include "wraster.h"
|
||||
#include "scale.h"
|
||||
|
||||
extern void _wraster_change_filter(int type);
|
||||
|
||||
static Bool bestContext(Display * dpy, int screen_number, RContext * context);
|
||||
|
||||
@@ -588,7 +588,7 @@ RContext *RCreateContext(Display * dpy, int screen_number, const RContextAttribu
|
||||
|
||||
/* get configuration from environment variables */
|
||||
gatherconfig(context, screen_number);
|
||||
_wraster_change_filter(context->attribs->scaling_filter);
|
||||
wraster_change_filter(context->attribs->scaling_filter);
|
||||
if ((context->attribs->flags & RC_VisualID)) {
|
||||
XVisualInfo *vinfo, templ;
|
||||
int nret;
|
||||
|
||||
Reference in New Issue
Block a user