From 838306234faa2eda84c25449fa5130d45a761937 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Mon, 18 Jul 2016 23:29:40 +0000 Subject: [PATCH] xlat/shutdown_modes.in: convert to modern syntax * xlat/shutdown_modes.in: Replace open-coded xlat table with a list of constants. --- xlat/shutdown_modes.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.40.0