diff --git a/channels/chan_oss.c b/channels/chan_oss.c
index 903d9913684593cee13cb802e31f82508fc76e61..15e9b82c29bef0a2002777c38e2d5701f3b25a0d 100755
--- a/channels/chan_oss.c
+++ b/channels/chan_oss.c
@@ -661,7 +661,7 @@ static struct ast_frame *oss_read(struct ast_channel *chan)
 	return &f;
 }
 
-static int oss_fixup(struct ast_channel *oldchan, struct ast_channel *newchan, int needlock)
+static int oss_fixup(struct ast_channel *oldchan, struct ast_channel *newchan)
 {
 	struct chan_oss_pvt *p = newchan->pvt->pvt;
 	p->owner = newchan;