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
29 lines
376 B
/*
|
|
* 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;
|
|
}
|