Eliminate name clash with system signal.h header file.

Tried to solve the signal.h name clash by using #include_next, but
seeing as this is not recommended[1] and breaks builds on some cross
compilers, the files were simply renamed: signal.[ch] --> sig.[ch]

[1] - http://gcc.gnu.org/onlinedocs/cpp/Wrapper-Headers.html

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2012-09-26 22:57:25 +02:00
parent e496913f5c
commit fbfffbc9a4
7 changed files with 11 additions and 12 deletions
+2 -2
View File
@@ -29,11 +29,11 @@ ROOTDIR ?= $(shell pwd)
PLUGIN_DIR ?= /lib/finit/plugins
#VERSION ?= $(shell git tag -l | tail -1)
VERSION ?= 1.0
VERSION ?= 1.1-pre
EXEC = finit
PKG = $(EXEC)-$(VERSION)
ARCHIVE = $(PKG).tar.xz
OBJS = finit.o conf.o helpers.o signal.o svc.o plugin.o
OBJS = finit.o conf.o helpers.o sig.o svc.o plugin.o
OBJS += strlcpy.o
SRCS = $(OBJS:.o=.c)
DEPS = $(addprefix .,$(SRCS:.c=.d))