You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
376 B

/*
* Compile with:
* gcc -shared -g -Wall -o libtest33-v1.so test33-v1.c
*/
#include "test33-pub-include-dir-v1/test33-pub-include-v1.h"
#include "test33-priv-include-dir-v1/test33-priv-include-v1.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;
}