aboutsummaryrefslogtreecommitdiff
path: root/src-self-hosted
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-05-29 18:55:42 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-05-29 19:09:58 -0400
commitbfc86776d501dc317737be09e8ed8d13da18f67c (patch)
tree805594b08d7b54b1e742034ee594a05725a0d9ef /src-self-hosted
parent8a4ee5942b996d2ffe9c61d7d73fe10f8b1ecea4 (diff)
downloadzig-bfc86776d501dc317737be09e8ed8d13da18f67c.tar.gz
zig-bfc86776d501dc317737be09e8ed8d13da18f67c.zip
run zig fmt to update `use` to `usingnamespace`
Diffstat (limited to 'src-self-hosted')
-rw-r--r--src-self-hosted/c.zig2
-rw-r--r--src-self-hosted/translate_c.zig2
2 files changed, 2 insertions, 2 deletions
diff --git a/src-self-hosted/c.zig b/src-self-hosted/c.zig
index 778d851240..1de2b6a24c 100644
--- a/src-self-hosted/c.zig
+++ b/src-self-hosted/c.zig
@@ -1,4 +1,4 @@
-pub use @cImport({
+pub usingnamespace @cImport({
@cDefine("__STDC_CONSTANT_MACROS", "");
@cDefine("__STDC_LIMIT_MACROS", "");
@cInclude("inttypes.h");
diff --git a/src-self-hosted/translate_c.zig b/src-self-hosted/translate_c.zig
index dac4c2b1ca..b7ced4a89f 100644
--- a/src-self-hosted/translate_c.zig
+++ b/src-self-hosted/translate_c.zig
@@ -6,7 +6,7 @@ const builtin = @import("builtin");
const assert = std.debug.assert;
const ast = std.zig.ast;
const Token = std.zig.Token;
-use @import("clang.zig");
+usingnamespace @import("clang.zig");
pub const Mode = enum {
import,