diff --git a/src/nwipe.c b/src/nwipe.c index aa1070f..4c4f40f 100644 --- a/src/nwipe.c +++ b/src/nwipe.c @@ -52,6 +52,7 @@ int terminate_signal; int user_abort; +int global_wipe_status; int main( int argc, char** argv ) { diff --git a/src/nwipe.h b/src/nwipe.h index 8932b72..adb434d 100644 --- a/src/nwipe.h +++ b/src/nwipe.h @@ -74,7 +74,7 @@ void* signal_hand( void* ); extern int errno; /* 0=wipe not yet started, 1=wipe has been started by the user */ -int global_wipe_status; +extern int global_wipe_status; /* Global array to hold log values to print when logging to STDOUT */ /* char **log_lines;