Initial commit
This commit is contained in:
11
mods/mod_a.c
Normal file
11
mods/mod_a.c
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "mod.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
static int hello() {
|
||||
printf("Hello, World!\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
mod_register(mod_a, hello);
|
||||
|
||||
12
mods/mod_b.c
Normal file
12
mods/mod_b.c
Normal file
@@ -0,0 +1,12 @@
|
||||
#include "mod.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
static int hello() {
|
||||
printf("Hello, World!\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
mod_register(mod_b, hello);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user