From: Marcus Brinkmann Date: Fri, 4 Jan 2008 16:06:42 +0000 (+0000) Subject: 2008-01-04 Marcus Brinkmann X-Git-Tag: gpgme-1.1.8~63 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b55a4d7b31f2d3ff0eed20948fddcde2711f240f;p=gpgme.git 2008-01-04 Marcus Brinkmann * assuan-pipe-connect.c (_gpgme_io_pipe) (_gpgme_io_spawn) [_ASSUAN_IN_GPGME_BUILD_ASSUAN]: Add prototypes --- diff --git a/assuan/ChangeLog b/assuan/ChangeLog index 4b24712..6513162 100644 --- a/assuan/ChangeLog +++ b/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/assuan/assuan-pipe-connect.c b/assuan/assuan-pipe-connect.c index e38b787..10f54c4 100644 --- a/assuan/assuan-pipe-connect.c +++ b/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