mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-13 13:34:48 +00:00
15 lines
350 B
C
15 lines
350 B
C
|
// Compile this with:
|
||
|
// gcc -g -Wall -fPIC -shared -o libtest7-fn-changed-libapp-v1.so test7-fn-changed-libapp-v1.c
|
||
|
#include <stdio.h>
|
||
|
#include "test7-fn-changed-libapp-v1.h"
|
||
|
|
||
|
int add (float a, float b)
|
||
|
{
|
||
|
return a+b;
|
||
|
}
|
||
|
|
||
|
void print (const struct Student s)
|
||
|
{
|
||
|
printf ("Usn = %d \t Name = %s\t Percentage = %f\n", s.usn, s.name, s.percentage);
|
||
|
}
|