Commit c232328f authored by Aurelio Colosimo's avatar Aurelio Colosimo Committed by Alessandro Rubini

arch-wrs: unix_main_loop renamed to wrs_main_loop

This function is the only one I'm renaming at the moment, since
it's the only one that will change for sure (for wrs specific needs).

There is some more unix_something stuff, but I don't rename anything
else since it should remain the same as what is in arch-unix.
Signed-off-by: Aurelio Colosimo's avatarAurelio Colosimo <aurelio@aureliocolosimo.it>
parent c43ce9d9
......@@ -34,7 +34,7 @@ static int run_all_state_machines(struct pp_globals *ppg)
return delay_ms;
}
void unix_main_loop(struct pp_globals *ppg)
void wrs_main_loop(struct pp_globals *ppg)
{
struct pp_instance *ppi;
int delay_ms;
......
......@@ -13,4 +13,4 @@ struct unix_arch_data {
extern int unix_net_check_pkt(struct pp_globals *ppg, int delay_ms);
extern void unix_main_loop(struct pp_globals *ppg);
extern void wrs_main_loop(struct pp_globals *ppg);
......@@ -124,6 +124,6 @@ int main(int argc, char **argv)
pp_open_globals(ppg);
unix_main_loop(ppg);
wrs_main_loop(ppg);
return 0; /* never reached */
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment