summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2017-12-20 12:14:54 -0500
committerCorey Farrell <git@cfware.com>2017-12-20 12:54:13 -0500
commit82b6ba976fc679d4079abbe6d4e8ecc17cdc5ce6 (patch)
tree68ecc223be13a2afc7364cc26020c77b0e735b54 /include
parent4f45748f52bee763977cd7ff13d24d3d6e3c8de4 (diff)
Fix Common Typo's.
Fix instances of: * Retreive * Recieve * other then * different then * Repeated words ("the the", "an an", "and and", etc). * othterwise, teh ASTERISK-24198 #close Change-Id: I3809a9c113b92fd9d0d9f9bac98e9c66dc8b2d31
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/ast_version.h2
-rw-r--r--include/asterisk/astobj2.h4
-rw-r--r--include/asterisk/bridge_after.h2
-rw-r--r--include/asterisk/bridge_features.h2
-rw-r--r--include/asterisk/callerid.h2
-rw-r--r--include/asterisk/http.h2
-rw-r--r--include/asterisk/parking.h4
-rw-r--r--include/asterisk/pbx.h2
-rw-r--r--include/asterisk/strings.h2
9 files changed, 11 insertions, 11 deletions
diff --git a/include/asterisk/ast_version.h b/include/asterisk/ast_version.h
index 1ceac30fe..ff9c42f74 100644
--- a/include/asterisk/ast_version.h
+++ b/include/asterisk/ast_version.h
@@ -41,7 +41,7 @@ const char *ast_get_version(void);
*/
const char *ast_get_version_num(void);
-/*! Retreive the Asterisk build options */
+/*! Retrieve the Asterisk build options */
const char *ast_get_build_opts(void);
#endif /* __AST_VERSION_H */
diff --git a/include/asterisk/astobj2.h b/include/asterisk/astobj2.h
index 390e0ea1b..53f10cc0f 100644
--- a/include/asterisk/astobj2.h
+++ b/include/asterisk/astobj2.h
@@ -164,7 +164,7 @@ each case is supposed to be a string pointer, a "tag", that should contain
enough of an explanation, that you can pair operations that increment the
ref count, with operations that are meant to decrement the refcount.
-Each of these calls will generate at least one line of output in in the refs
+Each of these calls will generate at least one line of output in the refs
log files. These lines look like this:
...
0x8756f00,+1,1234,chan_sip.c,22240,load_module,**constructor**,allocate users
@@ -977,7 +977,7 @@ enum search_flags {
OBJ_NODATA = (1 << 1),
/*!
* Don't stop at the first match in ao2_callback() unless the
- * result of of the callback function has the CMP_STOP bit set.
+ * result of the callback function has the CMP_STOP bit set.
*/
OBJ_MULTIPLE = (1 << 2),
/*!
diff --git a/include/asterisk/bridge_after.h b/include/asterisk/bridge_after.h
index 045168571..d4fcbeaf6 100644
--- a/include/asterisk/bridge_after.h
+++ b/include/asterisk/bridge_after.h
@@ -33,7 +33,7 @@
extern "C" {
#endif
-/*! Reason the the after bridge callback will not be called. */
+/*! Reason the after bridge callback will not be called. */
enum ast_bridge_after_cb_reason {
/*! The datastore is being destroyed. Likely due to hangup. (Enum value must be zero.) */
AST_BRIDGE_AFTER_CB_REASON_DESTROY,
diff --git a/include/asterisk/bridge_features.h b/include/asterisk/bridge_features.h
index df01a0dca..38b478e7a 100644
--- a/include/asterisk/bridge_features.h
+++ b/include/asterisk/bridge_features.h
@@ -719,7 +719,7 @@ int ast_bridge_features_limits_construct(struct ast_bridge_features_limits *limi
* \param limits pointer to an ast_bridge_features_limits struct that needs to be destroyed
*
* This function does not free memory allocated to the ast_bridge_features_limits struct, it only frees elements within the struct.
- * You must still call ast_free on the the struct if you allocated it with malloc.
+ * You must still call ast_free on the struct if you allocated it with malloc.
*/
void ast_bridge_features_limits_destroy(struct ast_bridge_features_limits *limits);
diff --git a/include/asterisk/callerid.h b/include/asterisk/callerid.h
index f7d7719d2..143ffae23 100644
--- a/include/asterisk/callerid.h
+++ b/include/asterisk/callerid.h
@@ -240,7 +240,7 @@ void ast_shrink_phone_number(char *n);
int ast_isphonenumber(const char *n);
/*!
- * \brief Check if a string consists only of digits and and + \# ( ) - .
+ * \brief Check if a string consists only of digits and + \# ( ) - .
* (meaning it can be cleaned with ast_shrink_phone_number)
* \param exten The extension (or URI) to be checked.
* \retval 1 if string is valid AST shrinkable phone number
diff --git a/include/asterisk/http.h b/include/asterisk/http.h
index d5f54cc65..63fb223bf 100644
--- a/include/asterisk/http.h
+++ b/include/asterisk/http.h
@@ -316,7 +316,7 @@ int ast_http_response_status_line(const char *buf, const char *version, int code
* \param name out parameter pointing to the header name
* \param value out parameter pointing to header value
* \return -1 if buf is empty
- * \return 0 if buf could be separated into into name and value
+ * \return 0 if buf could be separated into name and value
* \return 1 if name or value portion don't exist
* \since 13
*/
diff --git a/include/asterisk/parking.h b/include/asterisk/parking.h
index 1cf750c08..afe12c914 100644
--- a/include/asterisk/parking.h
+++ b/include/asterisk/parking.h
@@ -164,7 +164,7 @@ struct ast_parking_bridge_feature_fn_table {
* \param parker The \ref bridge_channel object that is initiating the parking
* \param context The context to blind transfer to
* \param exten The extension to blind transfer to
- * \param parked_channel_cb Execute the following function on the the channel that gets parked
+ * \param parked_channel_cb Execute the following function on the channel that gets parked
* \param parked_channel_data Data for the parked_channel_cb
*
* \note If the bridge \ref parker is in has more than one other occupant, the entire
@@ -236,7 +236,7 @@ int ast_parking_park_call(struct ast_bridge_channel *parker, char *exten, size_t
* \param context The context to blind transfer to
* \param exten The extension to blind transfer to
* \param exten The extension to blind transfer to
- * \param parked_channel_cb Execute the following function on the the channel that gets parked
+ * \param parked_channel_cb Execute the following function on the channel that gets parked
* \param parked_channel_data Data for the parked_channel_cb
*
* \note If the bridge \ref parker is in has more than one other occupant, the entire
diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h
index 770a1a984..b88a3f67b 100644
--- a/include/asterisk/pbx.h
+++ b/include/asterisk/pbx.h
@@ -1094,7 +1094,7 @@ int ast_rdlock_context(struct ast_context *con);
int ast_unlock_context(struct ast_context *con);
/*!
- * \brief locks the macrolock in the given given context
+ * \brief locks the macrolock in the given context
*
* \param macrocontext name of the macro-context to lock
*
diff --git a/include/asterisk/strings.h b/include/asterisk/strings.h
index 963519dc7..d93630af3 100644
--- a/include/asterisk/strings.h
+++ b/include/asterisk/strings.h
@@ -256,7 +256,7 @@ enum ast_strsep_flags {
/*!
\brief Act like strsep but ignore separators inside quotes.
- \param s Pointer to address of the the string to be processed.
+ \param s Pointer to address of the string to be processed.
Will be modified and can't be constant.
\param sep A single character delimiter.
\param flags Controls post-processing of the result.