http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46409
--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-10 11:07:40 UTC --- typedef unsigned long long int uint64_t; typedef uint64_t hdb_handle_t; struct corosync_api_v1 { int (*plugin_interface_release) (hdb_handle_t handle); }; struct corosync_service_engine { int (*exec_init_fn) (struct corosync_api_v1 *); } mar_evt_event_pattern_t; static int inline openais_clm_services_api_release (struct corosync_api_v1 *coroapi, hdb_handle_t handle) { unsigned int res; res = coroapi->plugin_interface_release (handle); } static int evt_exec_init(struct corosync_api_v1 *); struct corosync_api_v1 *api; static struct openais_clm_services_api_ver1 *clmapi; static hdb_handle_t clm_services_api_handle; struct corosync_service_engine evt_service_engine = { .exec_init_fn = evt_exec_init }; int evt_exec_init(struct corosync_api_v1 *corosync_api) { clmapi = openais_clm_services_api_reference (api, &clm_services_api_handle); openais_clm_services_api_release (api, clm_services_api_handle); }