- /*
- * $Id: hello.c,v 1.9 2001/07/10 16:11:51 rubini Exp $
- */
- #define MODULE
- #include <linux/module.h>
- /*
- * These lines, although not shown in the book,
- * are needed to make hello.c run properly even when
- * your kernel has version support enabled
- */
- int init_module(void) { printk("<1>Hello, worldn"); return 0; }
- void cleanup_module(void) { printk("<1>Goodbye cruel worldn"); }