authorgravatar for mattnite@protonmail.comMatt Knight <mattnite@protonmail.com> 2020-09-07 07:17:21-07:00
committergravatar for mattnite@protonmail.comMatt Knight <mattnite@protonmail.com> 2020-09-07 07:17:21-07:00
logcf3194804e1ac5654ba4082f615d57cff776b3a9
treea4bf81e65ade35a8616a95a82d64858e0dafde5f
parente7547eeefae5a8f095351c6ae889ee9cf82720cb
signature Commit is signed but in an unrecognized format.

changed enums to lower case


1 files changed, 25 insertions(+), 25 deletions(-)

lib/std/os/linux/bpf/btf.zig+25-25
......@@ -56,22 +56,22 @@ pub const Type = packed struct {
5656
5757/// For some kinds, Type is immediately followed by extra data
5858pub const Kind = enum(u4) {
59 Unknown,
60 Int,
61 Ptr,
62 Array,
63 Struct,
64 Union,
65 Enum,
66 Fwd,
67 Typedef,
68 Volatile,
69 Const,
70 Restrict,
71 Func,
72 FuncProto,
73 Var,
74 DataSec,
59 unknown,
60 int,
61 ptr,
62 array,
63 structure,
64 kind_union,
65 enumeration,
66 fwd,
67 typedef,
68 kind_volatile,
69 constant,
70 restrict,
71 func,
72 funcProto,
73 variable,
74 dataSec,
7575};
7676
7777/// Int kind is followed by this struct
......@@ -80,9 +80,9 @@ pub const IntInfo = packed struct {
8080 unused: u8,
8181 offset: u8,
8282 encoding: enum(u4) {
83 Signed = 1 << 0,
84 Char = 1 << 1,
85 Bool = 1 << 2,
83 signed = 1 << 0,
84 char = 1 << 1,
85 boolean = 1 << 2,
8686 },
8787};
8888
......@@ -125,15 +125,15 @@ pub const Param = packed struct {
125125};
126126
127127pub const VarLinkage = enum {
128 Static,
129 GlobalAllocated,
130 GlobalExtern,
128 static,
129 global_allocated,
130 global_extern,
131131};
132132
133133pub const FuncLinkage = enum {
134 Static,
135 Global,
136 Extern,
134 static,
135 global,
136 external,
137137};
138138
139139/// Var kind is followd by a single Var struct to describe additional