diff --git a/sbin/fsck/fsutil.c b/sbin/fsck/fsutil.c index 342ece32dcd3..657f0f3635b0 100644 --- a/sbin/fsck/fsutil.c +++ b/sbin/fsck/fsutil.c @@ -1,4 +1,4 @@ -/* $NetBSD: fsutil.c,v 1.24 2013/01/13 19:53:16 mlelstv Exp $ */ +/* $NetBSD: fsutil.c,v 1.25 2015/06/21 03:58:36 dholland Exp $ */ /* * Copyright (c) 1990, 1993 @@ -31,7 +31,7 @@ #include #ifndef lint -__RCSID("$NetBSD: fsutil.c,v 1.24 2013/01/13 19:53:16 mlelstv Exp $"); +__RCSID("$NetBSD: fsutil.c,v 1.25 2015/06/21 03:58:36 dholland Exp $"); #endif /* not lint */ #include @@ -53,6 +53,8 @@ __RCSID("$NetBSD: fsutil.c,v 1.24 2013/01/13 19:53:16 mlelstv Exp $"); #include "fsutil.h" #include "exitvalues.h" +volatile sig_atomic_t returntosingle; + static const char *dev = NULL; static int hot = 0; static int preen = 0; diff --git a/sbin/fsck/fsutil.h b/sbin/fsck/fsutil.h index b953761d971f..e9cd0bcd4ceb 100644 --- a/sbin/fsck/fsutil.h +++ b/sbin/fsck/fsutil.h @@ -1,4 +1,4 @@ -/* $NetBSD: fsutil.h,v 1.19 2012/04/07 16:44:10 christos Exp $ */ +/* $NetBSD: fsutil.h,v 1.20 2015/06/21 03:58:36 dholland Exp $ */ /* * Copyright (c) 1996 Christos Zoulas. All rights reserved. @@ -51,7 +51,7 @@ int checkfstab(int, int, void *(*)(struct fstab *), int (*) (const char *, const char *, const char *, void *, pid_t *)); void (*ckfinish)(int); -volatile sig_atomic_t returntosingle; +extern volatile sig_atomic_t returntosingle; void catch(int) __dead; void catchquit(int); void voidquit(int);