about summary refs log tree commit diff
path: root/assert
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-07 18:34:14 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-07 18:34:14 +0000
commit21e41c58872fec4ea9d7b21807bcc242337b1e2c (patch)
tree6e50dae9fbd94f52c12560caee5d7a3c5c042184 /assert
parentd998b043aad96a5f2f8e519200b6f20289efb8bb (diff)
downloadglibc-21e41c58872fec4ea9d7b21807bcc242337b1e2c.tar.gz
glibc-21e41c58872fec4ea9d7b21807bcc242337b1e2c.tar.xz
glibc-21e41c58872fec4ea9d7b21807bcc242337b1e2c.zip
Update.
2000-09-07  Ulrich Drepper  <drepper@redhat.com>

	* assert/__assert.c: Undefine NDEBUG before include <assert.h>.

	* sysdeps/unix/sysv/linux/msgsnd.c (msgsnd): Add cast to avoid warning.
	* sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
Diffstat (limited to 'assert')
-rw-r--r--assert/__assert.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/assert/__assert.c b/assert/__assert.c
index 50ebac5bf8..cad3fe4ac0 100644
--- a/assert/__assert.c
+++ b/assert/__assert.c
@@ -16,6 +16,8 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+/* We have to see the prototype.  */
+#undef NDEBUG
 #include <assert.h>
 
 void