Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vppinfra: move sha2.h to crypto/
[vpp.git]
/
src
/
vppinfra
/
elf_clib.c
diff --git
a/src/vppinfra/elf_clib.c
b/src/vppinfra/elf_clib.c
index
ea63a16
..
d2865f8
100644
(file)
--- a/
src/vppinfra/elf_clib.c
+++ b/
src/vppinfra/elf_clib.c
@@
-94,7
+94,7
@@
path_search (char *file)
result = 0;
if (i < vec_len (ps.path))
result = 0;
if (i < vec_len (ps.path))
- result = (char *) format (0, "%s/%s%c", ps.path[i], file);
+ result = (char *) format (0, "%s/%s%c", ps.path[i], file
, 0
);
path_search_free (&ps);
path_search_free (&ps);
@@
-259,7
+259,7
@@
add_section (struct dl_phdr_info *info, size_t size, void *opaque)
static clib_elf_main_t clib_elf_main;
static clib_elf_main_t clib_elf_main;
-void
+
__clib_export
void
clib_elf_main_init (char *exec_path)
{
clib_elf_main_t *cem = &clib_elf_main;
clib_elf_main_init (char *exec_path)
{
clib_elf_main_t *cem = &clib_elf_main;
@@
-351,7
+351,7
@@
format_clib_elf_symbol (u8 * s, va_list * args)
}
}
}
}
-u8 *
+
__clib_export
u8 *
format_clib_elf_symbol_with_address (u8 * s, va_list * args)
{
uword address = va_arg (*args, uword);
format_clib_elf_symbol_with_address (u8 * s, va_list * args)
{
uword address = va_arg (*args, uword);