Skip to content

Commit 3e75da9

Browse files
committed
Use ZEND_ATTRIBUTE_NONNULL
1 parent a3a3024 commit 3e75da9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Zend/zend_constants.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ ZEND_API zend_constant *zend_register_double_constant(const char *name, size_t n
114114
ZEND_API zend_constant *zend_register_string_constant(const char *name, size_t name_len, const char *strval, int flags, int module_number);
115115
ZEND_API zend_constant *zend_register_stringl_constant(const char *name, size_t name_len, const char *strval, size_t strlen, int flags, int module_number);
116116
ZEND_API zend_constant *zend_register_constant(zend_constant *c);
117-
void ZEND_ATTRIBUTE_NONNULL_ARGS(1, 2) zend_constant_add_attributes(zend_constant *c, HashTable *attributes);
117+
void ZEND_ATTRIBUTE_NONNULL zend_constant_add_attributes(zend_constant *c, HashTable *attributes);
118118
#ifdef ZTS
119119
void zend_copy_constants(HashTable *target, HashTable *source);
120120
#endif

0 commit comments

Comments
 (0)