1/* 2 * Compile with: 3 * gcc -shared -g -Wall -o libtest33-v0.so test33-v0.c 4 */ 5 6#include "test33-pub-include-dir-v0/test33-pub-include-v0.h" 7#include "test33-priv-include-dir-v0/test33-priv-include-v0.h" 8 9void 10foo(s_ptr ptr, int a) 11{ 12 ptr->p = NULL; 13 ++a; 14} 15 16s_ptr 17bar(s_ptr ptr, char a) 18{ 19 ptr->p = NULL; 20 ++a; 21 return ptr; 22} 23 24void 25baz(s_ptr ptr) 26{ 27 ptr->p = NULL; 28} 29