From 594527353359d9a6aad516992e09c393e11f3bd2 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Wed, 5 Feb 2014 02:20:51 +0000 Subject: Use XLAT_END macro Automatically update all xlat structures using the following sed regexp: s/^[[:space:]]*{[[:space:]]*0[[:space:]]*,[[:space:]]*NULL[[:space:]]*,\?[[:space:]]*}[[:space:]]*,\?[[:space:]]*/\tXLAT_END/ --- ptp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ptp.c') diff --git a/ptp.c b/ptp.c index 35cf685..773f3d5 100644 --- a/ptp.c +++ b/ptp.c @@ -6,7 +6,7 @@ static const struct xlat ptp_flags_options[] = { XLAT(PTP_ENABLE_FEATURE), XLAT(PTP_RISING_EDGE), XLAT(PTP_FALLING_EDGE), - { 0, NULL } + XLAT_END }; -- cgit v1.2.3