FS-7655: fix build issue w/ strict prototypes

This commit is contained in:
Michael Jerris 2015-06-16 19:58:16 -04:00
parent 4ad0aa91a4
commit e298831b3c
2 changed files with 2 additions and 2 deletions

View File

@ -364,7 +364,7 @@ SWITCH_DECLARE(switch_image_t *) switch_img_write_text_img(int w, int h, switch_
SWITCH_DECLARE(switch_image_t *) switch_img_read_file(const char* file_name);
SWITCH_DECLARE(switch_status_t) switch_img_letterbox(switch_image_t *img, switch_image_t **imgP, int width, int height, const char *color);
SWITCH_DECLARE(switch_bool_t) switch_core_has_video();
SWITCH_DECLARE(switch_bool_t) switch_core_has_video(void);
/** @} */
SWITCH_END_EXTERN_C

View File

@ -86,7 +86,7 @@ SWITCH_DECLARE(switch_img_position_t) parse_img_position(const char *name)
return r;
}
SWITCH_DECLARE(switch_bool_t) switch_core_has_video()
SWITCH_DECLARE(switch_bool_t) switch_core_has_video(void)
{
#ifdef SWITCH_HAVE_VPX
#ifdef SWITCH_HAVE_YUV