Changeset 69138 in vbox for trunk/src/VBox/Additions/linux/drm
- Timestamp:
- Oct 20, 2017 8:33:43 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/indent.sed
r69034 r69138 43 43 } 44 44 /^\/\* \$Id:.*\*\/$/d 45 /^typedef .* HGSMIOFFSET; $/d46 /^typedef .* HGSMISIZE; $/d47 s/^#\( *\)include <\([^/]*\)> $/#\1include "\2"/g45 /^typedef .* HGSMIOFFSET;/d 46 /^typedef .* HGSMISIZE;/d 47 s/^#\( *\)include <\([^/]*\)>/#\1include "\2"/g 48 48 49 49 # File names: … … 88 88 s/\bVBVO_PORT_WRITE_U16\b *( *\(\b[^(),]*\b\) *, *\(\b[^(),]*\b\) *)/outw(\2, \1)/g 89 89 s/\bVBVO_PORT_WRITE_U32\b *( *\(\b[^(),]*\b\) *, *\(\b[^(),]*\b\) *)/outl(\2, \1)/g 90 s/\bVBVO_PORT_WRITE_U[0-9]*\b/VBVO_PORT_WRITE_statement_should_be_on_one_line/g 90 91 91 92 # Macros: 92 93 s/\b_1K\b/1024/g 93 94 s/\b_4M\b/4*1024*1024/g 94 s/\bAssert\b\([^;]*\); $/WARN_ON_ONCE(!(\1));/g95 s/\bAssert\b\([^;]*\);/WARN_ON_ONCE(!(\1));/g 95 96 s/\bAssertCompile\b/assert_compile/g 96 97 s/\bAssertCompileSize\b/assert_compile_size/g 97 s/\bAssertPtr\b\([^;]*\); $/WARN_ON_ONCE(!(\1));/g98 s/\bAssertPtr\b\([^;]*\);/WARN_ON_ONCE(!(\1));/g 98 99 /AssertPtrNullReturnVoid/d 99 s/\bAssertRC\b\([^;]*\);$/WARN_ON_ONCE(RT_FAILURE\1);/g 100 s/\bAssertRC\b\([^;]*\);/WARN_ON_ONCE(RT_FAILURE\1);/g 101 s/\bAssertRC\b/Assert_RC_statement_should_be_on_one_line/g 100 102 s/\bDECLCALLBACK\b(\([^)]*\))/\1/g 101 103 s/\bDECLCALLBACKMEMBER\b(\([^,)]*\), *\([^,)]*\))/\1 (*\2)/g
Note:
See TracChangeset
for help on using the changeset viewer.