Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(243)

Side by Side Diff: fusl/include/sys/sysmacros.h

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #ifndef _SYS_SYSMACROS_H 1 #ifndef _SYS_SYSMACROS_H
2 #define _SYS_SYSMACROS_H 2 #define _SYS_SYSMACROS_H
3 3
4 #define major(x) \ 4 #define major(x) \
5 » ((unsigned)( (((x)>>31>>1) & 0xfffff000) | (((x)>>8) & 0x00000fff) )) 5 ((unsigned)((((x) >> 31 >> 1) & 0xfffff000) | (((x) >> 8) & 0x00000fff)))
6 #define minor(x) \ 6 #define minor(x) ((unsigned)((((x) >> 12) & 0xffffff00) | ((x)&0x000000ff)))
7 » ((unsigned)( (((x)>>12) & 0xffffff00) | ((x) & 0x000000ff) ))
8 7
9 #define makedev(x,y) ( \ 8 #define makedev(x, y) \
10 (((x)&0xfffff000ULL) << 32) | \ 9 ((((x)&0xfffff000ULL) << 32) | (((x)&0x00000fffULL) << 8) | \
11 » (((x)&0x00000fffULL) << 8) | \ 10 (((y)&0xffffff00ULL) << 12) | (((y)&0x000000ffULL)))
12 (((y)&0xffffff00ULL) << 12) | \
13 » (((y)&0x000000ffULL)) )
14 11
15 #endif 12 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698