diff options
author | msmith <msmith@FreeBSD.org> | 1998-09-18 23:00:57 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1998-09-18 23:00:57 +0000 |
commit | efee224c310730da8ba656d9fb0e2f53d0c845c4 (patch) | |
tree | 1c45ccbb9e99fbf0cc35a69e5e31d00cfdd590eb | |
parent | 3b7700ffefbf84bddf6433f318b4f2d440ab544d (diff) | |
download | FreeBSD-src-efee224c310730da8ba656d9fb0e2f53d0c845c4.zip FreeBSD-src-efee224c310730da8ba656d9fb0e2f53d0c845c4.tar.gz |
Nuke prototype for strerror, consumers get it from <string.h>
Fix overlooked nullopen() implementation.
-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 dff6e15..4a1e6e4 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 23e3198..e575ee4 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 */ |