1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Fixed --with-automount compile error.

Jeremy.
This commit is contained in:
Jeremy Allison 0001-01-01 00:00:00 +00:00
parent e404e00199
commit ab916199f5
2 changed files with 4 additions and 2 deletions

View File

@ -461,6 +461,8 @@ BOOL is_ipaddress(const char *str);
uint32 interpret_addr(char *str);
struct in_addr *interpret_addr2(char *str);
BOOL zero_ip(struct in_addr ip);
char *automount_lookup(char *user_name);
char *automount_lookup(char *user_name);
BOOL same_net(struct in_addr ip1,struct in_addr ip2,struct in_addr mask);
struct hostent *Get_Hostbyname(const char *name);
BOOL process_exists(pid_t pid);

View File

@ -874,7 +874,7 @@ static void strip_mount_options( pstring *str)
*******************************************************************/
#ifdef WITH_NISPLUS_HOME
static char *automount_lookup(char *user_name)
char *automount_lookup(char *user_name)
{
static fstring last_key = "";
static pstring last_value = "";
@ -928,7 +928,7 @@ static char *automount_lookup(char *user_name)
return last_value;
}
#else /* WITH_NISPLUS_HOME */
static char *automount_lookup(char *user_name)
char *automount_lookup(char *user_name)
{
static fstring last_key = "";
static pstring last_value = "";