Skip to content

Commit

Permalink
[BZ #9694]
Browse files Browse the repository at this point in the history
	* wcsmbs/wchar.h: Move undefs for local __need_* constants to the
	very end.
  • Loading branch information
Ulrich Drepper committed Dec 29, 2008
1 parent 50e481c commit 0f2ae55
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
2008-12-29 Ulrich Drepper <drepper@redhat.com>

[BZ #9694]
* wcsmbs/wchar.h: Move undefs for local __need_* constants to the
very end.

* nscd/nscd_gethst_r.c (nscd_gethst_r): Don't use nscd if
LOCALDOMAIN is defined.
* nscd/nscd_getai.c (__nscd_getai): Likewise.
Expand Down
6 changes: 3 additions & 3 deletions wcsmbs/wchar.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 1995-2004,2005,2006,2007 Free Software Foundation, Inc.
/* Copyright (C) 1995-2004,2005,2006,2007, 2008 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
Expand Down Expand Up @@ -839,9 +839,9 @@ __END_DECLS

#endif /* _WCHAR_H defined */

#endif /* wchar.h */

/* Undefined all __need_* constants in case we are included to get those
constants but the whole file was already read. */
#undef __need_mbstate_t
#undef __need_wint_t

#endif /* wchar.h */

0 comments on commit 0f2ae55

Please sign in to comment.