Changeset 0328987 in mainline


Ignore:
Timestamp:
2015-10-06T19:05:41Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5265eea4
Parents:
6afc9d7
Message:

The macro errnify() is no longer needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/source/internal/common.h

    r6afc9d7 r0328987  
    4848        } while (0)
    4949
    50 /* Convert negative error return value to positive errno */
    51 #define errnify(func, ...) ({ \
    52         int rc = func(__VA_ARGS__); \
    53         if (rc < 0) { \
    54                 errno = -rc; \
    55                 rc = -1; \
    56         } \
    57         rc; \
    58 })
    59 
    6050/* Convert negative errno to positive errno */
    6151#define negerrno(func, ...) ({ \
Note: See TracChangeset for help on using the changeset viewer.