X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fsystem.c;h=94142336ef6d021868836cf94a97720ee9d20429;hb=ec94fbdf458adb2af803eefdd1a9c9bbb432bb21;hp=e1fd263c7daabe55c54e83832efb62c21093763f;hpb=17f99bc6f1405effe6cc31a60bb7353a033c13d6;p=chaz%2Ftar diff --git a/src/system.c b/src/system.c index e1fd263..9414233 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);