From: Todd C. Miller Date: Thu, 15 Mar 2012 13:02:19 +0000 (-0400) Subject: Add explicit NULL entries for init_session, register_hooks and X-Git-Tag: SUDO_1_8_5~1^2~140 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b1baf07ec9c0291826ad5f68696cfd7040683a0;p=sudo Add explicit NULL entries for init_session, register_hooks and deregister_hooks with appropriate comments. --- diff --git a/plugins/sample/sample_plugin.c b/plugins/sample/sample_plugin.c index c95ffd60e..afbf3d8c3 100644 --- a/plugins/sample/sample_plugin.c +++ b/plugins/sample/sample_plugin.c @@ -488,7 +488,10 @@ struct policy_plugin sample_policy = { policy_check, policy_list, NULL, /* validate */ - NULL /* invalidate */ + NULL, /* invalidate */ + NULL, /* init_session */ + NULL, /* register_hooks */ + NULL /* deregister_hooks */ }; /*