summaryrefslogtreecommitdiffstats
path: root/Src/Modules/example.c
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-12-14 18:04:06 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-12-14 18:04:06 +0000
commitd5fbda44c32c6d9905406b074ebeccb26e263055 (patch)
tree9fde7cd6d8a52dfbffd38c28788be142697b6f80 /Src/Modules/example.c
parentzsh-workers/9043 (diff)
downloadzsh-d5fbda44c32c6d9905406b074ebeccb26e263055.tar
zsh-d5fbda44c32c6d9905406b074ebeccb26e263055.tar.gz
zsh-d5fbda44c32c6d9905406b074ebeccb26e263055.tar.bz2
zsh-d5fbda44c32c6d9905406b074ebeccb26e263055.tar.lz
zsh-d5fbda44c32c6d9905406b074ebeccb26e263055.tar.xz
zsh-d5fbda44c32c6d9905406b074ebeccb26e263055.tar.zst
zsh-d5fbda44c32c6d9905406b074ebeccb26e263055.zip
zsh-workers/9046
Diffstat (limited to 'Src/Modules/example.c')
-rw-r--r--Src/Modules/example.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Src/Modules/example.c b/Src/Modules/example.c
index 43199e350..bf4ad60fb 100644
--- a/Src/Modules/example.c
+++ b/Src/Modules/example.c
@@ -159,7 +159,7 @@ ex_wrapper(List list, FuncWrap w, char *name)
}
/*
- * boot_example is executed when the module is loaded.
+ * boot_ is executed when the module is loaded.
*/
static struct builtin bintab[] = {
@@ -188,7 +188,7 @@ static struct funcwrap wrapper[] = {
/**/
int
-setup_example(Module m)
+setup_(Module m)
{
printf("The example module has now been set up.\n");
fflush(stdout);
@@ -197,7 +197,7 @@ setup_example(Module m)
/**/
int
-boot_example(Module m)
+boot_(Module m)
{
intparam = 42;
strparam = ztrdup("example");
@@ -214,7 +214,7 @@ boot_example(Module m)
/**/
int
-cleanup_example(Module m)
+cleanup_(Module m)
{
deletebuiltins(m->nam, bintab, sizeof(bintab)/sizeof(*bintab));
deleteconddefs(m->nam, cotab, sizeof(cotab)/sizeof(*cotab));
@@ -226,7 +226,7 @@ cleanup_example(Module m)
/**/
int
-finish_example(Module m)
+finish_(Module m)
{
printf("Thank you for using the example module. Have a nice day.\n");
fflush(stdout);