about summary refs log tree commit diff
path: root/include/assert.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-07-25 08:19:59 +0000
committerUlrich Drepper <drepper@redhat.com>2002-07-25 08:19:59 +0000
commit51d46f733a26fc9da14cb5d45d88d09e4fc088dd (patch)
treeb0845ee54f7062089823a7065201145aefbff2ba /include/assert.h
parent78ce5a3bbb6ce2ef0c43f5bd575708ff2c7715b9 (diff)
downloadglibc-51d46f733a26fc9da14cb5d45d88d09e4fc088dd.tar.gz
glibc-51d46f733a26fc9da14cb5d45d88d09e4fc088dd.tar.xz
glibc-51d46f733a26fc9da14cb5d45d88d09e4fc088dd.zip
Update.
2002-07-25  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/wordsize-32/divdi3.c: Define __divdi3_internal.
	* sysdeps/wordsize-32/lldiv.c: Make gcc use __divdi3_internal instead
	of __divdi3.

	* sysdeps/unix/sysv/linux/adjtime.c: Use __adjtimex_internal.
	* sysdeps/unix/sysv/linux/ntp_gettime.c: Likewise.
	* sysdeps/unix/sysv/linux/syscalls.list: Add __adjtimex_internal
	alias for adjtimex syscall.

	* elf/dl-minimal.c: Define __assert_fail_internal.
	* assert/assert.c: Likewise.
	* include/assert.h: Define __assert_file macro if !SHARED and not
	NOT_IN_libc.

	* iconv/Makefile: Define NOT_IN_libc for objects in standalone
	programs.
	* locale/Makefile: Likewise.
	* nscd/Makefile: Likewise.
	* catgets/Makefile: Likewise.

	succesful seek call.  Simplify error checking.
Diffstat (limited to 'include/assert.h')
-rw-r--r--include/assert.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/assert.h b/include/assert.h
index e18d37364f..30afabf94d 100644
--- a/include/assert.h
+++ b/include/assert.h
@@ -5,3 +5,6 @@ extern void __assert_fail_internal (__const char *__assertion,
 				    unsigned int __line,
 				    __const char *__function)
      __attribute__ ((__noreturn__)) attribute_hidden;
+#if defined SHARED && !defined NOT_IN_libc
+# define __assert_fail __assert_fail_internal
+#endif