diff options
Diffstat (limited to 'hw/xquartz/xpr/x-hook.h')
-rw-r--r-- | hw/xquartz/xpr/x-hook.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/hw/xquartz/xpr/x-hook.h b/hw/xquartz/xpr/x-hook.h index 392352d50..da3407f92 100644 --- a/hw/xquartz/xpr/x-hook.h +++ b/hw/xquartz/xpr/x-hook.h @@ -32,11 +32,13 @@ #include "x-list.h" -typedef void x_hook_function (void *arg, void *data); +typedef void x_hook_function(void *arg, void *data); -X_EXTERN x_list *X_PFX (hook_add) (x_list *lst, x_hook_function *fun, void *data); -X_EXTERN x_list *X_PFX (hook_remove) (x_list *lst, x_hook_function *fun, void *data); -X_EXTERN void X_PFX (hook_run) (x_list *lst, void *arg); -X_EXTERN void X_PFX (hook_free) (x_list *lst); +X_EXTERN x_list *X_PFX(hook_add) (x_list * lst, x_hook_function * fun, + void *data); +X_EXTERN x_list *X_PFX(hook_remove) (x_list * lst, x_hook_function * fun, + void *data); +X_EXTERN void X_PFX(hook_run) (x_list * lst, void *arg); +X_EXTERN void X_PFX(hook_free) (x_list * lst); -#endif /* X_HOOK_H */ +#endif /* X_HOOK_H */ |