diff options
| author | Jeremy Allison <jra@samba.org> | 2001-04-10 21:43:37 +0000 | 
|---|---|---|
| committer | Jeremy Allison <jra@samba.org> | 2001-04-10 21:43:37 +0000 | 
| commit | 3bfbc4aaec0f59e0b77347df1ee1f6f18ac7423c (patch) | |
| tree | 134219cbcbc7cc26d9c4bc2d75ab7e143baefa26 | |
| parent | 9c9ce2f6135185d55184c864befb5b6e894af9c2 (diff) | |
| download | samba-3bfbc4aaec0f59e0b77347df1ee1f6f18ac7423c.tar.gz samba-3bfbc4aaec0f59e0b77347df1ee1f6f18ac7423c.tar.bz2 samba-3bfbc4aaec0f59e0b77347df1ee1f6f18ac7423c.zip  | |
Fixed --with-automount compile error.
Jeremy.
(This used to be commit ab916199f542528293b3f63fe6f24eecd83eccb4)
| -rw-r--r-- | source3/include/proto.h | 2 | ||||
| -rw-r--r-- | source3/lib/util.c | 4 | 
2 files changed, 4 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index e5e4b7eb2f..453714c044 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -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); diff --git a/source3/lib/util.c b/source3/lib/util.c index 439788bdac..cd1395aba7 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -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 = "";  | 
