diff options
author | tjr <tjr@FreeBSD.org> | 2002-09-29 11:37:39 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-09-29 11:37:39 +0000 |
commit | 6307190b53a87478b299a91b61de89cb11d9be6e (patch) | |
tree | b98ee1bc6b1544336b5f69e753b430c3bbbb9f63 /bin/sh/error.h | |
parent | 89c5289c522dcbfe7a37ea4c076f10888e6ed771 (diff) | |
download | FreeBSD-src-6307190b53a87478b299a91b61de89cb11d9be6e.zip FreeBSD-src-6307190b53a87478b299a91b61de89cb11d9be6e.tar.gz |
Convert the remaining callers of errmsg() to use strerror(), and remove
errmsg() and its table of error messages.
Diffstat (limited to 'bin/sh/error.h')
-rw-r--r-- | bin/sh/error.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/bin/sh/error.h b/bin/sh/error.h index 92ca8f8..87442e0 100644 --- a/bin/sh/error.h +++ b/bin/sh/error.h @@ -38,15 +38,6 @@ */ /* - * Types of operations (passed to the errmsg routine). - */ - -#define E_OPEN 01 /* opening a file */ -#define E_CREAT 02 /* creating a file */ -#define E_EXEC 04 /* executing a program */ - - -/* * We enclose jmp_buf in a structure so that we can declare pointers to * jump locations. The global variable handler contains the location to * jump to when an exception occurs, and the global variable exception @@ -93,7 +84,6 @@ void exraise(int); void onint(void); void error(const char *, ...) __printf0like(1, 2); void exerror(int, const char *, ...) __printf0like(2, 3); -char *errmsg(int, int); /* |