summaryrefslogtreecommitdiffstats
path: root/src/usr/example
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/example')
-rw-r--r--src/usr/example/example.C17
-rw-r--r--src/usr/example/makefile1
2 files changed, 0 insertions, 18 deletions
diff --git a/src/usr/example/example.C b/src/usr/example/example.C
index 0965bcfd2..97c8d5cbb 100644
--- a/src/usr/example/example.C
+++ b/src/usr/example/example.C
@@ -7,23 +7,6 @@
static mutex_t value = mutex_create();
extern "C"
-void _init(void*)
-{
- // Call default constructors for any static objects.
- extern void (*ctor_start_address)();
- extern void (*ctor_end_address)();
- void(**ctors)() = &ctor_start_address;
- while(ctors != &ctor_end_address)
- {
- (*ctors)();
- ctors++;
- }
-
- printk("Here! %lx, %s\n", (uint64_t) value, VFS_ROOT);
- TRACFCOMP(NULL, "This is a test %lx, %s", (uint64_t) value, VFS_ROOT);
-}
-
-extern "C"
void _start(void*)
{
printk("Executing example module.\n");
diff --git a/src/usr/example/makefile b/src/usr/example/makefile
index 16df1e37d..10a249ff9 100644
--- a/src/usr/example/makefile
+++ b/src/usr/example/makefile
@@ -2,6 +2,5 @@ ROOTPATH = ../../..
MODULE = example
OBJS = example.o
-LIBS = libexample.so
include ${ROOTPATH}/config.mk
OpenPOWER on IntegriCloud