Changeset 34b9299 in mainline for uspace/lib/c/include/macros.h
- Timestamp:
- 2012-10-31T19:47:53Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 82d062d8
- Parents:
- f0da6855
- git-author:
- Adam Hraska <adam.hraska@…> (2012-10-31 19:47:53)
- git-committer:
- Jakub Jermar <jakub@…> (2012-10-31 19:47:53)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/macros.h
rf0da6855 r34b9299 38 38 #define min(a, b) ((a) < (b) ? (a) : (b)) 39 39 #define max(a, b) ((a) > (b) ? (a) : (b)) 40 #define abs(a) ((a) >= 0 ? (a) : (-a)) 41 40 42 41 43 #define KiB2SIZE(kb) ((kb) << 10)
Note:
See TracChangeset
for help on using the changeset viewer.