[gmime/gmime-2-4] Undo constification



commit 858ac1d74393e26a2a5549a44474f1cae135f6bf
Author: Jeffrey Stedfast <fejj gnome org>
Date:   Mon Mar 7 11:50:49 2011 -0500

    Undo constification

 gmime/gmime-gpg-context.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gmime/gmime-gpg-context.c b/gmime/gmime-gpg-context.c
index df163f7..406c384 100644
--- a/gmime/gmime-gpg-context.c
+++ b/gmime/gmime-gpg-context.c
@@ -801,10 +801,10 @@ gpg_ctx_op_start (struct _GpgCtx *gpg)
 	return -1;
 }
 
-static const char *
+static char *
 next_token (char *in, char **token)
 {
-	const char *start, *inptr = in;
+	char *start, *inptr = in;
 	
 	while (*inptr == ' ')
 		inptr++;
@@ -836,7 +836,7 @@ next_token (char *in, char **token)
  * Returns: the newly allocated signer for the caller to add more info to.
  **/
 static GMimeSigner *
-gpg_ctx_new_signer (struct _GpgCtx *gpg, const char *status)
+gpg_ctx_new_signer (struct _GpgCtx *gpg, char *status)
 {
 	GMimeSigner *signer;
 	
@@ -854,7 +854,7 @@ gpg_ctx_new_signer (struct _GpgCtx *gpg, const char *status)
 }
 
 static void
-gpg_ctx_parse_signer_info (struct _GpgCtx *gpg, const char *status)
+gpg_ctx_parse_signer_info (struct _GpgCtx *gpg, char *status)
 {
 	GMimeSigner *signer;
 	



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]