]> jfr.im git - solanum.git/blobdiff - include/channel.h
wsproc: call rb_clear_cloexec on child fds
[solanum.git] / include / channel.h
index bb1da83f3a504bc0ad63fa008d92ec6b2a52547e..e666279a1ac9fc0e73458b92be9145dddd2efcfd 100644 (file)
@@ -121,7 +121,7 @@ struct ChModeChange
        int mems;
 };
 
-typedef void (*ChannelModeFunc)(struct Client *source_p, struct Channel *chptr,
+typedef void ChannelModeFunc(struct Client *source_p, struct Channel *chptr,
                int alevel, const char *arg, int *errors, int dir, char c, long mode_type);
 
 enum chm_flags
@@ -136,7 +136,7 @@ enum chm_flags
 
 struct ChannelMode
 {
-       ChannelModeFunc set_func;
+       ChannelModeFunc *set_func;
        long mode_type;
        enum chm_flags flags;
 };