Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3772 → Rev 3869

/branches/dynload/uspace/lib/libtest/libtest.c
34,7 → 34,7
* @file
*/
 
#include <stdio.h>
//#include <stdio.h>
#include "libtest.h"
 
static void kputint(unsigned i)
49,11 → 49,22
// );
}
 
void test_func(void)
int number = 137;
 
int test_fun2(void);
 
int test_fun2(void)
{
printf("Hello, this is 'test_func()' in libtest.so!\n");
return number;
}
 
int test_func(void)
{
// printf("Hello, this is 'test_func()' in libtest.so!\n");
// kputint(42);
// return 42;
// while(1);
return test_fun2();
}
 
/** @}
/branches/dynload/uspace/lib/libtest/libtest.h
35,7 → 35,7
#ifndef LIBTEST_H_
#define LIBTEST_H_
 
void test_func(void);
int test_func(void);
 
#endif
 
/branches/dynload/uspace/lib/libtest/Makefile
43,7 → 43,8
-shared --no-undefined -soname libtest.so.0 \
-Bdynamic -I/app/dload
 
LIBS = $(LIBC_PREFIX)/shared/libc.so.0
#LIBS = $(LIBC_PREFIX)/shared/libc.so.0
LIBS =
 
DEFS += -DRELEASE=\"$(RELEASE)\"