summaryrefslogtreecommitdiff
path: root/channels/sip/include/dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'channels/sip/include/dialog.h')
-rw-r--r--channels/sip/include/dialog.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/channels/sip/include/dialog.h b/channels/sip/include/dialog.h
index ed31b7774..d4024c068 100644
--- a/channels/sip/include/dialog.h
+++ b/channels/sip/include/dialog.h
@@ -57,10 +57,13 @@ void __sip_destroy(struct sip_pvt *p, int lockowner, int lockdialoglist);
* \brief Unlink a dialog from the dialogs container, as well as any other places
* that it may be currently stored.
*
- * \note A reference to the dialog must be held before calling this function, and this
- * function does not release that reference.
+ * \note A reference to the dialog must be held before calling
+ * this function, and this function does not release that
+ * reference.
+ *
+ * \note The dialog must not be locked when called.
*/
-void *dialog_unlink_all(struct sip_pvt *dialog, int lockowner, int lockdialoglist);
+void dialog_unlink_all(struct sip_pvt *dialog);
/*! \brief Acknowledges receipt of a packet and stops retransmission
* called with p locked*/