• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // To compile this, type:
2 // gcc -shared -g -Wall -o libtest4-local-suppr-v0.so test4-local-suppr-v0.c
3 
4 #include "test4-local-suppr-v1.h"
5 
6 struct private_data
7 {
8   int private_data0;
9   char private_data1; // This new member should not be flagged when
10 		      // using the suppression list.
11 };
12 
13 void
foo(struct public_type * p,struct a_not_private_type * t)14 foo(struct public_type* p __attribute__((unused)),
15     struct a_not_private_type* t __attribute__((unused)))
16 {
17   /* Do something with p */
18 }
19