Add indent profile + formatting tweak
This commit is contained in:
Vendored
+6
@@ -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
|
||||
@@ -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)
|
||||
{
|
||||
/**INDENT-OFF**/
|
||||
return speed == B50 ? 50 :
|
||||
speed == B75 ? 75 :
|
||||
speed == B110 ? 110 :
|
||||
@@ -663,6 +664,7 @@ static int baudrate(speed_t speed)
|
||||
speed == B3000000 ? 3000000 :
|
||||
speed == B3500000 ? 3500000 :
|
||||
speed == B4000000 ? 4000000 : 0;
|
||||
/**INDENT-ON**/
|
||||
}
|
||||
|
||||
static const char pstr[] = { ' ', 'N', 'O', 'E', 'M', 'S' };
|
||||
|
||||
Reference in New Issue
Block a user