aboutsummaryrefslogtreecommitdiffstats
path: root/src/posix-util.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2010-04-19 16:59:23 +0000
committerMarcus Brinkmann <[email protected]>2010-04-19 16:59:23 +0000
commitdfefe1b390bb5d15d7ef3e0564378a8139d2d335 (patch)
treee66ebe6016574d274ad441e95f8669f6a62152de /src/posix-util.c
parentMore robust detection of handle and sockets (diff)
downloadgpgme-dfefe1b390bb5d15d7ef3e0564378a8139d2d335.tar.gz
gpgme-dfefe1b390bb5d15d7ef3e0564378a8139d2d335.zip
2010-04-19 Marcus Brinkmann <[email protected]>
* assuan-support.c (my_spawn): Cast to avoid warning. * engine-g13.c (g13_new): Make ARGV array of pointer to const char. (g13_assuan_simple_command) [!USE_DESCRIPTOR_FUNCTION]: Don't define. * ops.h (_gpgme_key_append_name): Same in prototype. * key.c (_gpgme_key_append_name): Make SRC argument pointer to const char. * posix-util.c (_gpgme_get_uiserver_socket_path): Make HOMEDIR const. * vfs-mount.c (gpgme_op_vfs_transact_start): Never define this potentially useful but currently unused function. * vfs-create.c (gpgme_op_vfs_transact_start): Likewise.
Diffstat (limited to 'src/posix-util.c')
-rw-r--r--src/posix-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/posix-util.c b/src/posix-util.c
index 3acc7e08..d7ed8f09 100644
--- a/src/posix-util.c
+++ b/src/posix-util.c
@@ -74,7 +74,7 @@ const char *
_gpgme_get_uiserver_socket_path (void)
{
static char *socket_path;
- char *homedir;
+ const char *homedir;
const char name[] = "S.uiserver";
if (socket_path)