File 1185-dialyzer-Add-missing-license-headers.patch of Package erlang
From 8d0276e0e8557dc83f8c2d52052d945ce8f92f31 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?John=20H=C3=B6gberg?= <john@erlang.org>
Date: Wed, 22 Jan 2025 10:24:45 +0100
Subject: [PATCH] dialyzer: Add missing license headers
---
.../src/opaque/opaque_bug6.erl | 20 +++++++++++++++++++
.../src/opaque/opaque_bug6_adt.erl | 20 +++++++++++++++++++
2 files changed, 40 insertions(+)
diff --git a/lib/dialyzer/test/opaque_SUITE_data/src/opaque/opaque_bug6.erl b/lib/dialyzer/test/opaque_SUITE_data/src/opaque/opaque_bug6.erl
index 1cb43af307..a87764bde2 100644
--- a/lib/dialyzer/test/opaque_SUITE_data/src/opaque/opaque_bug6.erl
+++ b/lib/dialyzer/test/opaque_SUITE_data/src/opaque/opaque_bug6.erl
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2024. All Rights Reserved.
+%%
+%% Licensed under the Apache License, Version 2.0 (the "License");
+%% you may not use this file except in compliance with the License.
+%% You may obtain a copy of the License at
+%%
+%% http://www.apache.org/licenses/LICENSE-2.0
+%%
+%% Unless required by applicable law or agreed to in writing, software
+%% distributed under the License is distributed on an "AS IS" BASIS,
+%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+%% See the License for the specific language governing permissions and
+%% limitations under the License.
+%%
+%% %CopyrightEnd%
+%%
+
-module(opaque_bug6).
-export([loop/1]).
diff --git a/lib/dialyzer/test/opaque_SUITE_data/src/opaque/opaque_bug6_adt.erl b/lib/dialyzer/test/opaque_SUITE_data/src/opaque/opaque_bug6_adt.erl
index 6e38acfd9b..c5681be5d2 100644
--- a/lib/dialyzer/test/opaque_SUITE_data/src/opaque/opaque_bug6_adt.erl
+++ b/lib/dialyzer/test/opaque_SUITE_data/src/opaque/opaque_bug6_adt.erl
@@ -1,3 +1,23 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 2024. All Rights Reserved.
+%%
+%% Licensed under the Apache License, Version 2.0 (the "License");
+%% you may not use this file except in compliance with the License.
+%% You may obtain a copy of the License at
+%%
+%% http://www.apache.org/licenses/LICENSE-2.0
+%%
+%% Unless required by applicable law or agreed to in writing, software
+%% distributed under the License is distributed on an "AS IS" BASIS,
+%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+%% See the License for the specific language governing permissions and
+%% limitations under the License.
+%%
+%% %CopyrightEnd%
+%%
+
-module(opaque_bug6_adt).
-export([do/1]).
--
2.43.0