summaryrefslogtreecommitdiffstats
path: root/pw/pw.h
diff options
context:
space:
mode:
Diffstat (limited to 'pw/pw.h')
-rw-r--r--pw/pw.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/pw/pw.h b/pw/pw.h
index 8635f44..26110f5 100644
--- a/pw/pw.h
+++ b/pw/pw.h
@@ -43,6 +43,7 @@
#include <pwd.h>
#include <grp.h>
#include <sys/queue.h>
+#include <sysexits.h>
#include "psdate.h"
@@ -52,6 +53,7 @@ enum _mode
M_DELETE,
M_UPDATE,
M_PRINT,
+ M_NEXT,
M_NUM
};
@@ -62,21 +64,6 @@ enum _which
W_NUM
};
-enum _excode
-{
- X_ALLOK,
- X_CMDERR,
- X_PERMERR,
- X_MEMERR,
- X_NOUPDATE,
- X_NOTFOUND,
- X_UPDERROR,
- X_TOOMANY,
- X_EXISTS,
- X_DBERROR,
- X_CONFIG
-};
-
struct carg
{
int ch;