forked from enlightenment/efl
remove more 'unused parameter' warnings
SVN revision: 39223
This commit is contained in:
parent
4d1961ac59
commit
7dd1e9e055
|
@ -48,11 +48,11 @@ EAPI Evas_Smart *
|
||||||
evas_smart_new(const char *name,
|
evas_smart_new(const char *name,
|
||||||
void (*func_add) (Evas_Object *o),
|
void (*func_add) (Evas_Object *o),
|
||||||
void (*func_del) (Evas_Object *o),
|
void (*func_del) (Evas_Object *o),
|
||||||
void (*func_layer_set) (Evas_Object *o, int l),
|
void (*func_layer_set) (Evas_Object *o, int l) __UNUSED__,
|
||||||
void (*func_raise) (Evas_Object *o),
|
void (*func_raise) (Evas_Object *o) __UNUSED__,
|
||||||
void (*func_lower) (Evas_Object *o),
|
void (*func_lower) (Evas_Object *o) __UNUSED__,
|
||||||
void (*func_stack_above) (Evas_Object *o, Evas_Object *above),
|
void (*func_stack_above) (Evas_Object *o, Evas_Object *above) __UNUSED__,
|
||||||
void (*func_stack_below) (Evas_Object *o, Evas_Object *below),
|
void (*func_stack_below) (Evas_Object *o, Evas_Object *below) __UNUSED__,
|
||||||
void (*func_move) (Evas_Object *o, Evas_Coord x, Evas_Coord y),
|
void (*func_move) (Evas_Object *o, Evas_Coord x, Evas_Coord y),
|
||||||
void (*func_resize) (Evas_Object *o, Evas_Coord w, Evas_Coord h),
|
void (*func_resize) (Evas_Object *o, Evas_Coord w, Evas_Coord h),
|
||||||
void (*func_show) (Evas_Object *o),
|
void (*func_show) (Evas_Object *o),
|
||||||
|
|
|
@ -185,7 +185,7 @@ _glyph_scanline(Soft16_Image *dst, const DATA8 *p_mask,
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_soft16_font_glyph_draw_grayscale(Soft16_Image *dst,
|
_soft16_font_glyph_draw_grayscale(Soft16_Image *dst,
|
||||||
RGBA_Draw_Context *dc, RGBA_Font_Glyph *fg,
|
RGBA_Draw_Context *dc __UNUSED__, RGBA_Font_Glyph *fg __UNUSED__,
|
||||||
int x, int y, DATA8 alpha, DATA16 rgb565,
|
int x, int y, DATA8 alpha, DATA16 rgb565,
|
||||||
const Evas_Rectangle ext, int bw, int bh,
|
const Evas_Rectangle ext, int bw, int bh,
|
||||||
int bpitch, const DATA8 *bitmap)
|
int bpitch, const DATA8 *bitmap)
|
||||||
|
@ -224,7 +224,7 @@ _glyph_create_mask_line(DATA8 *mask, const DATA8 *bitmap, int w)
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_soft16_font_glyph_draw_mono(Soft16_Image *dst,
|
_soft16_font_glyph_draw_mono(Soft16_Image *dst,
|
||||||
RGBA_Draw_Context *dc, RGBA_Font_Glyph *fg,
|
RGBA_Draw_Context *dc __UNUSED__, RGBA_Font_Glyph *fg __UNUSED__,
|
||||||
int x, int y, DATA8 alpha, DATA16 rgb565,
|
int x, int y, DATA8 alpha, DATA16 rgb565,
|
||||||
const Evas_Rectangle ext, int bw, int bh,
|
const Evas_Rectangle ext, int bw, int bh,
|
||||||
int bpitch, const DATA8 *bitmap)
|
int bpitch, const DATA8 *bitmap)
|
||||||
|
@ -246,7 +246,7 @@ _soft16_font_glyph_draw_mono(Soft16_Image *dst,
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
soft16_font_glyph_draw(void *data, void *dest, void *context,
|
soft16_font_glyph_draw(void *data, void *dest __UNUSED__, void *context,
|
||||||
RGBA_Font_Glyph *fg, int x, int y)
|
RGBA_Font_Glyph *fg, int x, int y)
|
||||||
{
|
{
|
||||||
Soft16_Image *dst;
|
Soft16_Image *dst;
|
||||||
|
@ -291,12 +291,12 @@ soft16_font_glyph_draw(void *data, void *dest, void *context,
|
||||||
}
|
}
|
||||||
|
|
||||||
void *
|
void *
|
||||||
soft16_font_glyph_new(void *data, RGBA_Font_Glyph *fg)
|
soft16_font_glyph_new(void *data __UNUSED__, RGBA_Font_Glyph *fg __UNUSED__)
|
||||||
{
|
{
|
||||||
return (void *)1; /* core requires != NULL to work */
|
return (void *)1; /* core requires != NULL to work */
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
soft16_font_glyph_free(void *ext_dat)
|
soft16_font_glyph_free(void *ext_dat __UNUSED__)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
static void
|
static void
|
||||||
_soft16_image_draw_scaled_solid_solid(Soft16_Image *src,
|
_soft16_image_draw_scaled_solid_solid(Soft16_Image *src,
|
||||||
Soft16_Image *dst,
|
Soft16_Image *dst,
|
||||||
RGBA_Draw_Context *dc,
|
RGBA_Draw_Context *dc __UNUSED__,
|
||||||
int dst_offset, int w, int h,
|
int dst_offset, int w, int h,
|
||||||
int *offset_x, int *offset_y)
|
int *offset_x, int *offset_y)
|
||||||
{
|
{
|
||||||
|
@ -44,7 +44,7 @@ _soft16_image_draw_scaled_solid_solid(Soft16_Image *src,
|
||||||
static void
|
static void
|
||||||
_soft16_image_draw_scaled_transp_solid(Soft16_Image *src,
|
_soft16_image_draw_scaled_transp_solid(Soft16_Image *src,
|
||||||
Soft16_Image *dst,
|
Soft16_Image *dst,
|
||||||
RGBA_Draw_Context *dc,
|
RGBA_Draw_Context *dc __UNUSED__,
|
||||||
int dst_offset, int w, int h,
|
int dst_offset, int w, int h,
|
||||||
int *offset_x, int *offset_y)
|
int *offset_x, int *offset_y)
|
||||||
{
|
{
|
||||||
|
@ -110,7 +110,7 @@ _soft16_image_draw_scaled_no_mul(Soft16_Image *src, Soft16_Image *dst,
|
||||||
static void
|
static void
|
||||||
_soft16_image_draw_scaled_solid_solid_mul_alpha(Soft16_Image *src,
|
_soft16_image_draw_scaled_solid_solid_mul_alpha(Soft16_Image *src,
|
||||||
Soft16_Image *dst,
|
Soft16_Image *dst,
|
||||||
RGBA_Draw_Context *dc,
|
RGBA_Draw_Context *dc __UNUSED__,
|
||||||
int dst_offset, int w, int h,
|
int dst_offset, int w, int h,
|
||||||
int *offset_x, int *offset_y,
|
int *offset_x, int *offset_y,
|
||||||
DATA8 alpha)
|
DATA8 alpha)
|
||||||
|
@ -154,7 +154,7 @@ _soft16_image_draw_scaled_solid_solid_mul_alpha(Soft16_Image *src,
|
||||||
static void
|
static void
|
||||||
_soft16_image_draw_scaled_transp_solid_mul_alpha(Soft16_Image *src,
|
_soft16_image_draw_scaled_transp_solid_mul_alpha(Soft16_Image *src,
|
||||||
Soft16_Image *dst,
|
Soft16_Image *dst,
|
||||||
RGBA_Draw_Context *dc,
|
RGBA_Draw_Context *dc __UNUSED__,
|
||||||
int dst_offset, int w, int h,
|
int dst_offset, int w, int h,
|
||||||
int *offset_x, int *offset_y,
|
int *offset_x, int *offset_y,
|
||||||
DATA8 alpha)
|
DATA8 alpha)
|
||||||
|
@ -223,7 +223,7 @@ _soft16_image_draw_scaled_mul_alpha(Soft16_Image *src, Soft16_Image *dst,
|
||||||
static void
|
static void
|
||||||
_soft16_image_draw_scaled_solid_solid_mul_color(Soft16_Image *src,
|
_soft16_image_draw_scaled_solid_solid_mul_color(Soft16_Image *src,
|
||||||
Soft16_Image *dst,
|
Soft16_Image *dst,
|
||||||
RGBA_Draw_Context *dc,
|
RGBA_Draw_Context *dc __UNUSED__,
|
||||||
int dst_offset, int w, int h,
|
int dst_offset, int w, int h,
|
||||||
int *offset_x, int *offset_y,
|
int *offset_x, int *offset_y,
|
||||||
DATA8 r, DATA8 g, DATA8 b,
|
DATA8 r, DATA8 g, DATA8 b,
|
||||||
|
@ -299,7 +299,7 @@ _soft16_image_draw_scaled_solid_solid_mul_color(Soft16_Image *src,
|
||||||
static void
|
static void
|
||||||
_soft16_image_draw_scaled_transp_solid_mul_color(Soft16_Image *src,
|
_soft16_image_draw_scaled_transp_solid_mul_color(Soft16_Image *src,
|
||||||
Soft16_Image *dst,
|
Soft16_Image *dst,
|
||||||
RGBA_Draw_Context *dc,
|
RGBA_Draw_Context *dc __UNUSED__,
|
||||||
int dst_offset, int w, int h,
|
int dst_offset, int w, int h,
|
||||||
int *offset_x, int *offset_y,
|
int *offset_x, int *offset_y,
|
||||||
DATA8 r, DATA8 g, DATA8 b,
|
DATA8 r, DATA8 g, DATA8 b,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_soft16_image_draw_unscaled_solid_solid(Soft16_Image *src, Soft16_Image *dst,
|
_soft16_image_draw_unscaled_solid_solid(Soft16_Image *src, Soft16_Image *dst,
|
||||||
RGBA_Draw_Context *dc,
|
RGBA_Draw_Context *dc __UNUSED__,
|
||||||
int src_offset, int dst_offset,
|
int src_offset, int dst_offset,
|
||||||
int w, int h)
|
int w, int h)
|
||||||
{
|
{
|
||||||
|
@ -23,7 +23,7 @@ _soft16_image_draw_unscaled_solid_solid(Soft16_Image *src, Soft16_Image *dst,
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_soft16_image_draw_unscaled_transp_solid(Soft16_Image *src, Soft16_Image *dst,
|
_soft16_image_draw_unscaled_transp_solid(Soft16_Image *src, Soft16_Image *dst,
|
||||||
RGBA_Draw_Context *dc,
|
RGBA_Draw_Context *dc __UNUSED__,
|
||||||
int src_offset, int dst_offset,
|
int src_offset, int dst_offset,
|
||||||
int w, int h)
|
int w, int h)
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@ _soft16_image_draw_unscaled_no_mul(Soft16_Image *src, Soft16_Image *dst,
|
||||||
static void
|
static void
|
||||||
_soft16_image_draw_unscaled_solid_solid_mul_alpha(Soft16_Image *src,
|
_soft16_image_draw_unscaled_solid_solid_mul_alpha(Soft16_Image *src,
|
||||||
Soft16_Image *dst,
|
Soft16_Image *dst,
|
||||||
RGBA_Draw_Context *dc,
|
RGBA_Draw_Context *dc __UNUSED__,
|
||||||
int src_offset,
|
int src_offset,
|
||||||
int dst_offset,
|
int dst_offset,
|
||||||
int w, int h, DATA8 a)
|
int w, int h, DATA8 a)
|
||||||
|
@ -91,7 +91,7 @@ _soft16_image_draw_unscaled_solid_solid_mul_alpha(Soft16_Image *src,
|
||||||
static void
|
static void
|
||||||
_soft16_image_draw_unscaled_transp_solid_mul_alpha(Soft16_Image *src,
|
_soft16_image_draw_unscaled_transp_solid_mul_alpha(Soft16_Image *src,
|
||||||
Soft16_Image *dst,
|
Soft16_Image *dst,
|
||||||
RGBA_Draw_Context *dc,
|
RGBA_Draw_Context *dc __UNUSED__,
|
||||||
int src_offset,
|
int src_offset,
|
||||||
int dst_offset,
|
int dst_offset,
|
||||||
int w, int h, DATA8 a)
|
int w, int h, DATA8 a)
|
||||||
|
@ -137,7 +137,7 @@ _soft16_image_draw_unscaled_mul_alpha(Soft16_Image *src, Soft16_Image *dst,
|
||||||
static void
|
static void
|
||||||
_soft16_image_draw_unscaled_solid_solid_mul_color(Soft16_Image *src,
|
_soft16_image_draw_unscaled_solid_solid_mul_color(Soft16_Image *src,
|
||||||
Soft16_Image *dst,
|
Soft16_Image *dst,
|
||||||
RGBA_Draw_Context *dc,
|
RGBA_Draw_Context *dc __UNUSED__,
|
||||||
int src_offset,
|
int src_offset,
|
||||||
int dst_offset,
|
int dst_offset,
|
||||||
int w, int h, DATA8 r,
|
int w, int h, DATA8 r,
|
||||||
|
@ -170,7 +170,7 @@ _soft16_image_draw_unscaled_solid_solid_mul_color(Soft16_Image *src,
|
||||||
static void
|
static void
|
||||||
_soft16_image_draw_unscaled_transp_solid_mul_color(Soft16_Image *src,
|
_soft16_image_draw_unscaled_transp_solid_mul_color(Soft16_Image *src,
|
||||||
Soft16_Image *dst,
|
Soft16_Image *dst,
|
||||||
RGBA_Draw_Context *dc,
|
RGBA_Draw_Context *dc __UNUSED__,
|
||||||
int src_offset,
|
int src_offset,
|
||||||
int dst_offset,
|
int dst_offset,
|
||||||
int w, int h, DATA8 r,
|
int w, int h, DATA8 r,
|
||||||
|
|
|
@ -146,7 +146,7 @@ _evas_common_soft16_image_surface_delete(Image_Entry *ie)
|
||||||
}
|
}
|
||||||
|
|
||||||
static DATA32 *
|
static DATA32 *
|
||||||
_evas_common_soft16_image_surface_pixels(Image_Entry *ie)
|
_evas_common_soft16_image_surface_pixels(Image_Entry *ie __UNUSED__)
|
||||||
{
|
{
|
||||||
abort();
|
abort();
|
||||||
|
|
||||||
|
@ -173,12 +173,12 @@ _evas_common_load_soft16_image_from_file(Image_Entry *ie)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_evas_common_soft16_image_unload(Image_Entry *ie)
|
_evas_common_soft16_image_unload(Image_Entry *ie __UNUSED__)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_evas_common_soft16_image_dirty_region(Image_Entry *im, int x, int y, int w, int h)
|
_evas_common_soft16_image_dirty_region(Image_Entry *im __UNUSED__, int x __UNUSED__, int y __UNUSED__, int w __UNUSED__, int h __UNUSED__)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -208,7 +208,7 @@ _evas_common_soft16_image_ram_usage(Image_Entry *ie)
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_evas_common_soft16_image_size_set(Image_Entry *ie_dst, const Image_Entry *ie_im, int w, int h)
|
_evas_common_soft16_image_size_set(Image_Entry *ie_dst, const Image_Entry *ie_im, int w __UNUSED__, int h __UNUSED__)
|
||||||
{
|
{
|
||||||
Soft16_Image *dst = (Soft16_Image *) ie_dst;
|
Soft16_Image *dst = (Soft16_Image *) ie_dst;
|
||||||
Soft16_Image *im = (Soft16_Image *) ie_im;
|
Soft16_Image *im = (Soft16_Image *) ie_im;
|
||||||
|
@ -219,7 +219,7 @@ _evas_common_soft16_image_size_set(Image_Entry *ie_dst, const Image_Entry *ie_im
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_evas_common_soft16_image_from_data(Image_Entry* ie_dst, int w, int h, DATA32 *image_data, int alpha, int cspace)
|
_evas_common_soft16_image_from_data(Image_Entry* ie_dst, int w, int h, DATA32 *image_data, int alpha, int cspace __UNUSED__)
|
||||||
{
|
{
|
||||||
Soft16_Image *im = (Soft16_Image *) ie_dst;
|
Soft16_Image *im = (Soft16_Image *) ie_dst;
|
||||||
|
|
||||||
|
@ -240,7 +240,7 @@ _evas_common_soft16_image_from_data(Image_Entry* ie_dst, int w, int h, DATA32 *i
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_evas_common_soft16_image_from_copied_data(Image_Entry* ie_dst, int w, int h, DATA32 *image_data, int alpha, int cspace)
|
_evas_common_soft16_image_from_copied_data(Image_Entry* ie_dst, int w __UNUSED__, int h, DATA32 *image_data, int alpha __UNUSED__, int cspace __UNUSED__)
|
||||||
{
|
{
|
||||||
Soft16_Image *im = (Soft16_Image *) ie_dst;
|
Soft16_Image *im = (Soft16_Image *) ie_dst;
|
||||||
|
|
||||||
|
@ -254,7 +254,7 @@ _evas_common_soft16_image_from_copied_data(Image_Entry* ie_dst, int w, int h, DA
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_evas_common_soft16_image_colorspace_set(Image_Entry* ie_dst, int cspace)
|
_evas_common_soft16_image_colorspace_set(Image_Entry* ie_dst __UNUSED__, int cspace __UNUSED__)
|
||||||
{
|
{
|
||||||
/* FIXME: handle colorspace */
|
/* FIXME: handle colorspace */
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -471,7 +471,7 @@ soft16_image_draw(Soft16_Image *src, Soft16_Image *dst,
|
||||||
int src_region_w, int src_region_h,
|
int src_region_w, int src_region_h,
|
||||||
int dst_region_x, int dst_region_y,
|
int dst_region_x, int dst_region_y,
|
||||||
int dst_region_w, int dst_region_h,
|
int dst_region_w, int dst_region_h,
|
||||||
int smooth)
|
int smooth __UNUSED__)
|
||||||
{
|
{
|
||||||
Evas_Rectangle sr, dr;
|
Evas_Rectangle sr, dr;
|
||||||
Cutout_Rects *rects;
|
Cutout_Rects *rects;
|
||||||
|
|
|
@ -63,14 +63,14 @@ evas_alloc_error(void)
|
||||||
|
|
||||||
/* free cached items only in ram for speed reasons. return 0 if cant free */
|
/* free cached items only in ram for speed reasons. return 0 if cant free */
|
||||||
int
|
int
|
||||||
evas_mem_free(int mem_required)
|
evas_mem_free(int mem_required __UNUSED__)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* start reducing quality of images etc. return 0 if cant free anything */
|
/* start reducing quality of images etc. return 0 if cant free anything */
|
||||||
int
|
int
|
||||||
evas_mem_degrade(int mem_required)
|
evas_mem_degrade(int mem_required __UNUSED__)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue