Add indent profile + formatting tweak

This commit is contained in:
Kim Woelders
2021-06-18 15:40:25 +02:00
parent 899596fd5b
commit 0606891b78
2 changed files with 8 additions and 0 deletions
Vendored
+6
View File
@@ -0,0 +1,6 @@
-kr -i4 --no-tabs --line-length79 -di16
--braces-after-if-line --brace-indent0 --dont-cuddle-else --cuddle-do-while
--blank-lines-after-declarations --blank-lines-after-procedures
--break-after-boolean-operator
--no-space-after-casts
--else-endif-column0
+2
View File
@@ -633,6 +633,7 @@ ttynvt_write(fuse_req_t req, const char *data, size_t size, off_t off,
static int baudrate(speed_t speed) static int baudrate(speed_t speed)
{ {
/**INDENT-OFF**/
return speed == B50 ? 50 : return speed == B50 ? 50 :
speed == B75 ? 75 : speed == B75 ? 75 :
speed == B110 ? 110 : speed == B110 ? 110 :
@@ -663,6 +664,7 @@ static int baudrate(speed_t speed)
speed == B3000000 ? 3000000 : speed == B3000000 ? 3000000 :
speed == B3500000 ? 3500000 : speed == B3500000 ? 3500000 :
speed == B4000000 ? 4000000 : 0; speed == B4000000 ? 4000000 : 0;
/**INDENT-ON**/
} }
static const char pstr[] = { ' ', 'N', 'O', 'E', 'M', 'S' }; static const char pstr[] = { ' ', 'N', 'O', 'E', 'M', 'S' };