diff options
author | obrien <obrien@FreeBSD.org> | 2002-11-06 09:03:53 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-11-06 09:03:53 +0000 |
commit | 22ae8a63ad93fee81865a7dea8fed45400882eed (patch) | |
tree | 6dcdc5e85506a682e5a35150bfd2becd5fa9f11e /usr.sbin | |
parent | 4bf9f3289bd2f79108b0f79707eede824339b2a8 (diff) | |
download | FreeBSD-src-22ae8a63ad93fee81865a7dea8fed45400882eed.zip FreeBSD-src-22ae8a63ad93fee81865a7dea8fed45400882eed.tar.gz |
Clean up a little. Don't need to include fetch.h any more, and I can't
find any consumers of HOSTNAME_MAX.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_install/lib/file.c | 7 |
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 94b058e..3ed4b38 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) { |