diff options
author | Roy Marples <roy@marples.name> | 2008-03-16 17:00:56 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-03-16 17:00:56 +0000 |
commit | cb9da6a262b60255cd037f20b4cde3ab2c8a1e6a (patch) | |
tree | c5c57d5adedf009fdb02b53677e2cdf940bdb47c /src/rc/rc-plugin.h | |
parent | 40e12f6ba026af9c24d5c3d8e36512719ed5faee (diff) |
Remove null terminated char ** lists in favour of RC_STRINGLIST, using TAILQ from queue(3). Refactor code style around the BSD KNF.
Diffstat (limited to 'src/rc/rc-plugin.h')
-rw-r--r-- | src/rc/rc-plugin.h | 10 |
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 |