summaryrefslogtreecommitdiffstats
path: root/src/vppinfra
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2019-01-21 16:01:41 +0100
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-01-21 16:05:28 +0100
commit1705599efe5eec09c09d2214da776d92d0e4f1cf (patch)
tree58d04d965d05a2f8a4ed507fdab5d8ac9beb5e53 /src/vppinfra
parent6e5f93e70da602cc6923ad1b392cc836fd0a519f (diff)
doxygen formatting fix: prevent stray examples appearing in the docs
The 'example' keyword triggers the creation of very out-of-context example in the "Examples" top level of documentation. Rename the keyword in the comment so the comment is still readable, but does not trigger the doxygen. Change-Id: Iecbdc236918f9178a034817aa6cea7ab6b2c1654 Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src/vppinfra')
-rw-r--r--src/vppinfra/string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vppinfra/string.c b/src/vppinfra/string.c
index feae5b9165c..bf6b24894e2 100644
--- a/src/vppinfra/string.c
+++ b/src/vppinfra/string.c
@@ -385,7 +385,7 @@ strncat_s (char *__restrict__ dest, rsize_t dmax,
* s1max and ptr are modified to contain the state
* null runtime constraint error or token is not found
*
- * @example
+ * Example:
* char *str2 = " ";
* char str1[100];
* uword len;
@@ -457,7 +457,7 @@ strnlen_s (const char *s, size_t maxsize)
* EINVAL runtime constraint error
* ESRCH no match
*
- * @example
+ * Example:
* char *sub = 0;
* char *s1 = "success is not final, failure is not fatal.";
*