Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/debug/symtab.c

    rb7fd2a0 r1558d85  
    5050 * @param offset Place to store offset from the symbol address.
    5151 *
    52  * @return Zero on success or an error code, ENOENT if not found,
     52 * @return Zero on success or negative error code, ENOENT if not found,
    5353 *         ENOTSUP if symbol table not available.
    5454 *
    5555 */
    56 errno_t symtab_name_lookup(uintptr_t addr, const char **name, uintptr_t *offset)
     56int symtab_name_lookup(uintptr_t addr, const char **name, uintptr_t *offset)
    5757{
    5858#ifdef CONFIG_SYMTAB
     
    9696{
    9797        const char *name;
    98         errno_t rc = symtab_name_lookup(addr, &name, NULL);
     98        int rc = symtab_name_lookup(addr, &name, NULL);
    9999       
    100100        switch (rc) {
     
    156156 *
    157157 */
    158 errno_t symtab_addr_lookup(const char *name, uintptr_t *addr)
     158int symtab_addr_lookup(const char *name, uintptr_t *addr)
    159159{
    160160#ifdef CONFIG_SYMTAB
Note: See TracChangeset for help on using the changeset viewer.