| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O2 -fpermissive -fcompare-debug -w" } */ |
| 3 |
|
| 4 |
typedef struct |
| 5 |
{ |
| 6 |
int default_screen; |
| 7 |
} *_XPrivint; |
| 8 |
typedef int FcBool; |
| 9 |
typedef struct |
| 10 |
{ |
| 11 |
struct _XftintInfo *next; |
| 12 |
} XftintInfo; |
| 13 |
int _XftintInfo; |
| 14 |
|
| 15 |
void _XftintInfoGet (int * dpy, FcBool createIfNecessary) |
| 16 |
{ |
| 17 |
int event_base; |
| 18 |
&event_base |
| 19 |
&& dpy[createIfNecessary] != 0; |
| 20 |
} |
| 21 |
|
| 22 |
void _XftCloseint (int dpy, XftintInfo * info,XftintInfo * *prev) |
| 23 |
{ |
| 24 |
_XftintInfoGet (dpy, 0); |
| 25 |
for (prev = &_XftintInfo; info = *prev; prev = &(*prev)->next) |
| 26 |
; |
| 27 |
} |