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);