diff options
Diffstat (limited to 'src/usr/example/example.C')
-rw-r--r-- | src/usr/example/example.C | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/usr/example/example.C b/src/usr/example/example.C index 962ea1be8..bb8cef2a3 100644 --- a/src/usr/example/example.C +++ b/src/usr/example/example.C @@ -1,25 +1,25 @@ -// IBM_PROLOG_BEGIN_TAG -// This is an automatically generated prolog. -// -// $Source: src/usr/example/example.C $ -// -// IBM CONFIDENTIAL -// -// COPYRIGHT International Business Machines Corp. 2010 - 2011 -// -// p1 -// -// Object Code Only (OCO) source materials -// Licensed Internal Code Source Materials -// IBM HostBoot Licensed Internal Code -// -// The source code for this program is not published or other- -// wise divested of its trade secrets, irrespective of what has -// been deposited with the U.S. Copyright Office. -// -// Origin: 30 -// -// IBM_PROLOG_END +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/example/example.C $ */ +/* */ +/* IBM CONFIDENTIAL */ +/* */ +/* COPYRIGHT International Business Machines Corp. 2010,2012 */ +/* */ +/* p1 */ +/* */ +/* Object Code Only (OCO) source materials */ +/* Licensed Internal Code Source Materials */ +/* IBM HostBoot Licensed Internal Code */ +/* */ +/* The source code for this program is not published or otherwise */ +/* divested of its trade secrets, irrespective of what has been */ +/* deposited with the U.S. Copyright Office. */ +/* */ +/* Origin: 30 */ +/* */ +/* IBM_PROLOG_END_TAG */ #include <kernel/console.H> #include <sys/sync.h> #include <sys/vfs.h> @@ -36,14 +36,14 @@ TRAC_INIT(&g_trac_test, "EXAMPLE", 4096); #endif extern "C" -void _start(void *ptr) +void* _start(void *ptr) { /** * @todo fix printk to accept (NULL) */ printk( "Executing Example module, arg=%s\n", ( (ptr==NULL) ? "(NULL)" : (char*)ptr ) ); - task_end(); + return NULL; } uint64_t example1_function() |