Solaris: fix a few compiler warnings
[valgrind.git] / gdbserver_tests / main_pic.c
blob6d7e3bbb6701f8820d4ae0d55876d6d04e56fc8f
1 #include <inttypes.h>
2 #include <stdio.h>
4 static void another_func(char *msg)
6 printf ("another func called msg %s\n", msg);
9 int main (int argc, char *argv[])
11 printf("address of main %#" PRIxPTR "\n", (uintptr_t) main);
12 printf("address of another_func %#" PRIxPTR "\n", (uintptr_t) another_func);
13 another_func("called from main");
14 return 0;