2008-01-04 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Fri, 4 Jan 2008 16:06:42 +0000 (16:06 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Fri, 4 Jan 2008 16:06:42 +0000 (16:06 +0000)
* assuan-pipe-connect.c (_gpgme_io_pipe)
(_gpgme_io_spawn) [_ASSUAN_IN_GPGME_BUILD_ASSUAN]: Add prototypes

assuan/ChangeLog
assuan/assuan-pipe-connect.c

index 4b24712..6513162 100644 (file)
@@ -1,3 +1,9 @@
+2008-01-04  Marcus Brinkmann  <marcus@g10code.de>
+
+       * 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  <wk@g10code.com>
 
        * assuan.h (_assuan_gpg_strerror_r, _assuan_gpg_strsource): Add
index e38b787..10f54c4 100644 (file)
 
 #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