unused rumpuser_realpath is really dead

This commit is contained in:
pooka 2009-10-24 11:29:55 +00:00
parent 9e244eddde
commit c9f53946a5
2 changed files with 3 additions and 19 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: rumpuser.h,v 1.29 2009/10/15 00:33:37 pooka Exp $ */
/* $NetBSD: rumpuser.h,v 1.30 2009/10/24 11:29:55 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@ -93,8 +93,6 @@ int rumpuser_getenv(const char *, char *, size_t, int *);
int rumpuser_gethostname(char *, size_t, int *);
char *rumpuser_realpath(const char *, char *, int *);
int rumpuser_poll(struct pollfd *, int, int, int *);
int rumpuser_putchar(int, int *);

View File

@ -1,4 +1,4 @@
/* $NetBSD: rumpuser.c,v 1.43 2009/10/09 14:41:36 pooka Exp $ */
/* $NetBSD: rumpuser.c,v 1.44 2009/10/24 11:29:55 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@ -30,7 +30,7 @@
#include <sys/cdefs.h>
#if !defined(lint)
__RCSID("$NetBSD: rumpuser.c,v 1.43 2009/10/09 14:41:36 pooka Exp $");
__RCSID("$NetBSD: rumpuser.c,v 1.44 2009/10/24 11:29:55 pooka Exp $");
#endif /* !lint */
/* thank the maker for this */
@ -414,20 +414,6 @@ rumpuser_gethostname(char *name, size_t namelen, int *error)
DOCALL(int, (gethostname(name, namelen)));
}
char *
rumpuser_realpath(const char *path, char resolvedname[MAXPATHLEN], int *error)
{
char *rv;
rv = realpath(path, resolvedname);
if (rv == NULL)
*error = errno;
else
*error = 0;
return rv;
}
int
rumpuser_poll(struct pollfd *fds, int nfds, int timeout, int *error)
{