aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/lib
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-11-06 09:03:53 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-11-06 09:03:53 +0000
commit242bb953123025450236e46b62e0af6f7e68df5d (patch)
tree6dcdc5e85506a682e5a35150bfd2becd5fa9f11e /usr.sbin/pkg_install/lib
parentd920cd78f473241c6858a1abd9937b6ee0114712 (diff)
Notes
Diffstat (limited to 'usr.sbin/pkg_install/lib')
-rw-r--r--usr.sbin/pkg_install/lib/file.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/usr.sbin/pkg_install/lib/file.c b/usr.sbin/pkg_install/lib/file.c
index 94b058e00718d..3ed4b385f059b 100644
--- a/usr.sbin/pkg_install/lib/file.c
+++ b/usr.sbin/pkg_install/lib/file.c
@@ -23,7 +23,6 @@ __FBSDID("$FreeBSD$");
#include "lib.h"
#include <err.h>
-#include <fetch.h>
#include <pwd.h>
#include <time.h>
#include <sys/wait.h>
@@ -132,12 +131,6 @@ isURL(const char *fname)
return FALSE;
}
-#define HOSTNAME_MAX 64
-/*
- * Try and fetch a file by URL, returning the directory name for where
- * it's unpacked, if successful.
- */
-
char *
fileFindByPath(const char *base, const char *fname)
{