Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump unused rumpuser_realpath is really dead
details: https://anonhg.NetBSD.org/src/rev/1dde84e63ab5
branches: trunk
changeset: 748449:1dde84e63ab5
user: pooka <pooka%NetBSD.org@localhost>
date: Sat Oct 24 11:29:55 2009 +0000
description:
unused rumpuser_realpath is really dead
diffstat:
sys/rump/include/rump/rumpuser.h | 4 +---
sys/rump/librump/rumpuser/rumpuser.c | 18 ++----------------
2 files changed, 3 insertions(+), 19 deletions(-)
diffs (57 lines):
diff -r 9e41a38e7098 -r 1dde84e63ab5 sys/rump/include/rump/rumpuser.h
--- a/sys/rump/include/rump/rumpuser.h Sat Oct 24 11:24:19 2009 +0000
+++ b/sys/rump/include/rump/rumpuser.h Sat Oct 24 11:29:55 2009 +0000
@@ -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_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 *);
diff -r 9e41a38e7098 -r 1dde84e63ab5 sys/rump/librump/rumpuser/rumpuser.c
--- a/sys/rump/librump/rumpuser/rumpuser.c Sat Oct 24 11:24:19 2009 +0000
+++ b/sys/rump/librump/rumpuser/rumpuser.c Sat Oct 24 11:29:55 2009 +0000
@@ -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 @@
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)
{
Home |
Main Index |
Thread Index |
Old Index