aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSalikhov Dinislam <[email protected]>2017-05-11 00:38:25 +0300
committerSalikhov Dinislam <[email protected]>2017-05-21 22:23:35 +0300
commitbc91e7e9c000145d5feec6877c3abe5e6747351b (patch)
tree2547ce4167626e885c56b9b945ea118843a885a2
parent2084cb04283e11409dfe2b2b26cdf53355c5c117 (diff)
downloadotp-bc91e7e9c000145d5feec6877c3abe5e6747351b.tar.gz
otp-bc91e7e9c000145d5feec6877c3abe5e6747351b.tar.bz2
otp-bc91e7e9c000145d5feec6877c3abe5e6747351b.zip
erts: Make bif's do_send() static
-rw-r--r--erts/emulator/beam/bif.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/erts/emulator/beam/bif.c b/erts/emulator/beam/bif.c
index 7134d2da56..40dd4129d2 100644
--- a/erts/emulator/beam/bif.c
+++ b/erts/emulator/beam/bif.c
@@ -2047,8 +2047,6 @@ ebif_bang_2(BIF_ALIST_2)
#define SEND_YIELD_CONTINUE (-8)
-Sint do_send(Process *p, Eterm to, Eterm msg, Eterm *refp, ErtsSendContext*);
-
static Sint remote_send(Process *p, DistEntry *dep,
Eterm to, Eterm full_to, Eterm msg,
ErtsSendContext* ctx)
@@ -2102,8 +2100,8 @@ static Sint remote_send(Process *p, DistEntry *dep,
return res;
}
-Sint
-do_send(Process *p, Eterm to, Eterm msg, Eterm *refp, ErtsSendContext* ctx)
+static Sint
+do_send(Process *p, Eterm to, Eterm msg, Eterm *refp, ErtsSendContext *ctx)
{
Eterm portid;
Port *pt;