aboutsummaryrefslogtreecommitdiff
path: root/lib/std/event
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-08-19 19:40:15 -0700
committerAndrew Kelley <andrew@ziglang.org>2020-08-20 16:07:04 -0400
commit4a69b11e742365d68e4d92aa18d6493db9d3edaf (patch)
treeae8911497988caaa3dcd839b533927efaf442b76 /lib/std/event
parent83b0e52079298244912f2d2f28b256457c8dc3a5 (diff)
downloadzig-4a69b11e742365d68e4d92aa18d6493db9d3edaf.tar.gz
zig-4a69b11e742365d68e4d92aa18d6493db9d3edaf.zip
add license header to all std lib files
add SPDX license identifier copyright ownership is zig contributors
Diffstat (limited to 'lib/std/event')
-rw-r--r--lib/std/event/batch.zig5
-rw-r--r--lib/std/event/channel.zig5
-rw-r--r--lib/std/event/future.zig5
-rw-r--r--lib/std/event/group.zig5
-rw-r--r--lib/std/event/lock.zig5
-rw-r--r--lib/std/event/locked.zig5
-rw-r--r--lib/std/event/loop.zig5
-rw-r--r--lib/std/event/rwlock.zig5
-rw-r--r--lib/std/event/rwlocked.zig5
9 files changed, 45 insertions, 0 deletions
diff --git a/lib/std/event/batch.zig b/lib/std/event/batch.zig
index 8f2954d85b..2ace2f7914 100644
--- a/lib/std/event/batch.zig
+++ b/lib/std/event/batch.zig
@@ -1,3 +1,8 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2015-2020 Zig Contributors
+// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
+// The MIT license requires this copyright notice to be included in all copies
+// and substantial portions of the software.
const std = @import("../std.zig");
const testing = std.testing;
diff --git a/lib/std/event/channel.zig b/lib/std/event/channel.zig
index 5aef0bb3ba..de5b2c67ab 100644
--- a/lib/std/event/channel.zig
+++ b/lib/std/event/channel.zig
@@ -1,3 +1,8 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2015-2020 Zig Contributors
+// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
+// The MIT license requires this copyright notice to be included in all copies
+// and substantial portions of the software.
const std = @import("../std.zig");
const builtin = @import("builtin");
const assert = std.debug.assert;
diff --git a/lib/std/event/future.zig b/lib/std/event/future.zig
index 5de22c574c..c9777288e4 100644
--- a/lib/std/event/future.zig
+++ b/lib/std/event/future.zig
@@ -1,3 +1,8 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2015-2020 Zig Contributors
+// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
+// The MIT license requires this copyright notice to be included in all copies
+// and substantial portions of the software.
const std = @import("../std.zig");
const assert = std.debug.assert;
const testing = std.testing;
diff --git a/lib/std/event/group.zig b/lib/std/event/group.zig
index 0dc6550218..e91adbbe8c 100644
--- a/lib/std/event/group.zig
+++ b/lib/std/event/group.zig
@@ -1,3 +1,8 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2015-2020 Zig Contributors
+// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
+// The MIT license requires this copyright notice to be included in all copies
+// and substantial portions of the software.
const std = @import("../std.zig");
const builtin = @import("builtin");
const Lock = std.event.Lock;
diff --git a/lib/std/event/lock.zig b/lib/std/event/lock.zig
index 179b881c9c..d27a12aef8 100644
--- a/lib/std/event/lock.zig
+++ b/lib/std/event/lock.zig
@@ -1,3 +1,8 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2015-2020 Zig Contributors
+// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
+// The MIT license requires this copyright notice to be included in all copies
+// and substantial portions of the software.
const std = @import("../std.zig");
const builtin = @import("builtin");
const assert = std.debug.assert;
diff --git a/lib/std/event/locked.zig b/lib/std/event/locked.zig
index e921803447..9a53116fd6 100644
--- a/lib/std/event/locked.zig
+++ b/lib/std/event/locked.zig
@@ -1,3 +1,8 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2015-2020 Zig Contributors
+// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
+// The MIT license requires this copyright notice to be included in all copies
+// and substantial portions of the software.
const std = @import("../std.zig");
const Lock = std.event.Lock;
diff --git a/lib/std/event/loop.zig b/lib/std/event/loop.zig
index 0abcad32e1..b34ad8c940 100644
--- a/lib/std/event/loop.zig
+++ b/lib/std/event/loop.zig
@@ -1,3 +1,8 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2015-2020 Zig Contributors
+// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
+// The MIT license requires this copyright notice to be included in all copies
+// and substantial portions of the software.
const std = @import("../std.zig");
const builtin = @import("builtin");
const root = @import("root");
diff --git a/lib/std/event/rwlock.zig b/lib/std/event/rwlock.zig
index 7a47c27dd8..3e3928d379 100644
--- a/lib/std/event/rwlock.zig
+++ b/lib/std/event/rwlock.zig
@@ -1,3 +1,8 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2015-2020 Zig Contributors
+// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
+// The MIT license requires this copyright notice to be included in all copies
+// and substantial portions of the software.
const std = @import("../std.zig");
const builtin = @import("builtin");
const assert = std.debug.assert;
diff --git a/lib/std/event/rwlocked.zig b/lib/std/event/rwlocked.zig
index 9a569e8f1f..4fb25b59a1 100644
--- a/lib/std/event/rwlocked.zig
+++ b/lib/std/event/rwlocked.zig
@@ -1,3 +1,8 @@
+// SPDX-License-Identifier: MIT
+// Copyright (c) 2015-2020 Zig Contributors
+// This file is part of [zig](https://ziglang.org/), which is MIT licensed.
+// The MIT license requires this copyright notice to be included in all copies
+// and substantial portions of the software.
const std = @import("../std.zig");
const RwLock = std.event.RwLock;