diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index ba54690d3cae5ec8715a6b25ff3b56388beecaab..f6228ae743e447d845f9b86a286069fcce2709a3 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -1519,7 +1519,6 @@ static void handle_request_info(struct sip_pvt *p, struct sip_request *req);
 static int handle_request_options(struct sip_pvt *p, struct sip_request *req);
 static int handle_invite_replaces(struct sip_pvt *p, struct sip_request *req, int debug, int ignore, int seqno, struct sockaddr_in *sin);
 static int handle_request_notify(struct sip_pvt *p, struct sip_request *req, struct sockaddr_in *sin, int seqno, char *e);
-static int handle_invite_replaces(struct sip_pvt *p, struct sip_request *req, int debug, int ignore, int seqno, struct sockaddr_in *sin);
 static int local_attended_transfer(struct sip_pvt *transferer, struct sip_dual *current, struct sip_request *req, int seqno);
 
 /*------Response handling functions */