diff --git a/.indent.pro b/.indent.pro new file mode 100644 index 0000000..e407199 --- /dev/null +++ b/.indent.pro @@ -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 diff --git a/src/ttynvt.c b/src/ttynvt.c index 60c3b16..549244f 100644 --- a/src/ttynvt.c +++ b/src/ttynvt.c @@ -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' };