aboutsummaryrefslogtreecommitdiff
path: root/src/rc/rc-plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc/rc-plugin.h')
-rw-r--r--src/rc/rc-plugin.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rc/rc-plugin.h b/src/rc/rc-plugin.h
index 91ba5619..0b8ab090 100644
--- a/src/rc/rc-plugin.h
+++ b/src/rc/rc-plugin.h
@@ -36,10 +36,10 @@
* Mainly used in atexit code. */
extern bool rc_in_plugin;
-int rc_waitpid (pid_t pid);
-void rc_plugin_load ();
-void rc_plugin_unload ();
-void rc_plugin_run (rc_hook_t, const char *value);
+int rc_waitpid(pid_t pid);
+void rc_plugin_load(void);
+void rc_plugin_unload(void);
+void rc_plugin_run(RC_HOOK, const char *value);
/* dlfunc defines needed to avoid ISO errors. FreeBSD has this right :) */
#ifndef __FreeBSD__
@@ -47,7 +47,7 @@ struct __dlfunc_arg {
int __dlfunc_dummy;
};
-typedef void (*dlfunc_t) (struct __dlfunc_arg);
+typedef void (*dlfunc_t)(struct __dlfunc_arg);
dlfunc_t dlfunc (void * __restrict handle, const char * __restrict symbol);
#endif