From: Michael Jerris Date: Tue, 16 Jun 2015 23:58:16 +0000 (-0400) Subject: FS-7655: fix build issue w/ strict prototypes X-Git-Tag: v1.6.2~468 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e298831b3ce70512710bce8572250deaf60c44e0;p=thirdparty%2Ffreeswitch.git FS-7655: fix build issue w/ strict prototypes --- diff --git a/src/include/switch_core_video.h b/src/include/switch_core_video.h index e69ebbb0ed..a18a39da41 100644 --- a/src/include/switch_core_video.h +++ b/src/include/switch_core_video.h @@ -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 diff --git a/src/switch_core_video.c b/src/switch_core_video.c index 0831d47391..23a4b84f13 100644 --- a/src/switch_core_video.c +++ b/src/switch_core_video.c @@ -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