File 6527-Mark-hex-function-as-inline.patch of Package erlang

From bda6477dd408f627126bbe9eb60d9ea26fa7e0b6 Mon Sep 17 00:00:00 2001
From: Nelson Vides <videsnelson@gmail.com>
Date: Wed, 7 Apr 2021 17:52:11 +0200
Subject: [PATCH 7/7] Mark hex function as inline

---
 lib/stdlib/src/binary.erl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/stdlib/src/binary.erl b/lib/stdlib/src/binary.erl
index 7bfca5084c..0ed44aa7a3 100644
--- a/lib/stdlib/src/binary.erl
+++ b/lib/stdlib/src/binary.erl
@@ -366,6 +366,7 @@ get_opts_replace(_,_) ->
 %% Hex encoding functions
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 -define(HEX(X), (hex(X)):16).
+-compile({inline,[hex/1]}).
 -spec encode_hex(Bin) -> Bin2 when
       Bin :: binary(),
       Bin2 :: <<_:_*16>>.
-- 
2.35.3

openSUSE Build Service is sponsored by