From 4c68beed7c483a775e57843f247fefac4a94f1d3 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Fri, 4 Jan 2008 16:06:42 +0000 Subject: [PATCH] 2008-01-04 Marcus Brinkmann * assuan-pipe-connect.c (_gpgme_io_pipe) (_gpgme_io_spawn) [_ASSUAN_IN_GPGME_BUILD_ASSUAN]: Add prototypes --- trunk/assuan/ChangeLog | 6 ++++++ trunk/assuan/assuan-pipe-connect.c | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/trunk/assuan/ChangeLog b/trunk/assuan/ChangeLog index 4b24712..6513162 100644 --- a/trunk/assuan/ChangeLog +++ b/trunk/assuan/ChangeLog @@ -1,3 +1,9 @@ +2008-01-04 Marcus Brinkmann + + * assuan-pipe-connect.c (_gpgme_io_pipe) + (_gpgme_io_spawn) [_ASSUAN_IN_GPGME_BUILD_ASSUAN]: Add prototypes + to silence compiler warning. Reported by Alon Bar-Lev. + 2007-09-25 Werner Koch * assuan.h (_assuan_gpg_strerror_r, _assuan_gpg_strsource): Add diff --git a/trunk/assuan/assuan-pipe-connect.c b/trunk/assuan/assuan-pipe-connect.c index e38b787..10f54c4 100644 --- a/trunk/assuan/assuan-pipe-connect.c +++ b/trunk/assuan/assuan-pipe-connect.c @@ -39,6 +39,14 @@ #include "assuan-defs.h" +#ifdef _ASSUAN_IN_GPGME_BUILD_ASSUAN + +int _gpgme_io_pipe (int filedes[2], int inherit_idx); +int _gpgme_io_spawn (const char *path, char **argv, + struct spawn_fd_item_s *fd_child_list, + struct spawn_fd_item_s *fd_parent_list); +#endif + /* Hacks for Slowaris. */ #ifndef PF_LOCAL # ifdef PF_UNIX -- 2.26.2