summaryrefslogtreecommitdiff
path: root/usr.bin/error/error.h
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2011-05-19 22:55:53 +0000
committerchristos <christos@NetBSD.org>2011-05-19 22:55:53 +0000
commitd5f6a4cf42fbbcd07cd409e8fad9726b20e52d71 (patch)
treee5bc8bb9bc705d1dc4bd3fbb6c9cdbddf1cb329f /usr.bin/error/error.h
parent42dfb7ad91180aba5dbf43b290a2bd21d3a178e7 (diff)
- use getopt
- use err - add -p <filelevel> to chop levels like patch - document all the options
Diffstat (limited to 'usr.bin/error/error.h')
-rw-r--r--usr.bin/error/error.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/error/error.h b/usr.bin/error/error.h
index 6036c44c88d..02fc5828b36 100644
--- a/usr.bin/error/error.h
+++ b/usr.bin/error/error.h
@@ -1,4 +1,4 @@
-/* $NetBSD: error.h,v 1.15 2009/08/13 06:59:37 dholland Exp $ */
+/* $NetBSD: error.h,v 1.16 2011/05/19 22:55:53 christos Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -88,6 +88,8 @@ typedef int Errorclass;
extern const char *class_table[];
extern int class_count[];
+extern size_t filelevel;
+
#define nunknown class_count[C_UNKNOWN]
#define nignore class_count[C_IGNORE]
#define nsyncerrors class_count[C_SYNC]