X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=lib%2Fpaxerror.c;h=134cef323816ddb103ee86b781d0eac8cf37c9db;hb=34b42e86af9d37c366a44280d2ba06ad2e2971df;hp=b4edb68b90cf3ee2cbcf4fbf98d29483cd4c1536;hpb=138fc7e67e3d9845cd7d81aad0e9c7724784f9b9;p=debian%2Ftar diff --git a/lib/paxerror.c b/lib/paxerror.c index b4edb68b..134cef32 100644 --- a/lib/paxerror.c +++ b/lib/paxerror.c @@ -21,6 +21,8 @@ #include #include +void (*error_hook) (void); + /* Decode MODE from its binary form in a stat structure, and encode it into a 9-byte string STRING, terminated with a NUL. */ @@ -352,12 +354,6 @@ write_error_details (char const *name, size_t status, size_t size) name, (unsigned long int) status, (unsigned long int) size)); } -void -write_fatal (char const *name) -{ - call_arg_fatal ("write", name); -} - void chdir_fatal (char const *name) {