about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-09-24 16:59:22 +0000
committerUlrich Drepper <drepper@redhat.com>2001-09-24 16:59:22 +0000
commit8db6604d862909a10643e051f73795cbdaa1a8d5 (patch)
tree19744ddc25fa2c97aca9df0142fd6c1de213c250
parent9d0881aa76b399e6a025c5cf44bebe2ae0efa8af (diff)
downloadglibc-8db6604d862909a10643e051f73795cbdaa1a8d5.tar.gz
glibc-8db6604d862909a10643e051f73795cbdaa1a8d5.tar.xz
glibc-8db6604d862909a10643e051f73795cbdaa1a8d5.zip
Update.
2001-09-24  Ulrich Drepper  <drepper@redhat.com>

	* wcsmbs/wchar.h: Add __attribute_pure__ to mbsinit prototype.

	(load_shobj): Call dlopen with `RTLD_LAZY | __RTLD_SPROF'.
-rw-r--r--ChangeLog6
-rw-r--r--wcsmbs/wchar.h2
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index bf3bc784e7..091ff7f63e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,14 @@
+2001-09-24  Ulrich Drepper  <drepper@redhat.com>
+
+	* wcsmbs/wchar.h: Add __attribute_pure__ to mbsinit prototype.
+
 2001-09-20  H.J. Lu  <hjl@gnu.org>
 
 	* include/dlfcn.h (__RTLD_SPROF): New definiton.
 	* elf/dl-open.c (dl_open_worker): Return immediately after loading
 	for __RTLD_SPROF.
 	* elf/sprof.c (main): Default to the filename if soname doesn't exist.
-	(load_shobj): Call dlopen with `RTLD_LAZY | __RTLD_SPROF.
+	(load_shobj): Call dlopen with `RTLD_LAZY | __RTLD_SPROF'.
 
 2001-09-20  H.J. Lu  <hjl@gnu.org>
 
diff --git a/wcsmbs/wchar.h b/wcsmbs/wchar.h
index b7b63baadc..e8aae7ad7b 100644
--- a/wcsmbs/wchar.h
+++ b/wcsmbs/wchar.h
@@ -266,7 +266,7 @@ extern int wctob (wint_t __c) __THROW;
 
 /* Determine whether PS points to an object representing the initial
    state.  */
-extern int mbsinit (__const mbstate_t *__ps) __THROW;
+extern int mbsinit (__const mbstate_t *__ps) __THROW __attribute_pure__;
 
 /* Write wide character representation of multibyte character pointed
    to by S to PWC.  */