aboutsummaryrefslogtreecommitdiff
path: root/std
diff options
context:
space:
mode:
authoremekoi <emekankurumeh@outlook.com>2019-06-05 14:54:24 -0500
committerAndrew Kelley <andrew@ziglang.org>2019-06-05 16:06:21 -0400
commitddfab40e30e04e1874bff95e5cae54eaaca5542f (patch)
treefea30d2e117d123e82ac389650f344a09460d84e /std
parentfdddd131068775f8c811a51fdc08939165ee9e58 (diff)
downloadzig-ddfab40e30e04e1874bff95e5cae54eaaca5542f.tar.gz
zig-ddfab40e30e04e1874bff95e5cae54eaaca5542f.zip
updated std.c.{freebsd, netbsd} to usingnamespace
Diffstat (limited to 'std')
-rw-r--r--std/c/freebsd.zig2
-rw-r--r--std/c/netbsd.zig2
2 files changed, 2 insertions, 2 deletions
diff --git a/std/c/freebsd.zig b/std/c/freebsd.zig
index eaa073677d..bcc60e65ed 100644
--- a/std/c/freebsd.zig
+++ b/std/c/freebsd.zig
@@ -1,5 +1,5 @@
const std = @import("../std.zig");
-use std.c;
+usingnamespace std.c;
extern "c" fn __error() *c_int;
pub const _errno = __error;
diff --git a/std/c/netbsd.zig b/std/c/netbsd.zig
index 0ee94e8220..417c78db69 100644
--- a/std/c/netbsd.zig
+++ b/std/c/netbsd.zig
@@ -1,5 +1,5 @@
const std = @import("../std.zig");
-use std.c;
+usingnamespace std.c;
extern "c" fn __errno() *c_int;
pub const _errno = __errno;