mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
common:w32: Don't expose unused functions.
* common/exechelp.h [HAVE_W32_SYSTEM] (get_max_fds): Don't expose. (close_all_fds, get_all_open_fds): Likewise. * common/exechelp-w32.c: Don't expose unused functions. -- GnuPG-bug-id: 7293 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
79ab52ff42
commit
c33523a013
2 changed files with 12 additions and 2 deletions
|
@ -31,6 +31,7 @@
|
|||
#define GNUPG_COMMON_EXECHELP_H
|
||||
|
||||
|
||||
#ifndef HAVE_W32_SYSTEM
|
||||
/* Return the maximum number of currently allowed file descriptors.
|
||||
Only useful on POSIX systems. */
|
||||
int get_max_fds (void);
|
||||
|
@ -49,6 +50,7 @@ void close_all_fds (int first, int *except);
|
|||
use of this function right at startup even before libgcrypt has
|
||||
been initialized. Returns NULL on error and sets ERRNO accordingly. */
|
||||
int *get_all_open_fds (void);
|
||||
#endif
|
||||
|
||||
|
||||
/* Portable function to create a pipe. Under Windows the write end is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue