mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 15:58:50 -05:00
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>
This commit is contained in:
parent
fc74ef93b6
commit
f0051a7678
@ -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])
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user