[PATCH] cleanup patches for idmap_hash

Michael Adam obnox at samba.org
Sun Dec 4 13:51:13 UTC 2016


On 2016-12-04 at 13:20 +0100, Volker Lendecke wrote:
> Hi!
> 
> Review appreciated!

Reviewed-by: me

Michael



> Thanks, Volker

> From ef2bd246a6aac364954ce4aab2bd4af8957c9a87 Mon Sep 17 00:00:00 2001
> From: Volker Lendecke <vl at samba.org>
> Date: Tue, 22 Nov 2016 01:27:40 +0100
> Subject: [PATCH 1/2] idmap_hash: Make lw_map_file static
> 
> Signed-off-by: Volker Lendecke <vl at samba.org>
> ---
>  source3/winbindd/idmap_hash/mapfile.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/source3/winbindd/idmap_hash/mapfile.c b/source3/winbindd/idmap_hash/mapfile.c
> index 41554a1..e3058bd 100644
> --- a/source3/winbindd/idmap_hash/mapfile.c
> +++ b/source3/winbindd/idmap_hash/mapfile.c
> @@ -26,7 +26,7 @@
>  #include <stdio.h>
>  #include "lib/util/xfile.h"
>  
> -XFILE *lw_map_file = NULL;
> +static XFILE *lw_map_file = NULL;
>  
>  /*********************************************************************
>   ********************************************************************/
> -- 
> 2.1.4
> 
> 
> From 022e7902dd6082fe527af18852eb74168a432787 Mon Sep 17 00:00:00 2001
> From: Volker Lendecke <vl at samba.org>
> Date: Tue, 22 Nov 2016 01:31:19 +0100
> Subject: [PATCH 2/2] idmap_hash: stdio.h comes with replace.h
> 
> Signed-off-by: Volker Lendecke <vl at samba.org>
> ---
>  source3/winbindd/idmap_hash/mapfile.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/source3/winbindd/idmap_hash/mapfile.c b/source3/winbindd/idmap_hash/mapfile.c
> index e3058bd..5821d60 100644
> --- a/source3/winbindd/idmap_hash/mapfile.c
> +++ b/source3/winbindd/idmap_hash/mapfile.c
> @@ -23,7 +23,6 @@
>  #include "winbindd/winbindd.h"
>  #include "idmap.h"
>  #include "idmap_hash.h"
> -#include <stdio.h>
>  #include "lib/util/xfile.h"
>  
>  static XFILE *lw_map_file = NULL;
> -- 
> 2.1.4
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20161204/d1972a2f/signature.sig>


More information about the samba-technical mailing list