about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-01-03 19:51:01 +0000
committerUlrich Drepper <drepper@redhat.com>2008-01-03 19:51:01 +0000
commit8726a12e05ba81ee72fe99bdf0513cc71fa46e6a (patch)
treec6433ea20f665f46703bc2d458d01c936b4d4f9e
parentad586879b1d5dff5825e934c69e0194abc0f982a (diff)
downloadglibc-8726a12e05ba81ee72fe99bdf0513cc71fa46e6a.tar.gz
glibc-8726a12e05ba81ee72fe99bdf0513cc71fa46e6a.tar.xz
glibc-8726a12e05ba81ee72fe99bdf0513cc71fa46e6a.zip
* ctype/ctype.h (__ctype_b_loc, __ctype_tolower_loc, cvs/fedora-glibc-20080103T1958
	__ctype_toupper_loc): Add __THROW.
-rw-r--r--ChangeLog5
-rw-r--r--ctype/ctype.h8
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index d33e6700df..6deb5ddf31 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-01-03  Jakub Jelinek  <jakub@redhat.com>
+
+	* ctype/ctype.h (__ctype_b_loc, __ctype_tolower_loc,
+	__ctype_toupper_loc): Add __THROW.
+
 2008-01-02  Ulrich Drepper  <drepper@redhat.com>
 
 	* sysdeps/unix/sysv/linux/check_pf.c (make_request): Fix
diff --git a/ctype/ctype.h b/ctype/ctype.h
index 9ae7fb6088..301e25d4d1 100644
--- a/ctype/ctype.h
+++ b/ctype/ctype.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,92,93,95,96,97,98,99,2001,2002,2004,2007
+/* Copyright (C) 1991,92,93,95,96,97,98,99,2001,2002,2004,2007,2008
    	Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -79,11 +79,11 @@ enum
    doesn't fit into an `unsigned char'.  But today more important is that
    the arrays are also used for multi-byte character sets.  */
 extern __const unsigned short int **__ctype_b_loc (void)
-     __attribute__ ((__const));
+     __THROW __attribute__ ((__const));
 extern __const __int32_t **__ctype_tolower_loc (void)
-     __attribute__ ((__const));
+     __THROW __attribute__ ((__const));
 extern __const __int32_t **__ctype_toupper_loc (void)
-     __attribute__ ((__const));
+     __THROW __attribute__ ((__const));
 
 #define __isctype(c, type) \
   ((*__ctype_b_loc ())[(int) (c)] & (unsigned short int) type)