Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/ns/service.c

    r007e6efa rb72efe8  
    3535#include <assert.h>
    3636#include <errno.h>
     37#include <stdio.h>
     38#include <malloc.h>
    3739#include "service.h"
    3840#include "ns.h"
     
    121123} pending_conn_t;
    122124
    123 static link_t pending_conn;
     125static list_t pending_conn;
    124126
    125127int service_init(void)
     
    139141void process_pending_conn(void)
    140142{
    141         link_t *cur;
    142        
    143143loop:
    144         for (cur = pending_conn.next; cur != &pending_conn; cur = cur->next) {
     144        list_foreach(pending_conn, cur) {
    145145                pending_conn_t *pr = list_get_instance(cur, pending_conn_t, link);
    146146               
Note: See TracChangeset for help on using the changeset viewer.