diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2007-05-29 17:01:07 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-05-29 17:01:07 +0000 |
commit | 6ab77f00ff8c4a30bf663f6e4ee39b9b23d3ef32 (patch) | |
tree | 2a64c4f75861838773bc4a9410f33c488bb4aa89 /Src/Zle/zle_main.c | |
parent | 52e5a75a7a8a4a16579e708a006f6346ce765aeb (diff) | |
download | zsh-6ab77f00ff8c4a30bf663f6e4ee39b9b23d3ef32.tar.gz zsh-6ab77f00ff8c4a30bf663f6e4ee39b9b23d3ef32.tar.xz zsh-6ab77f00ff8c4a30bf663f6e4ee39b9b23d3ef32.zip |
23488: tidy up module interface and documentation
Diffstat (limited to 'Src/Zle/zle_main.c')
-rw-r--r-- | Src/Zle/zle_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/zle_main.c b/Src/Zle/zle_main.c index 8ab10e5de..d2a665188 100644 --- a/Src/Zle/zle_main.c +++ b/Src/Zle/zle_main.c @@ -1844,7 +1844,7 @@ boot_(Module m) { addhookfunc("before_trap", (Hookfn) zlebeforetrap); addhookfunc("after_trap", (Hookfn) zleaftertrap); - addhookdefs(m->nam, zlehooks, sizeof(zlehooks)/sizeof(*zlehooks)); + (void)addhookdefs(m->nam, zlehooks, sizeof(zlehooks)/sizeof(*zlehooks)); return 0; } @@ -1858,7 +1858,7 @@ cleanup_(Module m) } deletehookfunc("before_trap", (Hookfn) zlebeforetrap); deletehookfunc("after_trap", (Hookfn) zleaftertrap); - deletehookdefs(m->nam, zlehooks, sizeof(zlehooks)/sizeof(*zlehooks)); + (void)deletehookdefs(m->nam, zlehooks, sizeof(zlehooks)/sizeof(*zlehooks)); return setfeatureenables(m->nam, &module_features, NULL); } |