summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
-rw-r--r--lib/libalpm/dload.c2
-rw-r--r--src/pacman/pacman.c2
3 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index e8541d20..a8987a48 100644
--- a/configure.ac
+++ b/configure.ac
@@ -185,7 +185,6 @@ AC_STRUCT_DIRENT_D_TYPE
AC_FUNC_FORK
AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
AC_FUNC_MKTIME
-AC_TYPE_SIGNAL
AC_CHECK_FUNCS([geteuid realpath regcomp strcasecmp \
strndup strrchr strsep swprintf \
wcwidth uname])
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c
index 9b59f520..1cb24e61 100644
--- a/lib/libalpm/dload.c
+++ b/lib/libalpm/dload.c
@@ -89,7 +89,7 @@ static const char *gethost(struct url *fileurl)
}
int dload_interrupted;
-static RETSIGTYPE inthandler(int signum)
+static void inthandler(int signum)
{
dload_interrupted = 1;
}
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index 5ba798b4..4239667e 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -305,7 +305,7 @@ static ssize_t xwrite(int fd, const void *buf, size_t count)
* in a consistant state.
* @param signum the thrown signal
*/
-static RETSIGTYPE handler(int signum)
+static void handler(int signum)
{
int out = fileno(stdout);
int err = fileno(stderr);