[asterisk-commits] pcadach: branch pcadach/chan_h323-live r39508 -
/team/pcadach/chan_h323-live/...
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Aug 10 22:24:42 MST 2006
Author: pcadach
Date: Fri Aug 11 00:24:42 2006
New Revision: 39508
URL: http://svn.digium.com/view/asterisk?rev=39508&view=rev
Log:
Clean-up compiler warnings
Modified:
team/pcadach/chan_h323-live/channels/chan_h323.c
Modified: team/pcadach/chan_h323-live/channels/chan_h323.c
URL: http://svn.digium.com/view/asterisk/team/pcadach/chan_h323-live/channels/chan_h323.c?rev=39508&r1=39507&r2=39508&view=diff
==============================================================================
--- team/pcadach/chan_h323-live/channels/chan_h323.c (original)
+++ team/pcadach/chan_h323-live/channels/chan_h323.c Fri Aug 11 00:24:42 2006
@@ -921,7 +921,7 @@
}
}
-struct oh323_user *find_user(const call_details_t *cd)
+static struct oh323_user *find_user(const call_details_t *cd)
{
struct oh323_user *u;
u = userl.users;
@@ -943,7 +943,7 @@
return u;
}
-struct oh323_peer *find_peer(const char *peer, struct sockaddr_in *sin)
+static struct oh323_peer *find_peer(const char *peer, struct sockaddr_in *sin)
{
struct oh323_peer *p = NULL;
@@ -1135,7 +1135,7 @@
* Callback for sending digits from H.323 up to asterisk
*
*/
-int send_digit(unsigned call_reference, char digit, const char *token)
+static int send_digit(unsigned call_reference, char digit, const char *token)
{
struct oh323_pvt *pvt;
struct ast_frame f;
@@ -1166,7 +1166,7 @@
*
* Returns the local RTP information
*/
-struct rtp_info *external_rtp_create(unsigned call_reference, const char * token)
+static struct rtp_info *external_rtp_create(unsigned call_reference, const char * token)
{
struct oh323_pvt *pvt;
struct sockaddr_in us;
@@ -1208,7 +1208,7 @@
*
* Returns nothing
*/
-void setup_rtp_connection(unsigned call_reference, const char *remoteIp, int remotePort, const char *token, int pt)
+static void setup_rtp_connection(unsigned call_reference, const char *remoteIp, int remotePort, const char *token, int pt)
{
struct oh323_pvt *pvt;
struct sockaddr_in them;
@@ -1262,7 +1262,7 @@
* Call-back function to signal asterisk that the channel has been answered
* Returns nothing
*/
-void connection_made(unsigned call_reference, const char *token)
+static void connection_made(unsigned call_reference, const char *token)
{
struct oh323_pvt *pvt;
@@ -1286,7 +1286,7 @@
return;
}
-int progress(unsigned call_reference, const char *token, int inband)
+static int progress(unsigned call_reference, const char *token, int inband)
{
struct oh323_pvt *pvt;
@@ -1314,7 +1314,7 @@
*
* Returns 1 on success
*/
-call_options_t *setup_incoming_call(call_details_t *cd)
+static call_options_t *setup_incoming_call(call_details_t *cd)
{
struct oh323_pvt *pvt;
struct oh323_user *user = NULL;
@@ -1450,7 +1450,7 @@
*
* Returns 1 on success
*/
-int setup_outgoing_call(call_details_t *cd)
+static int setup_outgoing_call(call_details_t *cd)
{
/* Use argument here or free it immediately */
cleanup_call_details(cd);
@@ -1462,7 +1462,7 @@
* Call-back function to signal asterisk that the channel is ringing
* Returns nothing
*/
-void chan_ringing(unsigned call_reference, const char *token)
+static void chan_ringing(unsigned call_reference, const char *token)
{
struct oh323_pvt *pvt;
@@ -1562,7 +1562,7 @@
ast_mutex_unlock(&pvt->lock);
}
-void set_dtmf_payload(unsigned call_reference, const char *token, int payload)
+static void set_dtmf_payload(unsigned call_reference, const char *token, int payload)
{
struct oh323_pvt *pvt;
@@ -1662,7 +1662,7 @@
}
if (monitor_thread == pthread_self()) {
ast_mutex_unlock(&monlock);
- ast_log(LOG_WARNING, "Cannot kill myself\n", monitor_thread);
+ ast_log(LOG_WARNING, "Cannot kill myself\n");
return -1;
}
if (monitor_thread && (monitor_thread != AST_PTHREADT_NULL)) {
@@ -2026,7 +2026,7 @@
return peer;
}
-int reload_config(void)
+static int reload_config(void)
{
int format;
struct ast_config *cfg;
@@ -2189,7 +2189,7 @@
return 0;
}
-void delete_users(void)
+static void delete_users(void)
{
struct oh323_user *user, *userlast;
struct oh323_peer *peer;
@@ -2212,7 +2212,7 @@
ast_mutex_unlock(&peerl.lock);
}
-void delete_aliases(void)
+static void delete_aliases(void)
{
struct oh323_alias *alias, *aliaslast;
@@ -2227,7 +2227,7 @@
ast_mutex_unlock(&aliasl.lock);
}
-void prune_peers(void)
+static void prune_peers(void)
{
/* Prune peers who still are supposed to be deleted */
struct oh323_peer *peer, *peerlast, *peernext;
More information about the asterisk-commits
mailing list