diff options
Diffstat (limited to 'src/posix-util.c')
| -rw-r--r-- | src/posix-util.c | 24 | 
1 files changed, 1 insertions, 23 deletions
| diff --git a/src/posix-util.c b/src/posix-util.c index 478055ab..fd445070 100644 --- a/src/posix-util.c +++ b/src/posix-util.c @@ -28,6 +28,7 @@  #include <assert.h>  #include "util.h" +#include "sys-util.h"  const char *  _gpgme_get_gpg_path (void) @@ -70,29 +71,6 @@ _gpgme_get_g13_path (void)  } -const char * -_gpgme_get_uiserver_socket_path (void) -{ -  static char *socket_path; -  const char *homedir; -  const char name[] = "S.uiserver"; - -  if (socket_path) -    return socket_path; - -  homedir = _gpgme_get_default_homedir (); -  if (! homedir) -    return NULL; - -  socket_path = malloc (strlen (homedir) + 1 + strlen (name) + 1); -  if (! socket_path) -    return NULL; - -  strcpy (stpcpy (stpcpy (socket_path, homedir), "/"), name); -  return socket_path; -} - -  /* See w32-util.c */  int  _gpgme_get_conf_int (const char *key, int *value) | 
