Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 08d9c4e6 in mainline for uspace/srv/devman/util.h


Ignore:
Timestamp:
2010-02-15T21:04:59Z (12 years ago)
Author:
Lenka Trochtova <trochtova.lenka@…>
Branches:
lfn, master
Children:
e85920d
Parents:
e2b9a993
Message:

device manager - initialization of the list of available drivers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devman/util.h

    re2b9a993 r08d9c4e6  
    5757}
    5858
     59static inline void free_not_null(void *ptr)
     60{
     61        if (NULL != ptr) {
     62                free(ptr);
     63        }
     64}
     65
    5966#endif
Note: See TracChangeset for help on using the changeset viewer.