diff options
author | Simon Josefsson <simon@josefsson.org> | 2009-09-03 12:09:32 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2009-09-03 12:09:32 +0200 |
commit | d9633bbdfc9a244078d251ea62625909d5bfd794 (patch) | |
tree | df0f4b7b1d93f3f8a0d9c1902f4db9be56f0170e /gl/unistd.in.h | |
parent | b0b7f5a655fcbc530534eb6bc2362b4ab5a4e8d6 (diff) | |
download | gnutls-d9633bbdfc9a244078d251ea62625909d5bfd794.tar.gz |
Update gnulib files.
Diffstat (limited to 'gl/unistd.in.h')
-rw-r--r-- | gl/unistd.in.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/gl/unistd.in.h b/gl/unistd.in.h index f61dc65f14..1abcf83e5e 100644 --- a/gl/unistd.in.h +++ b/gl/unistd.in.h @@ -248,11 +248,11 @@ extern int fchdir (int /*fd*/); # define dup rpl_dup extern int dup (int); -# if @REPLACE_DUP2@ -# undef dup2 -# endif -# define dup2 rpl_dup2_fchdir -extern int dup2 (int, int); +/* Gnulib internal hooks needed to maintain the fchdir metadata. */ +extern int _gl_register_fd (int fd, const char *filename); +extern void _gl_unregister_fd (int fd); +extern int _gl_register_dup (int oldfd, int newfd); +extern const char *_gl_directory_name (int fd); # endif #elif defined GNULIB_POSIXCHECK @@ -621,12 +621,6 @@ extern ssize_t write (int fd, const void *buf, size_t count); #endif -#ifdef FCHDIR_REPLACEMENT -/* gnulib internal function. */ -extern void _gl_unregister_fd (int fd); -#endif - - #ifdef __cplusplus } #endif |