Changeset 1b59023 in mainline for uspace/lib/c/include/net/modules.h


Ignore:
Timestamp:
2010-12-16T17:13:44Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f87c900
Parents:
7837101
Message:

Remove the rest of CONVERT_SIZE uses and the CONVERT_SIZE macro altogether.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/net/modules.h

    r7837101 r1b59023  
    4949#include <sys/time.h>
    5050
    51 /** Converts the data length between different types.
    52  *
    53  * @param[in] type_from The source type.
    54  * @param[in] type_to   The destination type.
    55  * @param[in] count     The number units of the source type size.
    56  */
    57 #define CONVERT_SIZE(type_from, type_to, count) \
    58         ((sizeof(type_from) / sizeof(type_to)) * (count))
    59 
    6051/** Registers the module service at the name server.
    6152 *
Note: See TracChangeset for help on using the changeset viewer.