aboutsummaryrefslogtreecommitdiffstats
path: root/assuan/assuan.h
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2005-10-01 20:17:03 +0000
committerMarcus Brinkmann <[email protected]>2005-10-01 20:17:03 +0000
commitfbf6ece78b6ad0efeab49c2e148b8720ee26c41c (patch)
tree9cfca581489325525158cdd4ede45d4cc6fc2469 /assuan/assuan.h
parent2005-10-01 Marcus Brinkmann <[email protected]> (diff)
downloadgpgme-fbf6ece78b6ad0efeab49c2e148b8720ee26c41c.tar.gz
gpgme-fbf6ece78b6ad0efeab49c2e148b8720ee26c41c.zip
2005-10-01 Marcus Brinkmann <[email protected]>
* assuan.h (assuan_pipe_connect, assuan_pipe_connect2): Make type of ARGV parameter const in prototype. * assuan-pipe-connect.c (assuan_pipe_connect, assuan_pipe_connect2): Likewise in declaration. (assuan_pipe_connect2): Add braindead cast to make execv happy.
Diffstat (limited to 'assuan/assuan.h')
-rw-r--r--assuan/assuan.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/assuan/assuan.h b/assuan/assuan.h
index 68336edc..b2641b24 100644
--- a/assuan/assuan.h
+++ b/assuan/assuan.h
@@ -365,9 +365,11 @@ int assuan_init_connected_socket_server (assuan_context_t *r_ctx, int fd);
/*-- assuan-pipe-connect.c --*/
assuan_error_t assuan_pipe_connect (assuan_context_t *ctx, const char *name,
- char *const argv[], int *fd_child_list);
+ const char *const argv[],
+ int *fd_child_list);
assuan_error_t assuan_pipe_connect2 (assuan_context_t *ctx, const char *name,
- char *const argv[], int *fd_child_list,
+ const char *const argv[],
+ int *fd_child_list,
void (*atfork) (void*, int),
void *atforkvalue);
/*-- assuan-socket-connect.c --*/