Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Rename VPP_TEST_FAILED_DIR to FAILED_DIR
[vpp.git]
/
src
/
vppinfra
/
format.h
diff --git
a/src/vppinfra/format.h
b/src/vppinfra/format.h
index
3c4aec9
..
9434447
100644
(file)
--- a/
src/vppinfra/format.h
+++ b/
src/vppinfra/format.h
@@
-68,10
+68,10
@@
word va_fformat (FILE * f, char *fmt, va_list * va);
word fformat (FILE * f, char *fmt, ...);
word fdformat (int fd, char *fmt, ...);
word fformat (FILE * f, char *fmt, ...);
word fdformat (int fd, char *fmt, ...);
-always_inline u
word
+always_inline u
32
format_get_indent (u8 * s)
{
format_get_indent (u8 * s)
{
- u
word
indent = 0;
+ u
32
indent = 0;
u8 *nl;
if (!s)
u8 *nl;
if (!s)
@@
-116,6
+116,7
@@
_(format_timeval);
_(format_time_float);
_(format_signal);
_(format_ucontext_pc);
_(format_time_float);
_(format_signal);
_(format_ucontext_pc);
+_(format_page_map);
#endif
#undef _
#endif
#undef _
@@
-152,7
+153,7
@@
unformat_init (unformat_input_t * i,
uword (*fill_buffer) (unformat_input_t *),
void *fill_buffer_arg)
{
uword (*fill_buffer) (unformat_input_t *),
void *fill_buffer_arg)
{
- memset (i, 0, sizeof (i[0]));
+
clib_
memset (i, 0, sizeof (i[0]));
i->fill_buffer = fill_buffer;
i->fill_buffer_arg = fill_buffer_arg;
}
i->fill_buffer = fill_buffer;
i->fill_buffer_arg = fill_buffer_arg;
}
@@
-162,7
+163,7
@@
unformat_free (unformat_input_t * i)
{
vec_free (i->buffer);
vec_free (i->buffer_marks);
{
vec_free (i->buffer);
vec_free (i->buffer_marks);
- memset (i, 0, sizeof (i[0]));
+
clib_
memset (i, 0, sizeof (i[0]));
}
always_inline uword
}
always_inline uword