Skip to content

Commit

Permalink
Adding static to ss_req_acquire and ss_req_count (#19391)
Browse files Browse the repository at this point in the history
Fixes #19389

Backport of #19390.

Co-authored-by: Thays Grazia <thaystg@gmail.com>
  • Loading branch information
monojenkins and thaystg committed Mar 31, 2020
1 parent beccf5b commit fda7399
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mono/mini/debugger-engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ ss_destroy (SingleStepReq *req)
g_free (req);
}

SingleStepReq*
static SingleStepReq*
ss_req_acquire (MonoInternalThread *thread)
{
SingleStepReq *req = NULL;
Expand All @@ -754,7 +754,7 @@ ss_req_acquire (MonoInternalThread *thread)
return req;
}

int
static int
ss_req_count ()
{
return the_ss_reqs->len;
Expand Down
2 changes: 0 additions & 2 deletions mono/mini/debugger-engine.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,4 @@ DbgEngineErrorCode mono_de_ss_create (MonoInternalThread *thread, StepSize size,
void mono_de_cancel_ss (SingleStepReq *req);
void mono_de_cancel_all_ss (void);

SingleStepReq* ss_req_acquire (MonoInternalThread *thread);
int ss_req_count (void);
#endif

0 comments on commit fda7399

Please sign in to comment.