1 struct foo1 2 { 3 unsigned int d_ino; 4 const char * d_reclen; 5 unsigned short d_namlen; 6 char d_name[1]; 7 }; 8 9 struct foo2 10 { 11 unsigned int a : 1; 12 unsigned int bcd : 3; 13 unsigned int ef : 2; 14 unsigned int : 2; 15 16 unsigned short more; 17 18 int fields; 19 }; 20 21 typedef struct 22 { 23 bitfld a : 8; 24 bitfld b : 16; 25 bitfld : 8; 26 } type_t; 27 28 struct foo { int a; char *b }; 29 30 static int idx; 31 static const char ** tmp; 32 33 static char buf[64]; 34 static unsigned long how_long; 35 // comment 36 static int ** tmp; 37 static char buf[64]; 38 39 bar(int someval,void * puser,const char * filename,struct willy * the_list,int list_len)40void bar(int someval, 41 void *puser, 42 const char *filename, 43 struct willy *the_list, 44 int list_len) 45 { 46 int idx; 47 const char ** tmp; 48 char buf[64]; 49 50 unsigned long how_long; 51 52 return(-1); 53 } 54 55