]> granicus.if.org Git - strace/commitdiff
xlat/shutdown_modes.in: convert to modern syntax
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 18 Jul 2016 23:29:40 +0000 (23:29 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 19 Jul 2016 17:46:33 +0000 (17:46 +0000)
* xlat/shutdown_modes.in: Replace open-coded xlat table with a list
of constants.

xlat/shutdown_modes.in

index 8ee550abc703fdbb0fbd0765e0bab79d4abe2a2b..299671169ea1f1d13ff8e8d05a1304b33a2ad00d 100644 (file)
@@ -1,3 +1,3 @@
-       { 0,    "SHUT_RD"       },
-       { 1,    "SHUT_WR"       },
-       { 2,    "SHUT_RDWR"     },
+SHUT_RD 0
+SHUT_WR 1
+SHUT_RDWR 2