about summary refs log tree commit diff
path: root/assert
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-02-21 11:15:54 +0000
committerJakub Jelinek <jakub@redhat.com>2007-02-21 11:15:54 +0000
commitb428b742cf54d423e5a7a68fcbec9473303eeafa (patch)
treea7eb4bb9273b2c48c1d4deacb5458f5075d902ef /assert
parent6c8cc2d3042d0585741452006c29cb21fbba39ea (diff)
downloadglibc-b428b742cf54d423e5a7a68fcbec9473303eeafa.tar.gz
glibc-b428b742cf54d423e5a7a68fcbec9473303eeafa.tar.xz
glibc-b428b742cf54d423e5a7a68fcbec9473303eeafa.zip
Updated to fedora-glibc-20070221T1011 cvs/fedora-glibc-2_5_90-18
Diffstat (limited to 'assert')
-rw-r--r--assert/assert.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/assert/assert.h b/assert/assert.h
index 7c8ae4845d..841f435973 100644
--- a/assert/assert.h
+++ b/assert/assert.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 1991,1992,1994-2001,2003,2004 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1992,1994-2001,2003,2004,2007
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -87,15 +88,13 @@ __END_DECLS
 # define assert(expr)							\
   ((expr)								\
    ? __ASSERT_VOID_CAST (0)						\
-   : (__assert_fail (__STRING(expr), __FILE__, __LINE__, __ASSERT_FUNCTION), \
-      __ASSERT_VOID_CAST (0)))
+   : __assert_fail (__STRING(expr), __FILE__, __LINE__, __ASSERT_FUNCTION))
 
 # ifdef	__USE_GNU
 #  define assert_perror(errnum)						\
   (!(errnum)								\
    ? __ASSERT_VOID_CAST (0)						\
-   : (__assert_perror_fail ((errnum), __FILE__, __LINE__, __ASSERT_FUNCTION), \
-      __ASSERT_VOID_CAST (0)))
+   : __assert_perror_fail ((errnum), __FILE__, __LINE__, __ASSERT_FUNCTION))
 # endif
 
 /* Version 2.4 and later of GCC define a magical variable `__PRETTY_FUNCTION__'