From 814e854e2cfc3967b4dace386e7e064abf5b3e3c Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 7 Jun 2010 09:16:11 +0000 Subject: [PATCH] * include/sys/stdio.h: Remove _GNU_SOURCE guard around getline and getdelim prototypes since they are SUSv4 now. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/include/sys/stdio.h | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 908296291..01770a7dd 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2010-06-07 Corinna Vinschen + + * include/sys/stdio.h: Remove _GNU_SOURCE guard around getline + and getdelim prototypes since they are SUSv4 now. + 2010-06-02 Corinna Vinschen * ntdll.h (STATUS_BAD_NETWORK_PATH): Define. diff --git a/winsup/cygwin/include/sys/stdio.h b/winsup/cygwin/include/sys/stdio.h index 7aa46a000..b61110281 100644 --- a/winsup/cygwin/include/sys/stdio.h +++ b/winsup/cygwin/include/sys/stdio.h @@ -1,6 +1,6 @@ /* sys/stdio.h - Copyright 2004, 2005 Red Hat, Inc. + Copyright 2004, 2005, 2006, 2007, 2010 Red Hat, Inc. This file is part of Cygwin. @@ -34,10 +34,8 @@ details. */ __BEGIN_DECLS -#ifdef _GNU_SOURCE ssize_t _EXFUN(getline, (char **, size_t *, FILE *)); ssize_t _EXFUN(getdelim, (char **, size_t *, int, FILE *)); -#endif /* _GNU_SOURCE */ __END_DECLS