Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-11-16 20:13:37 -0600
committerDan McGee <dan@archlinux.org>2010-12-12 20:29:30 -0600
commitf0051a7678d138ffc88a4c9c6d9add8966abe4f9 (patch)
tree377276a432449c72d74d18501dcc36a5abaadc11
parentfc74ef93b6945dfac299433a9418fdd31798f6b6 (diff)
Remove AC_TYPE_SIGNAL usage
This macro is deemed unnecessary by even the autoconf guys, so we really don't need to use it. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
-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);