From: Dmitry V. Levin Date: Mon, 18 Jul 2016 23:29:40 +0000 (+0000) Subject: xlat/shutdown_modes.in: convert to modern syntax X-Git-Tag: v4.13~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=838306234faa2eda84c25449fa5130d45a761937;p=strace xlat/shutdown_modes.in: convert to modern syntax * xlat/shutdown_modes.in: Replace open-coded xlat table with a list of constants. --- diff --git a/xlat/shutdown_modes.in b/xlat/shutdown_modes.in index 8ee550ab..29967116 100644 --- a/xlat/shutdown_modes.in +++ b/xlat/shutdown_modes.in @@ -1,3 +1,3 @@ - { 0, "SHUT_RD" }, - { 1, "SHUT_WR" }, - { 2, "SHUT_RDWR" }, +SHUT_RD 0 +SHUT_WR 1 +SHUT_RDWR 2