From 6cecfe7fa5b23121a7b0772176e3ff9d1394274c Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Wed, 23 Oct 2019 23:31:26 +0000 Subject: [PATCH] Remove XLAT_END * xlat.h (XLAT_END): Remove. * process.c (struct_user_offsets_data): Replace XLAT_END with a zero xlat_data entry. Complements: v5.3~105 "Add xlat description structure" --- process.c | 2 +- xlat.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/process.c b/process.c index d3e0449e..d6bd72be 100644 --- a/process.c +++ b/process.c @@ -35,7 +35,7 @@ static const struct xlat_data struct_user_offsets_data[] = { #include "userent.h" - XLAT_END + { 0, 0 } }; static const struct xlat struct_user_offsets = { diff --git a/xlat.h b/xlat.h index b83ca4fb..2628818f 100644 --- a/xlat.h +++ b/xlat.h @@ -63,6 +63,5 @@ struct xlat { # define XLAT_PAIR(val, str) { (unsigned)(val), str } # define XLAT_TYPE(type, val) { (type)(val), #val } # define XLAT_TYPE_PAIR(type, val, str) { (type)(val), str } -# define XLAT_END { 0, 0 } #endif /* !STRACE_XLAT_H */ -- 2.50.0