Remove trailing whitespaces

using ':%s/\s\+$//' pointed by seanbright on #asterisk-dev


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@156535 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Eliel C. Sardanons
2008-11-13 13:08:34 +00:00
parent 59cfe2793c
commit df6b78b742
3 changed files with 11 additions and 11 deletions

View File

@@ -17,14 +17,14 @@
#ifndef _ASTERISK_XML_H #ifndef _ASTERISK_XML_H
#define _ASTERISK_XML_H #define _ASTERISK_XML_H
/*! \file /*! \file
* \brief Asterisk XML abstraction layer * \brief Asterisk XML abstraction layer
*/ */
struct ast_xml_node; struct ast_xml_node;
struct ast_xml_doc; struct ast_xml_doc;
/*! \brief Initialize the XML library implementation. /*! \brief Initialize the XML library implementation.
* This function is used to setup everything needed * This function is used to setup everything needed
* to start working with the xml implementation. * to start working with the xml implementation.
* \retval 0 On success. * \retval 0 On success.
@@ -32,7 +32,7 @@ struct ast_xml_doc;
*/ */
int ast_xml_init(void); int ast_xml_init(void);
/*! \brief Cleanup library allocated global data. /*! \brief Cleanup library allocated global data.
* \retval 0 On success. * \retval 0 On success.
* \retval 1 On error. * \retval 1 On error.
*/ */
@@ -58,7 +58,7 @@ void ast_xml_close(struct ast_xml_doc *doc);
*/ */
struct ast_xml_node *ast_xml_get_root(struct ast_xml_doc *doc); struct ast_xml_node *ast_xml_get_root(struct ast_xml_doc *doc);
/*! \brief Free node /*! \brief Free node
* \param node Node to be released. * \param node Node to be released.
*/ */
void ast_xml_free_node(struct ast_xml_node *node); void ast_xml_free_node(struct ast_xml_node *node);

View File

@@ -17,7 +17,7 @@
#ifndef _ASTERISK_XMLDOC_H #ifndef _ASTERISK_XMLDOC_H
#define _ASTERISK_XMLDOC_H #define _ASTERISK_XMLDOC_H
/*! \file /*! \file
* \brief Asterisk XML Documentation API * \brief Asterisk XML Documentation API
*/ */

View File

@@ -38,7 +38,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
/*! \brief Default documentation language. */ /*! \brief Default documentation language. */
static const char default_documentation_language[] = "en_US"; static const char default_documentation_language[] = "en_US";
/*! \brief Number of columns to print when showing the XML documentation with a /*! \brief Number of columns to print when showing the XML documentation with a
* 'core show application/function *' CLI command. Used in text wrapping.*/ * 'core show application/function *' CLI command. Used in text wrapping.*/
static const int xmldoc_text_columns = 74; static const int xmldoc_text_columns = 74;
@@ -503,7 +503,7 @@ static struct ast_xml_node *xmldoc_get_node(const char *type, const char *name,
/*! \internal /*! \internal
* \brief Helper function used to build the syntax, it allocates the needed buffer (or reallocates it), * \brief Helper function used to build the syntax, it allocates the needed buffer (or reallocates it),
* and based on the reverse value it makes use of fmt to print the parameter list inside the * and based on the reverse value it makes use of fmt to print the parameter list inside the
* realloced buffer (syntax). * realloced buffer (syntax).
* \param reverse We are going backwards while generating the syntax? * \param reverse We are going backwards while generating the syntax?
* \param len Current length of 'syntax' buffer. * \param len Current length of 'syntax' buffer.
@@ -808,12 +808,12 @@ static char *xmldoc_get_syntax_fun(struct ast_xml_node *rootnode, const char *ro
#undef MP #undef MP
} }
/*! \internal /*! \internal
* \brief Parse an enumlist inside a <parameter> to generate a COMMAND * \brief Parse an enumlist inside a <parameter> to generate a COMMAND
* syntax. * syntax.
* \param fixnode A pointer to the <enumlist> node. * \param fixnode A pointer to the <enumlist> node.
* \retval {<unknown>} on error. * \retval {<unknown>} on error.
* \retval A string inside brackets {} with the enum's separated by pipes |. * \retval A string inside brackets {} with the enum's separated by pipes |.
*/ */
static char *xmldoc_parse_cmd_enumlist(struct ast_xml_node *fixnode) static char *xmldoc_parse_cmd_enumlist(struct ast_xml_node *fixnode)
{ {
@@ -855,7 +855,7 @@ static char *xmldoc_parse_cmd_enumlist(struct ast_xml_node *fixnode)
} }
/*! \internal /*! \internal
* \brief Generate a syntax of COMMAND type. * \brief Generate a syntax of COMMAND type.
* \param fixnode The <syntax> node pointer. * \param fixnode The <syntax> node pointer.
* \param name The name of the 'command'. * \param name The name of the 'command'.
* \param printname Print the name of the command before the paramters? * \param printname Print the name of the command before the paramters?
@@ -1050,7 +1050,7 @@ static int xmldoc_parse_para(struct ast_xml_node *node, const char *tabs, const
ast_xml_free_text(tmptext); ast_xml_free_text(tmptext);
if (tmpstr) { if (tmpstr) {
if (strcasecmp(ast_xml_node_get_name(tmp), "text")) { if (strcasecmp(ast_xml_node_get_name(tmp), "text")) {
ast_str_append(buffer, 0, "<%s>%s</%s>", ast_xml_node_get_name(tmp), ast_str_append(buffer, 0, "<%s>%s</%s>", ast_xml_node_get_name(tmp),
tmpstr->str, ast_xml_node_get_name(tmp)); tmpstr->str, ast_xml_node_get_name(tmp));
} else { } else {
ast_str_append(buffer, 0, "%s", tmpstr->str); ast_str_append(buffer, 0, "%s", tmpstr->str);