commit b878a64a5f44072b11dd0f73fc2b808c41f0d172 (tree)
parent cf3194804e1ac5654ba4082f615d57cff776b3a9
Author: Matt Knight <mattnite@protonmail.com>
Date: Mon, 7 Sep 2020 12:26:41 -0700
added license comments
Diffstat:
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/lib/std/os/linux/bpf/btf.zig b/lib/std/os/linux/bpf/btf.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 magic = 0xeb9f;
const version = 1;
diff --git a/lib/std/os/linux/bpf/btf_ext.zig b/lib/std/os/linux/bpf/btf_ext.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.
pub const Header = packed struct {
magic: u16,
version: u8,