From 9638c3fb0ea57403df73fb19b7843fcf7ae7bc6d Mon Sep 17 00:00:00 2001 From: Nedko Arnaudov Date: Mon, 10 May 2010 19:51:20 +0300 Subject: [PATCH] fix compilation warning --- proxies/jmcore_proxy.c | 2 +- proxies/jmcore_proxy.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/proxies/jmcore_proxy.c b/proxies/jmcore_proxy.c index 7f067390..79d15e95 100644 --- a/proxies/jmcore_proxy.c +++ b/proxies/jmcore_proxy.c @@ -50,7 +50,7 @@ void jmcore_proxy_uninit(void) dbus_unregister_service_lifetime_hook(g_dbus_connection, JMCORE_SERVICE_NAME); } -const int64_t jmcore_proxy_get_pid_cached(void) +int64_t jmcore_proxy_get_pid_cached(void) { if (g_jmcore_pid == 0) { diff --git a/proxies/jmcore_proxy.h b/proxies/jmcore_proxy.h index 1340cbea..c71be321 100644 --- a/proxies/jmcore_proxy.h +++ b/proxies/jmcore_proxy.h @@ -31,7 +31,7 @@ bool jmcore_proxy_init(void); void jmcore_proxy_uninit(void); -const int64_t jmcore_proxy_get_pid_cached(void); +int64_t jmcore_proxy_get_pid_cached(void); bool jmcore_proxy_get_pid_noncached(int64_t * pid_ptr); bool jmcore_proxy_create_link(bool midi, const char * input_port_name, const char * output_port_name); bool jmcore_proxy_destroy_link(const char * port_name);