diff options
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r-- | winsup/cygwin/include/cygwin/version.h | 3 | ||||
-rw-r--r-- | winsup/cygwin/include/sys/stdio.h | 9 |
2 files changed, 9 insertions, 3 deletions
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h index fd4eb5810..e7f2b454e 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -260,12 +260,13 @@ details. */ 131: Export inet_ntop, inet_pton. 132: Add GLOB_LIMIT flag to glob. 133: Export __getline, __getdelim. + 134: Export getline, getdelim. */ /* Note that we forgot to bump the api for ualarm, strtoll, strtoull */ #define CYGWIN_VERSION_API_MAJOR 0 -#define CYGWIN_VERSION_API_MINOR 133 +#define CYGWIN_VERSION_API_MINOR 134 /* There is also a compatibity version number associated with the shared memory regions. It is incremented when incompatible diff --git a/winsup/cygwin/include/sys/stdio.h b/winsup/cygwin/include/sys/stdio.h index 71ef307ab..8d002ddba 100644 --- a/winsup/cygwin/include/sys/stdio.h +++ b/winsup/cygwin/include/sys/stdio.h @@ -11,6 +11,7 @@ details. */ #ifndef _SYS_STDIO_H_ #define _SYS_STDIO_H_ +#include <sys/cdefs.h> #include <sys/lock.h> #if !defined(__SINGLE_THREAD__) @@ -25,7 +26,11 @@ details. */ # endif #endif -#define getline __getline -#define getdelim __getdelim +__BEGIN_DECLS + +ssize_t _EXFUN(getline, (char **, size_t *, FILE *)); +ssize_t _EXFUN(getdelim, (char **, size_t *, int, FILE *)); + +__END_DECLS #endif |