local-asserth-decls.diff

From: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Date: Fri, 11 Nov 2022 23:32:10 +0800
Subject: local-asserth-decls
This commit is contained in:
denghao 2022-11-10 05:36:51 +03:00
parent d42cd2d1ac
commit 438a5e5f01
1 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,8 @@
#else /* Not NDEBUG. */
#ifndef _ASSERT_H_DECLS
#define _ASSERT_H_DECLS
__BEGIN_DECLS
/* This prints an "Assertion failed" message and aborts. */
@ -81,6 +83,7 @@ extern void __assert (const char *__assertion, const char *__file, int __line)
__END_DECLS
#endif /* Not _ASSERT_H_DECLS */
/* When possible, define assert so that it does not add extra
parentheses around EXPR. Otherwise, those added parentheses would