[riot-notifications] [RIOT] Refactor 6LoWPAN module (#133)

Oleg Hahm notifications at github.com
Wed Aug 14 15:02:51 CEST 2013


> + * @{
> + * @file
> + * @brief   6LoWPAN error codes
> + * @author  Martin Lenders <mlenders at inf.fu-berlin.de>
> + * @}
> + */
> +
> +#ifndef SIXLOWPAN_ERROR_H
> +#define SIXLOWPAN_ERROR_H
> +
> +#ifndef SUCCESS
> +/**
> + * Functions return this if call was success. Only defined if not
> + * already defined by other header.
> + */
> +#define SUCCESS                 (0)

Looks weird. Since when is 0 returned for success in C code?

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/133/files#r5762537
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20130814/6d17f620/attachment.html>


More information about the notifications mailing list