File 2143-Remove-left-over-uses-of-compile-export_all.patch of Package erlang

From a78cd5f1b8d5d7c3aa135945b2f6c486da05776d Mon Sep 17 00:00:00 2001
From: Richard Carlsson <richardc@klarna.com>
Date: Mon, 31 Oct 2016 15:55:02 +0100
Subject: [PATCH 3/6] Remove left-over uses of -compile(export_all)

---
 lib/common_test/src/unix_telnet.erl | 2 --
 lib/observer/src/cdv_wx.erl         | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/lib/common_test/src/unix_telnet.erl b/lib/common_test/src/unix_telnet.erl
index 4897ddb2f..0f29b2dbb 100644
--- a/lib/common_test/src/unix_telnet.erl
+++ b/lib/common_test/src/unix_telnet.erl
@@ -53,8 +53,6 @@
 %%% @see ct_telnet
 -module(unix_telnet).
 
--compile(export_all).
-
 %% Callbacks for ct_telnet.erl
 -export([connect/7,get_prompt_regexp/0]).
 -import(ct_telnet,[start_gen_log/1,log/4,end_gen_log/0]).
diff --git a/lib/observer/src/cdv_wx.erl b/lib/observer/src/cdv_wx.erl
index 2587a6e64..1e3fb6289 100644
--- a/lib/observer/src/cdv_wx.erl
+++ b/lib/observer/src/cdv_wx.erl
@@ -17,7 +17,7 @@
 %%
 %% %CopyrightEnd%
 -module(cdv_wx).
--compile(export_all).
+
 -behaviour(wx_object).
 
 -export([start/1]).
-- 
2.11.0

openSUSE Build Service is sponsored by