Skip to content

Commit

Permalink
Fix up grp.h for XPG7.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Jan 13, 2010
1 parent 505cf2c commit dfe11a1
Show file tree
Hide file tree
Showing 3 changed files with 11 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 @@
2010-01-12 Ulrich Drepper <drepper@redhat.com>

* grp/grp.h: Declare getgrent and endgrent for XPG7.

* conform/data/inttypes.h-data: Use same types as the headers.

* resolv/netdb.h: Don't define old resolver macros for XPG7.

* conform/data/sys/uio.h-data: Don't exclude POSIX2008.
Expand Down
4 changes: 2 additions & 2 deletions conform/data/inttypes.h-data
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ function intmax_t imaxabs (intmax_t)
function imaxdiv_t imaxdiv (intmax_t, intmax_t)
function intmax_t strtoimax (const char*, char**, int)
function uintmax_t strtoumax (const char*, char**, int)
function intmax_t wcstoimax (const wchar_t*, wchar_t**, int)
function uintmax_t wcstoumax (const wchar_t*, wchar_t**, int)
function intmax_t wcstoimax (const __gwchar_t*, __gwchar_t**, int)
function uintmax_t wcstoumax (const __gwchar_t*, __gwchar_t**, int)

allow PRI*
allow SCN*
Expand Down
6 changes: 5 additions & 1 deletion grp/grp.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* Copyright (C) 1991,1992,1995-2001,2003,2004 Free Software Foundation, Inc.
/* Copyright (C) 1991,1992,1995-2001,2003,2004,2010
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 @@ -61,7 +62,10 @@ struct group
This function is a possible cancellation point and therefore not
marked with __THROW. */
extern void setgrent (void);
#endif

#if defined __USE_SVID || defined __USE_BSD || defined __USE_XOPEN_EXTENDED \
|| defined __USE_XOPEN2K8
/* Close the group-file stream.
This function is a possible cancellation point and therefore not
Expand Down

0 comments on commit dfe11a1

Please sign in to comment.