Revision 4505,
895 bytes
checked in by jik, 34 years ago
(diff) |
Shorten mit-copyright.h to mit-copying.h so it'll work on systems with
14-char filenames.
|
Line | |
---|
1 | /* |
---|
2 | * $Source: /afs/dev.mit.edu/source/repository/athena/bin/delete/errors.h,v $ |
---|
3 | * $Author: jik $ |
---|
4 | * $Header: /afs/dev.mit.edu/source/repository/athena/bin/delete/errors.h,v 1.3 1991-02-28 18:42:52 jik Exp $ |
---|
5 | * |
---|
6 | * This file is part of a package including delete, undelete, |
---|
7 | * lsdel, expunge and purge. The software suite is meant as a |
---|
8 | * replacement for rm which allows for file recovery. |
---|
9 | * |
---|
10 | * Copyright (c) 1989 by the Massachusetts Institute of Technology. |
---|
11 | * For copying and distribution information, see the file "mit-copying.h." |
---|
12 | */ |
---|
13 | #include "mit-copying.h" |
---|
14 | |
---|
15 | extern char *whoami; |
---|
16 | extern int error_reported; |
---|
17 | extern int error_occurred; |
---|
18 | extern int report_errors; |
---|
19 | extern int error_code; |
---|
20 | |
---|
21 | void error(); |
---|
22 | |
---|
23 | #define set_error(cd) {error_code = cd; error_reported = 0; error_occurred = 1;} |
---|
24 | #define set_warning(cd) {error_code = cd; error_reported = 0;} |
---|
25 | #define set_status(cd) {error_code = cd;} |
---|
Note: See
TracBrowser
for help on using the repository browser.