[evolution-data-server/gnome-2-30] Implicit declaration of function 'gpg_ctx_op_cancel' on windows
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-2-30] Implicit declaration of function 'gpg_ctx_op_cancel' on windows
- Date: Thu, 1 Apr 2010 13:56:26 +0000 (UTC)
commit 68382a2ba7b3096c2d2e6c4c2c37ec6ad7f21f9b
Author: Milan Crha <mcrha redhat com>
Date: Thu Apr 1 15:55:58 2010 +0200
Implicit declaration of function 'gpg_ctx_op_cancel' on windows
camel/camel-gpg-context.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/camel/camel-gpg-context.c b/camel/camel-gpg-context.c
index e6e69f9..d9c83aa 100644
--- a/camel/camel-gpg-context.c
+++ b/camel/camel-gpg-context.c
@@ -1037,11 +1037,10 @@ gpg_ctx_parse_status (struct _GpgCtx *gpg, CamelException *ex)
gpg->statusleft -= len; \
} G_STMT_END
-#ifndef G_OS_WIN32
-
static void
gpg_ctx_op_cancel (struct _GpgCtx *gpg)
{
+#ifndef G_OS_WIN32
pid_t retval;
gint status;
@@ -1058,9 +1057,8 @@ gpg_ctx_op_cancel (struct _GpgCtx *gpg)
sleep (1);
waitpid (gpg->pid, &status, WNOHANG);
}
-}
-
#endif
+}
static gint
gpg_ctx_op_step (struct _GpgCtx *gpg, CamelException *ex)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]