fix rdomain compilation errors

This commit is contained in:
Damien Miller 2017-10-27 08:42:33 +11:00
parent 6bd5b569fd
commit 2de5c6b53b
3 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@ sys_set_rdomain(int fd, const char *name)
}
int
valid_rdomain(const char *name)
sys_valid_rdomain(const char *name)
{
int fd;

View File

@ -37,7 +37,7 @@ u_char *sys_tun_outfilter(struct ssh *, struct Channel *, u_char **, size_t *);
# define HAVE_SYS_VALID_RDOMAIN
char *sys_get_rdomain(int fd);
int sys_set_rdomain(int fd, const char *name);
int valid_rdomain(const char *name);
int sys_valid_rdomain(const char *name);
#endif
#if defined(SYS_RDOMAIN_XXX)

View File

@ -736,7 +736,7 @@ static int
valid_rdomain(const char *name)
{
#if defined(HAVE_SYS_VALID_RDOMAIN)
return valid_rdomain(name)
return sys_valid_rdomain(name);
#elif defined(__OpenBSD__)
const char *errstr;
long long num;