File 2491-erts-Get-rid-of-vestigial-function-declaration.patch of Package erlang
From 6f69f8f9bdbbef1fa968f177f9d90a987d666fa2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?John=20H=C3=B6gberg?= <john@erlang.org>
Date: Tue, 28 Sep 2021 22:16:08 +0200
Subject: [PATCH 1/3] erts: Get rid of vestigial function declaration
---
erts/emulator/beam/beam_common.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/erts/emulator/beam/beam_common.h b/erts/emulator/beam/beam_common.h
index 56bfec5f9f..15bad673d0 100644
--- a/erts/emulator/beam/beam_common.h
+++ b/erts/emulator/beam/beam_common.h
@@ -257,8 +257,6 @@ Export* fixed_apply(Process* p, Eterm* reg, Uint arity,
Eterm args, Export **epp);
ErtsCodePtr apply_fun(Process* p, Eterm fun, Eterm args,
Eterm* reg, Export **epp);
-Eterm new_fun(Process* p, Eterm* reg,
- ErlFunEntry* fe, int num_free);
ErlFunThing* new_fun_thing(Process* p, ErlFunEntry* fe, int num_free);
int is_function2(Eterm Term, Uint arity);
Eterm erts_gc_new_map(Process* p, Eterm* reg, Uint live,
--
2.31.1