]> granicus.if.org Git - sudo/commitdiff
Add explicit NULL entries for init_session, register_hooks and
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 15 Mar 2012 13:02:19 +0000 (09:02 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 15 Mar 2012 13:02:19 +0000 (09:02 -0400)
deregister_hooks with appropriate comments.

plugins/sample/sample_plugin.c

index c95ffd60eccbee8c825bf3b7a91c8b8d9971d8c2..afbf3d8c35eb83528014a466517d320066694610 100644 (file)
@@ -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 */
 };
 
 /*