Ignore:
Timestamp:
2010-04-05T20:27:51Z (15 years ago)
Author:
Lenka Trochtova <trochtova.lenka@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5e598e0
Parents:
9a66bc2e
Message:

parts of pci driver

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/include/ipc/dev_iface.h

    r9a66bc2e r8c06905  
    3131
    3232#include <ipc/ipc.h>
     33#include <malloc.h>
    3334
    3435#define DEV_IFACE_FIRST IPC_FIRST_USER_METHOD
     
    8586} hw_resource_list_t;
    8687
     88static inline void clean_hw_resource_list(hw_resource_list_t *hw_res)
     89{
     90        free(hw_res->resources);
     91        hw_res->resources = 0;
     92        hw_res->count = 0;     
     93}
     94
    8795#endif
Note: See TracChangeset for help on using the changeset viewer.