Correct the type for the global var accessed in sig handlers.

This commit is contained in:
David E. O'Brien 2009-01-05 16:47:42 +00:00
parent fd23b46153
commit 613ff97130
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=186784

View File

@ -59,7 +59,7 @@ struct track_info {
}; };
static struct track_info tracks[100]; static struct track_info tracks[100];
static int quiet, verbose, saved_block_size, notracks; static int quiet, verbose, saved_block_size, notracks;
static volatile int global_fd_for_cleanup; static volatile sig_atomic_t global_fd_for_cleanup;
void add_track(char *, int, int, int); void add_track(char *, int, int, int);
void do_DAO(int fd, int, int); void do_DAO(int fd, int, int);