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