Clean up a little. Don't need to include fetch.h any more, and I can't
find any consumers of HOSTNAME_MAX.
This commit is contained in:
parent
d920cd78f4
commit
242bb95312
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user