aboutsummaryrefslogtreecommitdiff
path: root/sem3/module.c
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-02-15 20:28:59 +0100
committerJulian T <julian@jtle.dk>2020-02-15 20:28:59 +0100
commit8076d839bf69e619f2e504122ec2ceb790a0b978 (patch)
treefa6cb7c649939c3a002676ce142105360d3d2fd6 /sem3/module.c
parentf17e8e195bd1ee3f911ae311dce8e8f7df4f8457 (diff)
Changed to a more consistent codestyle
Diffstat (limited to 'sem3/module.c')
-rw-r--r--sem3/module.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sem3/module.c b/sem3/module.c
index 3a25d25..a4f4def 100644
--- a/sem3/module.c
+++ b/sem3/module.c
@@ -2,11 +2,13 @@
#include <linux/kernel.h>
#include <linux/module.h>
-module_init(void) {
+module_init(void)
+{
printk(KERN_INFO "COOL_MODULE: Hej med dig\n");
return 0;
}
-module_exit(void) {
+module_exit(void)
+{
printk(KERN_INFO "COOL_MODULE: Nou moe\n");
}