Nuke prototype for strerror, consumers get it from <string.h>

Fix overlooked nullopen() implementation.
This commit is contained in:
Mike Smith 1998-09-18 23:00:57 +00:00
parent 4ce36a791b
commit ec5cd5b130
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=39469
2 changed files with 2 additions and 4 deletions

View File

@ -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;

View File

@ -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 */