summaryrefslogtreecommitdiff
path: root/coccinelle
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-01-24 11:09:29 +0100
committerLennart Poettering <lennart@poettering.net>2018-01-24 11:09:29 +0100
commitdb4a47e9fec86a3095129ce4b062b6ec81933eab (patch)
treec2deb5d4d8d66be62682cfb14052a31901ac1398 /coccinelle
parent81b1dc271ff09e65b7f0d8212162e4d67d02064d (diff)
downloadsystemd-db4a47e9fec86a3095129ce4b062b6ec81933eab.tar.gz
coccinelle: O_NDELAY → O_NONBLOCK
Apparently O_NONBLOCK is the modern name used in most documentation and for most cases in our sources. Let's hence replace the old alias O_NDELAY and stick to O_NONBLOCK everywhere.
Diffstat (limited to 'coccinelle')
-rw-r--r--coccinelle/o-ndelay.occi4
1 files changed, 4 insertions, 0 deletions
diff --git a/coccinelle/o-ndelay.occi b/coccinelle/o-ndelay.occi
new file mode 100644
index 0000000000..669424a054
--- /dev/null
+++ b/coccinelle/o-ndelay.occi
@@ -0,0 +1,4 @@
+@@
+@@
+- O_NDELAY
++ O_NONBLOCK