diff options
author | Mike Smith <msmith@FreeBSD.org> | 1998-09-18 23:00:57 +0000 |
---|---|---|
committer | Mike Smith <msmith@FreeBSD.org> | 1998-09-18 23:00:57 +0000 |
commit | ec5cd5b130cdb14f5fe2001419b4dc0ec3aea9af (patch) | |
tree | fe6ce47bbf88b617d82803857f87da8c37611964 | |
parent | 4ce36a791b0c673955d80c21d96aaffa571b16cf (diff) | |
download | src-ec5cd5b130cdb14f5fe2001419b4dc0ec3aea9af.tar.gz src-ec5cd5b130cdb14f5fe2001419b4dc0ec3aea9af.zip |
Nuke prototype for strerror, consumers get it from <string.h>
Fix overlooked nullopen() implementation.
Notes
Notes:
svn path=/head/; revision=39469
-rw-r--r-- | lib/libstand/nullfs.c | 2 | ||||
-rw-r--r-- | 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 */ |