]> diplodocus.org Git - nmh/commit
Don't cast lseek(2)'s offset to off_t when it's 0.
authorRalph Corderoy <ralph@inputplus.co.uk>
Thu, 25 May 2017 17:12:55 +0000 (18:12 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Thu, 25 May 2017 17:12:55 +0000 (18:12 +0100)
commit0bb0a48241ac6130afe4cf8eb5616f2f33ee1a84
tree93c989006b2ba20e042e1d5ade7edf6b3678a527
parent8d5ea13e4ebdda303739921ede230ac4f7ec7d7d
Don't cast lseek(2)'s offset to off_t when it's 0.

`lseek(fd, (off_t)0, SEEK_SET)' does not need the cast when a prototype
is in scope, and <unistd.h> is #include'd.
sbr/fdcompare.c
sbr/utils.c
uip/annosbr.c
uip/distsbr.c
uip/dropsbr.c
uip/forwsbr.c
uip/post.c
uip/rcvtty.c
uip/replsbr.c
uip/sendsbr.c
uip/slocal.c