Change to using void * for character function content parameter
[onak.git] / armor.h
diff --git a/armor.h b/armor.h
index 85ac6a644b1576509b353c22d8e5eab994d12caa..8f5dc3522b0a3e20f4886475695cb8c123cacac8 100644 (file)
--- a/armor.h
+++ b/armor.h
@@ -21,7 +21,7 @@
  *     using putchar_func.
  */
 int armor_openpgp_stream(int (*putchar_func)(void *ctx, size_t count,
-                                               unsigned char *c),
+                                               void *c),
                                void *ctx,
                                struct openpgp_packet_list *packets);
 
@@ -36,7 +36,7 @@ int armor_openpgp_stream(int (*putchar_func)(void *ctx, size_t count,
  *     packets.
  */
 int dearmor_openpgp_stream(int (*getchar_func)(void *ctx, size_t count,
-                                       unsigned char *c),
+                                       void *c),
                                void *ctx,
                                struct openpgp_packet_list **packets);