Changeset 5a6cc679 in mainline for uspace/lib/c/include/stacktrace.h


Ignore:
Timestamp:
2018-01-31T02:21:24Z (8 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a0a9cc2
Parents:
132ab5d1
Message:

Merge commit '50f19b7ee8e94570b5c63896736c4eb49cfa18db' into forwardport

Not all ints are converted to errno_t in xhci tree yet, however it compiles and works :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/stacktrace.h

    r132ab5d1 r5a6cc679  
    3737#define LIBC_STACKTRACE_H_
    3838
     39#include <errno.h>
    3940#include <stdint.h>
    4041#include <stdbool.h>
    4142
    4243typedef struct {
    43         int (*read_uintptr)(void *, uintptr_t, uintptr_t *);
     44        errno_t (*read_uintptr)(void *, uintptr_t, uintptr_t *);
    4445} stacktrace_ops_t;
    4546
     
    5859 */
    5960extern bool stacktrace_fp_valid(stacktrace_t *, uintptr_t);
    60 extern int stacktrace_fp_prev(stacktrace_t *, uintptr_t, uintptr_t *);
    61 extern int stacktrace_ra_get(stacktrace_t *, uintptr_t, uintptr_t *);
     61extern errno_t stacktrace_fp_prev(stacktrace_t *, uintptr_t, uintptr_t *);
     62extern errno_t stacktrace_ra_get(stacktrace_t *, uintptr_t, uintptr_t *);
    6263
    6364extern void stacktrace_prepare(void);
Note: See TracChangeset for help on using the changeset viewer.