29 lines
		
	
	
		
			376 B
		
	
	
	
		
			C
		
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			376 B
		
	
	
	
		
			C
		
	
	
	
| /*
 | |
|  * Compile with:
 | |
|  *   gcc -shared -g -Wall -o libtest33-v0.so test33-v0.c
 | |
|  */
 | |
| 
 | |
| #include "test33-pub-include-dir-v0/test33-pub-include-v0.h"
 | |
| #include "test33-priv-include-dir-v0/test33-priv-include-v0.h"
 | |
| 
 | |
| void
 | |
| foo(s_ptr ptr, int a)
 | |
| {
 | |
|   ptr->p = NULL;
 | |
|   ++a;
 | |
| }
 | |
| 
 | |
| s_ptr
 | |
| bar(s_ptr ptr, char a)
 | |
| {
 | |
|   ptr->p = NULL;
 | |
|   ++a;
 | |
|   return ptr;
 | |
| }
 | |
| 
 | |
| void
 | |
| baz(s_ptr ptr)
 | |
| {
 | |
|   ptr->p = NULL;
 | |
| }
 |