From 02c0df21747e5795197510f15da73bd0c287e978 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 16 Dec 1999 14:26:16 +0000 Subject: manual/9083 --- Src/Modules/example.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Src/Modules/example.c') 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); -- cgit 1.4.1