Skip to content

Commit

Permalink
* ctype/ctype.h (__ctype_b_loc, __ctype_tolower_loc,
Browse files Browse the repository at this point in the history
	__ctype_toupper_loc): Add __THROW.
  • Loading branch information
Ulrich Drepper committed Jan 3, 2008
1 parent ad58687 commit 8726a12
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions ctype/ctype.h
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 8726a12

Please sign in to comment.