summaryrefslogtreecommitdiffstats
path: root/proxy/src/client/gpm_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'proxy/src/client/gpm_common.c')
-rw-r--r--proxy/src/client/gpm_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proxy/src/client/gpm_common.c b/proxy/src/client/gpm_common.c
index 4651194..3518c09 100644
--- a/proxy/src/client/gpm_common.c
+++ b/proxy/src/client/gpm_common.c
@@ -63,7 +63,7 @@ static void gpm_init_once(void)
pthread_mutexattr_destroy(&attr);
}
-static int get_pipe_name(struct gpm_ctx *gpmctx, char *name)
+static int get_pipe_name(char *name)
{
const char *socket;
int ret;
@@ -88,7 +88,7 @@ static int gpm_open_socket(struct gpm_ctx *gpmctx)
int ret;
int fd = -1;
- ret = get_pipe_name(gpmctx, name);
+ ret = get_pipe_name(name);
if (ret) {
return ret;
}