Module Name: src Committed By: pooka Date: Sat Oct 24 11:29:55 UTC 2009
Modified Files: src/sys/rump/include/rump: rumpuser.h src/sys/rump/librump/rumpuser: rumpuser.c Log Message: unused rumpuser_realpath is really dead To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/rump/include/rump/rumpuser.h cvs rdiff -u -r1.43 -r1.44 src/sys/rump/librump/rumpuser/rumpuser.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/rump/include/rump/rumpuser.h diff -u src/sys/rump/include/rump/rumpuser.h:1.29 src/sys/rump/include/rump/rumpuser.h:1.30 --- src/sys/rump/include/rump/rumpuser.h:1.29 Thu Oct 15 00:33:37 2009 +++ src/sys/rump/include/rump/rumpuser.h Sat Oct 24 11:29:55 2009 @@ -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 *); Index: src/sys/rump/librump/rumpuser/rumpuser.c diff -u src/sys/rump/librump/rumpuser/rumpuser.c:1.43 src/sys/rump/librump/rumpuser/rumpuser.c:1.44 --- src/sys/rump/librump/rumpuser/rumpuser.c:1.43 Fri Oct 9 14:41:36 2009 +++ src/sys/rump/librump/rumpuser/rumpuser.c Sat Oct 24 11:29:55 2009 @@ -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) {