summaryrefslogtreecommitdiffhomepage
path: root/atomicio.c
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2015-12-31 18:36:34 +0100
committerMatt Johnston <matt@ucc.asn.au>2016-03-16 22:41:19 +0800
commit1dba0d4830786ba17966a8d1397f07557e95bfd5 (patch)
tree7cf0491bdccd20164e1e3339048e264c7084bf57 /atomicio.c
parentda85400e57f2d1af6506fcd263941cd9a1ae3163 (diff)
add comment FALLTHROUGH which recognize by many lint tools
Diffstat (limited to 'atomicio.c')
-rw-r--r--atomicio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/atomicio.c b/atomicio.c
index 1915a7b..a061cbd 100644
--- a/atomicio.c
+++ b/atomicio.c
@@ -53,6 +53,7 @@ atomicio(f, fd, _s, n)
if (errno == EINTR || errno == EAGAIN)
#endif
continue;
+ /* FALLTHROUGH */
case 0:
return (res);
default: