Skip to content
Snippets Groups Projects
Commit ade60890 authored by Andrea Shepard's avatar Andrea Shepard
Browse files

Make scheduler_channel_doesnt_want_writes() mockable

parent bef11b71
No related branches found
No related tags found
No related merge requests found
......@@ -275,8 +275,8 @@ scheduler_channel_doesnt_want_writes,(channel_t *chan))
/** Mark a channel as having waiting cells */
void
scheduler_channel_has_waiting_cells(channel_t *chan)
MOCK_IMPL(void,
scheduler_channel_has_waiting_cells,(channel_t *chan))
{
int became_pending = 0;
......
......@@ -22,7 +22,7 @@ void scheduler_run(void);
/* Mark channels as having cells or wanting/not wanting writes */
MOCK_DECL(void,scheduler_channel_doesnt_want_writes,(channel_t *chan));
void scheduler_channel_has_waiting_cells(channel_t *chan);
MOCK_DECL(void,scheduler_channel_has_waiting_cells,(channel_t *chan));
void scheduler_channel_wants_writes(channel_t *chan);
/* Notify the scheduler of a channel being closed */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment