<p>Sean Bright has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/18399">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">config.h: Don't use C++ keywords as argument names.<br><br>ASTERISK-30021 #close<br><br>Change-Id: I70eb59b782a4946b979942e21422746b7563029c<br>---<br>M include/asterisk/config.h<br>1 file changed, 7 insertions(+), 6 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/99/18399/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/asterisk/config.h b/include/asterisk/config.h</span><br><span>index afac229..3aef5f1 100644</span><br><span>--- a/include/asterisk/config.h</span><br><span>+++ b/include/asterisk/config.h</span><br><span>@@ -970,10 +970,10 @@</span><br><span> /*!</span><br><span>  * \brief Replace a variable in the given list with a new variable</span><br><span>  *</span><br><span style="color: hsl(0, 100%, 40%);">- * \param head A pointer to the current variable list head.  Since the variable to be</span><br><span style="color: hsl(0, 100%, 40%);">- *             replaced, this pointer may be updated with the new head.</span><br><span style="color: hsl(0, 100%, 40%);">- * \param old  A pointer to the existing variable to be replaced.</span><br><span style="color: hsl(0, 100%, 40%);">- * \param new  A pointer to the new variable that will replace the old one.</span><br><span style="color: hsl(120, 100%, 40%);">+ * \param head   A pointer to the current variable list head.  Since the variable to be</span><br><span style="color: hsl(120, 100%, 40%);">+ *               replaced, this pointer may be updated with the new head.</span><br><span style="color: hsl(120, 100%, 40%);">+ * \param oldvar A pointer to the existing variable to be replaced.</span><br><span style="color: hsl(120, 100%, 40%);">+ * \param newvar A pointer to the new variable that will replace the old one.</span><br><span>  *</span><br><span>  * \retval 0 if a variable was replaced in the list</span><br><span>  * \retval -1 if no replacement occured</span><br><span>@@ -981,8 +981,9 @@</span><br><span>  * \note The search for the old variable is done simply on the pointer.</span><br><span>  * \note If a variable is replaced, its memory is freed.</span><br><span>  */</span><br><span style="color: hsl(0, 100%, 40%);">-int ast_variable_list_replace_variable(struct ast_variable **head, struct ast_variable *old,</span><br><span style="color: hsl(0, 100%, 40%);">-        struct ast_variable *new);</span><br><span style="color: hsl(120, 100%, 40%);">+int ast_variable_list_replace_variable(struct ast_variable **head,</span><br><span style="color: hsl(120, 100%, 40%);">+        struct ast_variable *oldvar,</span><br><span style="color: hsl(120, 100%, 40%);">+  struct ast_variable *newvar);</span><br><span> </span><br><span> /*!</span><br><span>  * \brief Join an ast_variable list with specified separators and quoted values</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/18399">change 18399</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/18399"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I70eb59b782a4946b979942e21422746b7563029c </div>
<div style="display:none"> Gerrit-Change-Number: 18399 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Sean Bright <sean@seanbright.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>