Commit ed6499b8 authored by Ghislain MARY's avatar Ghislain MARY

Fix compilation warnings: "function declaration isn’t a prototype".

parent f0106e28
......@@ -218,7 +218,7 @@ LINPHONE_PUBLIC const char *linphone_error_info_get_details(const LinphoneErrorI
LINPHONE_PUBLIC int linphone_error_info_get_protocol_code(const LinphoneErrorInfo *ei);
/* linphone dictionary */
LINPHONE_PUBLIC LinphoneDictionary* linphone_dictionary_new();
LINPHONE_PUBLIC LinphoneDictionary* linphone_dictionary_new(void);
LinphoneDictionary * linphone_dictionary_clone(const LinphoneDictionary* src);
LinphoneDictionary * linphone_dictionary_ref(LinphoneDictionary* obj);
void linphone_dictionary_unref(LinphoneDictionary* obj);
......@@ -1980,7 +1980,7 @@ LINPHONE_PUBLIC const char * linphone_core_get_stun_server(const LinphoneCore *l
*
* @return true if uPnP is available otherwise return false.
*/
LINPHONE_PUBLIC bool_t linphone_core_upnp_available();
LINPHONE_PUBLIC bool_t linphone_core_upnp_available(void);
/**
* @ingroup network_parameters
......
......@@ -119,7 +119,7 @@ typedef struct _LinphoneFriend LinphoneFriend;
* Contructor
* @return a new empty #LinphoneFriend
*/
LINPHONE_PUBLIC LinphoneFriend * linphone_friend_new();
LINPHONE_PUBLIC LinphoneFriend * linphone_friend_new(void);
/**
* Contructor same as linphone_friend_new() + linphone_friend_set_address()
......
......@@ -117,7 +117,7 @@ typedef struct _SipSetup SipSetup;
extern "C"{
#endif
BuddyInfo *buddy_info_new();
BuddyInfo *buddy_info_new(void);
void buddy_info_free(BuddyInfo *info);
void buddy_lookup_request_set_key(BuddyLookupRequest *req, const char *key);
......
mediastreamer2 @ 4a919b63
Subproject commit b57c4697a35b83267fe96b20734ea70fe3aa8896
Subproject commit 4a919b63a6f4583d8dc464e32b542151359d264f
oRTP @ e56d11d0
Subproject commit 9aae6334aa4268954e32c7a3382e2dbc40b215d0
Subproject commit e56d11d0b062ea96c8356513add39511b7cb4043
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment