File tree Expand file tree Collapse file tree
src/VBox/Additions/x11/VBoxClient Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- /* $Id: display-helper-generic.cpp 114745 2026-07-21 18:40:35Z knut.osmundsen@oracle.com $ */
1+ /* $Id: display-helper-generic.cpp 114746 2026-07-21 18:44:04Z knut.osmundsen@oracle.com $ */
22/* * @file
33 * Guest Additions - Generic Desktop Environment helper.
44 *
@@ -371,7 +371,7 @@ static DECLCALLBACK(int) vbcl_hlp_generic_probe(void)
371371 return VINF_SUCCESS ;
372372}
373373
374- int vbcl_hlp_generic_init (void )
374+ DECLCALLBACK ( int ) vbcl_hlp_generic_init(void )
375375{
376376 ASMAtomicWriteBool (&g_fShutdown, false );
377377
@@ -382,7 +382,7 @@ int vbcl_hlp_generic_init(void)
382382 return VINF_SUCCESS ;
383383}
384384
385- int vbcl_hlp_generic_term (void )
385+ DECLCALLBACK ( int ) vbcl_hlp_generic_term(void )
386386{
387387 int rc = VINF_SUCCESS ;
388388
@@ -398,12 +398,12 @@ int vbcl_hlp_generic_term(void)
398398 return rc;
399399}
400400
401- void vbcl_hlp_generic_subscribe_display_offset_changed (FNDISPLAYOFFSETCHANGE *pfnCb)
401+ DECLCALLBACK ( void ) vbcl_hlp_generic_subscribe_display_offset_changed(FNDISPLAYOFFSETCHANGE *pfnCb)
402402{
403403 g_pfnDisplayOffsetChangeCb = pfnCb;
404404}
405405
406- void vbcl_hlp_generic_unsubscribe_display_offset_changed (void )
406+ DECLCALLBACK ( void ) vbcl_hlp_generic_unsubscribe_display_offset_changed(void )
407407{
408408 g_pfnDisplayOffsetChangeCb = NULL ;
409409}
Original file line number Diff line number Diff line change 1- /* $Id: display-helper.h 114745 2026-07-21 18:40:35Z knut.osmundsen@oracle.com $ */
1+ /* $Id: display-helper.h 114746 2026-07-21 18:44:04Z knut.osmundsen@oracle.com $ */
22/** @file
33 * Guest Additions - Definitions for Desktop Environment helpers.
44 */
@@ -101,26 +101,26 @@ typedef struct
101101 *
102102 * @returns IPRT status code.
103103 */
104- int vbcl_hlp_generic_init (void );
104+ DECLCALLBACK ( int ) vbcl_hlp_generic_init (void );
105105
106106/**
107107 * Termination callback for generic Desktop Environment helper.
108108 *
109109 * @returns IPRT status code.
110110 */
111- int vbcl_hlp_generic_term (void );
111+ DECLCALLBACK ( int ) vbcl_hlp_generic_term (void );
112112
113113/**
114114 * Subscribe to display offset change notifications emitted by Generic Desktop Environment helper.
115115 *
116116 * @param pfnCb A pointer to callback function which will be triggered when event arrives.
117117 */
118- void vbcl_hlp_generic_subscribe_display_offset_changed (FNDISPLAYOFFSETCHANGE * pfnCb );
118+ DECLCALLBACK ( void ) vbcl_hlp_generic_subscribe_display_offset_changed (FNDISPLAYOFFSETCHANGE * pfnCb );
119119
120120/**
121121 * Unsubscribe from display offset change notifications emitted by Generic Desktop Environment helper.
122122 */
123- void vbcl_hlp_generic_unsubscribe_display_offset_changed (void );
123+ DECLCALLBACK ( void ) vbcl_hlp_generic_unsubscribe_display_offset_changed (void );
124124
125125/** GNOME3 helper private data. */
126126extern const VBCLDISPLAYHELPER g_DisplayHelperGnome3 ;
You can’t perform that action at this time.
0 commit comments