diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2005-07-09 12:22:39 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2005-07-09 12:22:39 +0400 |
commit | 4cc9a82e3ef3e785c720133b737c3713e6582b62 (patch) | |
tree | d16d762d35404824bb3aed7ea8ea6cf926b5c2f7 /winsup/cygwin/include/sys | |
parent | 88540e248e68388fdea438e7b64e9e63f2ad5dcf (diff) |
* cygwin.din (getline): Export.
(getdelim): Export.
* include/sys/stdio.h (getline): Replace macro with function prototype.
(getdelim): Likewise.
* include/cygwin/version.h: Bump API minor number.
Diffstat (limited to 'winsup/cygwin/include/sys')
-rw-r--r-- | winsup/cygwin/include/sys/stdio.h | 9 |
1 files changed, 7 insertions, 2 deletions
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 |