From ec5cd5b130cdb14f5fe2001419b4dc0ec3aea9af Mon Sep 17 00:00:00 2001 From: Mike Smith Date: Fri, 18 Sep 1998 23:00:57 +0000 Subject: [PATCH] Nuke prototype for strerror, consumers get it from Fix overlooked nullopen() implementation. --- lib/libstand/nullfs.c | 2 +- lib/libstand/stand.h | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/libstand/nullfs.c b/lib/libstand/nullfs.c index dff6e15ba871..4a1e6e44ab47 100644 --- a/lib/libstand/nullfs.c +++ b/lib/libstand/nullfs.c @@ -69,7 +69,7 @@ /* * Null filesystem */ -int null_open (char *path, struct open_file *f) +int null_open (const char *path, struct open_file *f) { errno = EIO; return -1; diff --git a/lib/libstand/stand.h b/lib/libstand/stand.h index 23e3198d509c..e575ee4678e7 100644 --- a/lib/libstand/stand.h +++ b/lib/libstand/stand.h @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: stand.h,v 1.2 1998/08/24 02:54:33 bde Exp $ + * $Id: stand.h,v 1.3 1998/09/18 22:58:00 msmith Exp $ * From $NetBSD: stand.h,v 1.22 1997/06/26 19:17:40 drochner Exp $ */ @@ -188,8 +188,6 @@ extern void ngets(char *, int); #define gets(x) ngets((x), 0) extern int fgetstr(char *buf, int size, int fd); -extern const char *strerror(int); - extern int open(const char *, int); #define O_RDONLY 0x0 #define O_WRONLY 0x1 /* writing not (yet?) supported */