Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2982 → Rev 2981

/branches/dynload/uspace/app/dltest/dltest.c
34,8 → 34,12
* @file
*/
 
#include <stdio.h>
#include <libtest.h>
 
void __io_init(void);
void __main(void);
void __exit(void);
 
static void kputint(unsigned i)
{
unsigned dummy;
48,16 → 52,36
);
}
 
int main(int argc, char *argv[])
 
/*static void test(void)
{
kputint(-1);
kputint(0x100);
printf("Hello from dltest!\n");
kputint(0x200);
kputint(42);
while(1);
}*/
 
int main(int argc, char *argv[])
{
// test();
/* Unreachable, yet. Just to create a relocation entry */
test_func();
return 0;
}
 
void __io_init(void)
{
}
 
void __main(void)
{
main(0, 0);
}
 
void __exit(void)
{
}
 
 
/** @}
*/