Browse Source

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"
Dmitry V. Levin 1 month ago
parent
commit
6cecfe7fa5
2 changed files with 1 additions and 2 deletions
  1. 1
    1
      process.c
  2. 0
    1
      xlat.h

+ 1
- 1
process.c View File

@@ -35,7 +35,7 @@
35 35
 
36 36
 static const struct xlat_data struct_user_offsets_data[] = {
37 37
 #include "userent.h"
38
-	XLAT_END
38
+	{ 0, 0 }
39 39
 };
40 40
 
41 41
 static const struct xlat struct_user_offsets = {

+ 0
- 1
xlat.h View File

@@ -63,6 +63,5 @@ struct xlat {
63 63
 # define XLAT_PAIR(val, str)		{ (unsigned)(val), str  }
64 64
 # define XLAT_TYPE(type, val)		{     (type)(val), #val }
65 65
 # define XLAT_TYPE_PAIR(type, val, str)	{     (type)(val), str  }
66
-# define XLAT_END			{		0, 0    }
67 66
 
68 67
 #endif /* !STRACE_XLAT_H */

Loading…
Cancel
Save