aboutsummaryrefslogtreecommitdiff
path: root/lib/std/macho.zig
diff options
context:
space:
mode:
authorStevie Hryciw <codroid@gmail.com>2022-11-14 20:44:31 -0800
committerIsaac Freund <mail@isaacfreund.com>2022-11-18 19:22:42 +0000
commit04f3067a7921a51bd55870f3138220fd66426e33 (patch)
tree158494e96381fe48304fef102d36a9431eef9642 /lib/std/macho.zig
parente999f9f472f6b57214a8a66b69b8928ad28acbfe (diff)
downloadzig-04f3067a7921a51bd55870f3138220fd66426e33.tar.gz
zig-04f3067a7921a51bd55870f3138220fd66426e33.zip
run zig fmt on everything checked by CI
Diffstat (limited to 'lib/std/macho.zig')
-rw-r--r--lib/std/macho.zig8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/std/macho.zig b/lib/std/macho.zig
index 11b737a2b7..cb1fca20b2 100644
--- a/lib/std/macho.zig
+++ b/lib/std/macho.zig
@@ -700,7 +700,7 @@ pub const PROT = struct {
/// The format of the relocation entries referenced by the reloff and nreloc
/// fields of the section structure for mach object files is described in the
/// header file <reloc.h>.
-pub const @"section" = extern struct {
+pub const section = extern struct {
/// name of this section
sectname: [16]u8,
@@ -794,12 +794,12 @@ pub const section_64 = extern struct {
}
pub fn isZerofill(sect: section_64) bool {
- const tt = sect.@"type"();
+ const tt = sect.type();
return tt == S_ZEROFILL or tt == S_GB_ZEROFILL or tt == S_THREAD_LOCAL_ZEROFILL;
}
pub fn isSymbolStubs(sect: section_64) bool {
- const tt = sect.@"type"();
+ const tt = sect.type();
return tt == S_SYMBOL_STUBS;
}
@@ -1804,7 +1804,7 @@ pub const CodeDirectory = extern struct {
/// Structure of an embedded-signature SuperBlob
pub const BlobIndex = extern struct {
/// Type of entry
- @"type": u32,
+ type: u32,
/// Offset of entry
offset: u32,