fix rdomain compilation errors
This commit is contained in:
parent
6bd5b569fd
commit
2de5c6b53b
|
@ -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;
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue