- Attribute Nonnull may take an argument __opal_attribute_nonnull__
This commit was SVN r13392.
Этот коммит содержится в:
родитель
289fbd08de
Коммит
1766b7e90d
@ -402,9 +402,11 @@ static inline uint16_t ntohs(uint16_t netvar) { return netvar; }
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if OMPI_HAVE_ATTRIBUTE_NONNULL
|
#if OMPI_HAVE_ATTRIBUTE_NONNULL
|
||||||
# define __opal_attribute_nonnull__ __attribute__((__nonnull__))
|
# define __opal_attribute_nonnull__(a) __attribute__((__nonnull__(a)))
|
||||||
|
# define __opal_attribute_nonnull_all__ __attribute__((__nonnull__))
|
||||||
#else
|
#else
|
||||||
# define __opal_attribute_nonnull__
|
# define __opal_attribute_nonnull__(a)
|
||||||
|
# define __opal_attribute_nonnull_all__
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if OMPI_HAVE_ATTRIBUTE_NORETURN
|
#if OMPI_HAVE_ATTRIBUTE_NORETURN
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user