X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fsystem.c;h=94142336ef6d021868836cf94a97720ee9d20429;hb=4aa85f09e755fc827cd5ab6225f20c83cd42245d;hp=e1fd263c7daabe55c54e83832efb62c21093763f;hpb=eb3ba7cb06fdd0f8627b8f117d8453e297e18b64;p=debian%2Ftar diff --git a/src/system.c b/src/system.c index e1fd263c..94142336 100644 --- a/src/system.c +++ b/src/system.c @@ -1,6 +1,6 @@ /* System-dependent calls for tar. - Copyright 2003-2008, 2010, 2013 Free Software Foundation, Inc. + Copyright 2003-2008, 2010, 2013-2014 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the @@ -720,7 +720,7 @@ stat_to_env (char *name, char type, struct tar_stat_info *st) } static pid_t global_pid; -static RETSIGTYPE (*pipe_handler) (int sig); +static void (*pipe_handler) (int sig); int sys_exec_command (char *file_name, int typechar, struct tar_stat_info *st) @@ -788,7 +788,7 @@ sys_exec_info_script (const char **archive_name, int volume_number) pid_t pid; char uintbuf[UINTMAX_STRSIZE_BOUND]; int p[2]; - static RETSIGTYPE (*saved_handler) (int sig); + static void (*saved_handler) (int sig); xpipe (p); saved_handler = signal (SIGPIPE, SIG_IGN);