rename signal -> sig

Meson puts the directory of the source file in the include path and then
it picks up our signal.h instead of the system one...
This commit is contained in:
Wim Taymans 2016-11-28 16:24:10 +01:00
parent 497febf2f1
commit 3dada4731c
10 changed files with 13 additions and 18 deletions

View file

@ -513,21 +513,17 @@ loop_add_signal (SpaLoopUtils *utils,
{
PinosLoopImpl *impl = SPA_CONTAINER_OF (utils, PinosLoopImpl, utils);
SpaSourceImpl *source;
#if 0
sigset_t mask;
#endif
source = calloc (1, sizeof (SpaSourceImpl));
source->source.loop = &impl->loop;
source->source.func = source_signal_func;
source->source.data = data;
#if 0
sigemptyset (&mask);
sigaddset (&mask, signal_number);
source->source.fd = signalfd (-1, &mask, SFD_CLOEXEC | SFD_NONBLOCK);
sigprocmask (SIG_BLOCK, &mask, NULL);
#endif
source->source.mask = SPA_IO_IN;
source->close = true;
source->func.signal = func;