diff options
Diffstat (limited to 'usr.bin/make/parse.c')
-rw-r--r-- | usr.bin/make/parse.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c index 234364f..448aa96 100644 --- a/usr.bin/make/parse.c +++ b/usr.bin/make/parse.c @@ -34,12 +34,14 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $Id$ */ #ifndef lint +#if 0 static char sccsid[] = "@(#)parse.c 8.3 (Berkeley) 3/19/94"; +#endif +static const char rcsid[] = + "$Id$"; #endif /* not lint */ /*- @@ -89,9 +91,9 @@ static char sccsid[] = "@(#)parse.c 8.3 (Berkeley) 3/19/94"; #else #include <varargs.h> #endif -#include <stdio.h> #include <ctype.h> -#include <errno.h> +#include <err.h> +#include <stdio.h> #include "make.h" #include "hash.h" #include "dir.h" @@ -2522,10 +2524,8 @@ Parse_File(name, stream) */ Cond_End(); - if (fatals) { - fprintf (stderr, "Fatal errors encountered -- cannot continue\n"); - exit (1); - } + if (fatals) + errx(1, "fatal errors encountered -- cannot continue"); } /*- |