X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmainloop.c;h=f78f5b128ed39a31d21a266ea407bbba59cc1043;hb=0be98fee4743c795b06aa23881b82eff5bab3ef6;hp=825d3f4febc7f0a0c321bdccc177074388c88c5f;hpb=cafba3acf3ef5b34be867a155ec05b35e82384e9;p=chaz%2Fopenbox diff --git a/openbox/mainloop.c b/openbox/mainloop.c index 825d3f4f..f78f5b12 100644 --- a/openbox/mainloop.c +++ b/openbox/mainloop.c @@ -39,13 +39,13 @@ typedef struct _ObMainLoopFdHandlerType ObMainLoopFdHandlerType; static GSList *all_loops; /* signals are global to all loops */ -struct { +static struct { guint installed; /* a ref count */ struct sigaction oldact; } all_signals[NUM_SIGNALS]; /* a set of all possible signals */ -sigset_t all_signals_set; +static sigset_t all_signals_set; /* signals which cause a core dump, these can't be used for callbacks */ static gint core_signals[] =