Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/bithenge/src/failure.c

    r39330200 r8d2dd7f2  
    8585{
    8686        g_initialized = 1;
    87         errno_t rc = atexit(atexit_handler);
     87        int rc = atexit(atexit_handler);
    8888        if (rc)
    8989                exit(127);
     
    9696/* Record a hit for a backtrace address and return whether this is the first
    9797 * hit. */
    98 static inline errno_t backtrace_item_hit(void *addr)
     98static inline int backtrace_item_hit(void *addr)
    9999{
    100100        backtrace_item_t **bip;
     
    120120}
    121121
    122 errno_t bithenge_should_fail(void)
     122int bithenge_should_fail(void)
    123123{
    124124        g_failure_index++;
     
    202202}
    203203
    204 errno_t bithenge_failure_ferror(FILE *stream)
     204int bithenge_failure_ferror(FILE *stream)
    205205{
    206206        if (bithenge_should_fail())
     
    216216}
    217217
    218 errno_t bithenge_failure_open(const char *pathname, int flags)
     218int bithenge_failure_open(const char *pathname, int flags)
    219219{
    220220        if (bithenge_should_fail()) {
     
    225225}
    226226
    227 errno_t bithenge_failure_fstat(int fd, vfs_stat_t *buf)
     227int bithenge_failure_fstat(int fd, struct stat *buf)
    228228{
    229229        if (bithenge_should_fail()) {
Note: See TracChangeset for help on using the changeset viewer.