Ignore:
File:
1 edited

Legend:

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

    r46d4d9f rc69d327  
    124124/** Returns whether the packet is valid.
    125125 * @param[in] packet    The packet to be checked.
    126  * @return              True if the packet is not NULL and the magic value is
     126 * @returns             True if the packet is not NULL and the magic value is
    127127 *                      correct.
    128  * @return              False otherwise.
     128 * @returns             False otherwise.
    129129 */
    130 static inline int packet_is_valid(const packet_t *packet)
     130static inline int packet_is_valid(const packet_t packet)
    131131{
    132132        return packet && (packet->magic_value == PACKET_MAGIC_VALUE);
Note: See TracChangeset for help on using the changeset viewer.