[Asterisk-code-review] spelling: function (asterisk[master])
Josh Soref
asteriskteam at digium.com
Sun Nov 7 00:08:44 CDT 2021
Josh Soref has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/16942 )
Change subject: spelling: function
......................................................................
spelling: function
Change-Id: I812d8c6032b2caca54602c2a425e1f0b5d436824
---
M CHANGES
M addons/ooh323c/src/ooGkClient.c
M addons/ooh323c/src/ooasn1.h
M addons/ooh323c/src/ooh245.h
M channels/chan_iax2.c
M codecs/lpc10/dyptrk.c
M codecs/lpc10/voicin.c
M include/asterisk/message.h
M main/pbx.c
M pbx/pbx_lua.c
M res/res_parking.c
M res/res_xmpp.c
12 files changed, 14 insertions(+), 14 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/42/16942/1
diff --git a/CHANGES b/CHANGES
index 1f6c978..c14876b 100644
--- a/CHANGES
+++ b/CHANGES
@@ -3269,7 +3269,7 @@
Functions
------------------
* A new function, TALK_DETECT, has been added. When set on a channel, this
- fucntion causes events indicating the starting/stoping of talking on said
+ function causes events indicating the starting/stoping of talking on said
channel to be emitted to both AMI and ARI clients.
------------------------------------------------------------------------------
diff --git a/addons/ooh323c/src/ooGkClient.c b/addons/ooh323c/src/ooGkClient.c
index 5ec33ee..bcbe39c 100644
--- a/addons/ooh323c/src/ooGkClient.c
+++ b/addons/ooh323c/src/ooGkClient.c
@@ -2870,7 +2870,7 @@
}
/**
- * TODO: This fuction might not work properly in case of additive registrations
+ * TODO: This function might not work properly in case of additive registrations
* For example we registrered 10 aliases and gatekeeper accepted 8 of them.
* Now we want to register another two new aliases(not out of those first 10).
* Gk responds with RCF with empty terminalAlias field thus indicating both
diff --git a/addons/ooh323c/src/ooasn1.h b/addons/ooh323c/src/ooasn1.h
index 0b25a30..92aadfa 100644
--- a/addons/ooh323c/src/ooasn1.h
+++ b/addons/ooh323c/src/ooasn1.h
@@ -1663,7 +1663,7 @@
EXTERN int encodebitsFromOctet (OOCTXT* pctxt, ASN1OCTET value, ASN1UINT nbits);
/**
- * This fuction will encode an array of octets. The Octets will be encoded
+ * This function will encode an array of octets. The Octets will be encoded
* unaligned starting at the current bit offset within the encode buffer.
*
* @param pctxt A pointer to a context structure. The provides a storage
diff --git a/addons/ooh323c/src/ooh245.h b/addons/ooh323c/src/ooh245.h
index f21e7ce..7d9bc7b 100644
--- a/addons/ooh323c/src/ooh245.h
+++ b/addons/ooh323c/src/ooh245.h
@@ -127,7 +127,7 @@
EXTERN ASN1UINT ooGenerateStatusDeterminationNumber(void);
/**
- * This fuction is used to handle received MasterSlaveDetermination procedure
+ * This function is used to handle received MasterSlaveDetermination procedure
* messages.
* @param call Pointer to the call for which a message is received.
* @param pmsg Pointer to MSD message
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c
index 3a1451c..e58904d 100644
--- a/channels/chan_iax2.c
+++ b/channels/chan_iax2.c
@@ -2004,7 +2004,7 @@
}
/*!
- * \note This funtion calls realtime_peer -> reg_source_db -> iax2_poke_peer -> find_callno,
+ * \note This function calls realtime_peer -> reg_source_db -> iax2_poke_peer -> find_callno,
* so do not call it with a pvt lock held.
*/
static struct iax2_peer *find_peer(const char *name, int realtime)
diff --git a/codecs/lpc10/dyptrk.c b/codecs/lpc10/dyptrk.c
index ff5faf6..f7c00c9 100644
--- a/codecs/lpc10/dyptrk.c
+++ b/codecs/lpc10/dyptrk.c
@@ -315,7 +315,7 @@
if (*voice == 0 && *alphax < 128.f) {
alpha = 8.f;
}
-/* SEESAW: Construct a pitch pointer array and intermediate winner functio
+/* SEESAW: Construct a pitch pointer array and intermediate winner function
n*/
/* Left to right pass: */
iptr = *ipoint + 1;
diff --git a/codecs/lpc10/voicin.c b/codecs/lpc10/voicin.c
index 58125b5..8d80e0d 100644
--- a/codecs/lpc10/voicin.c
+++ b/codecs/lpc10/voicin.c
@@ -542,7 +542,7 @@
/* SNR. The last element of the vector is the constant. */
/* E ZC RC1 Qs IVRC2 aRb aRf c */
-/* The VOICE array contains the result of the linear discriminant functio
+/* The VOICE array contains the result of the linear discriminant function
n*/
/* (analog values). The VOIBUF array contains the hard-limited binary
*/
diff --git a/include/asterisk/message.h b/include/asterisk/message.h
index 94b5e91..09307a0 100644
--- a/include/asterisk/message.h
+++ b/include/asterisk/message.h
@@ -352,7 +352,7 @@
/*!
* \brief Queue a message for routing through the dialplan.
*
- * Regardless of the return value of this function, this funciton will take
+ * Regardless of the return value of this function, this function will take
* care of ensuring that the message object is properly destroyed when needed.
*
* \retval 0 message successfully queued
@@ -363,7 +363,7 @@
/*!
* \brief Send a msg directly to an endpoint.
*
- * Regardless of the return value of this function, this funciton will take
+ * Regardless of the return value of this function, this function will take
* care of ensuring that the message object is properly destroyed when needed.
*
* \retval 0 message successfully queued to be sent out
diff --git a/main/pbx.c b/main/pbx.c
index 8fb00a5..baa0ba1 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -4970,7 +4970,7 @@
}
/*!
- * \brief This functionc locks given context, search for the right extension and
+ * \brief This function locks given context, search for the right extension and
* fires out all peer in this extensions with given priority. If priority
* is set to 0, all peers are removed. After that, unlock context and
* return.
diff --git a/pbx/pbx_lua.c b/pbx/pbx_lua.c
index 6f36790..c1f4535 100644
--- a/pbx/pbx_lua.c
+++ b/pbx/pbx_lua.c
@@ -176,7 +176,7 @@
* \param L the lua_State to use
* \return nothing
*
- * This funciton is executed as the '()' operator for apps accessed through the
+ * This function is executed as the '()' operator for apps accessed through the
* 'app' table.
*
* \code
@@ -568,7 +568,7 @@
lua_pushvalue(L, 2);
lua_push_variable_table(L);
- /* if this is not a request for a dialplan funciton attempt to retrieve
+ /* if this is not a request for a dialplan function attempt to retrieve
* the value of the variable */
if (!ast_strlen_zero(name) && name[strlen(name) - 1] != ')') {
pbx_retrieve_variable(chan, name, &value, workspace, LUA_BUF_SIZE, ast_channel_varshead(chan));
diff --git a/res/res_parking.c b/res/res_parking.c
index cde82d2..725a7ce 100644
--- a/res/res_parking.c
+++ b/res/res_parking.c
@@ -663,7 +663,7 @@
void parking_lot_cfg_remove_extensions(struct parking_lot_cfg *lot_cfg)
{
if (!ast_strlen_zero(lot_cfg->registrar)) {
- /* Although the function is called ast_context_destroy, the use of this funtion is
+ /* Although the function is called ast_context_destroy, the use of this function is
* intended only to remove extensions, hints, etc registered by the parking lot's registrar.
* It won't actually destroy the context unless that context is empty afterwards and it is
* unreferenced.
diff --git a/res/res_xmpp.c b/res/res_xmpp.c
index f11e4fe..6d1404d 100644
--- a/res/res_xmpp.c
+++ b/res/res_xmpp.c
@@ -1660,7 +1660,7 @@
/*!
* \internal
- * \brief Dial plan funtcion to retrieve the status of a buddy.
+ * \brief Dial plan function to retrieve the status of a buddy.
* \param channel The associated ast_channel, if there is one
* \param data The account, buddy JID, and optional timeout
* timeout.
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/16942
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I812d8c6032b2caca54602c2a425e1f0b5d436824
Gerrit-Change-Number: 16942
Gerrit-PatchSet: 1
Gerrit-Owner: Josh Soref <jsoref at gmail.com>
Gerrit-CC: Friendly Automation
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20211107/444da2b9/attachment-0001.html>
More information about the asterisk-code-review
mailing list