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 4b24712a057d50c6d2c7d642e4e2ae651ac9fc96..65131625cc94a166b84e1dcea8497b96a0605004 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 e38b7877df21aaf32a919c0d7b57ccf7356261f4..10f54c4390def4b3d6117de565df091e9094301b 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