> --- /dev/null
> +++ b/platform/linux-generic/include/api/odp_errno.h
> @@ -0,0 +1,61 @@
> +/* Copyright (c) 2015, Linaro Limited
> + * All rights reserved.
> + *
> + * SPDX-License-Identifier: BSD-3-Clause
> + */
> +
> +/**
> + * @file
> + *
> + * ODP errno API
> + */
> +
> +#ifndef ODP_ERRNO_H_
> +#define ODP_ERRNO_H_
> +
> +#ifdef __cplusplus
> +extern "C" {
> +#endif
> +
> +#include <errno.h>
This should be removed from API file (only implementation needs it).
> +
> +/**
> +* Return latest ODP errno
> +*
> +* @retval 0 == no error
@return ODP errno
@retval 0 No error
It's likely that "==" would not look good on Doxygen doc. It's from my mail,
sorry about that.
-Petri
> +*/
> +int odp_errno(void);
> +
_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp