From 224e1c105be2ecf2c02ca9cd3e8bb9660ea932aa Mon Sep 17 00:00:00 2001 From: David Disseldorp Date: Mon, 30 Jun 2014 14:40:13 +0200 Subject: [PATCH] vfs_snapper: don't redefine GMT_FORMAT macro Use existing header definition. Signed-off-by: David Disseldorp Reviewed-by: Jeremy Allison --- source3/modules/vfs_snapper.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source3/modules/vfs_snapper.c b/source3/modules/vfs_snapper.c index 3e6193604d8..4ee77dfde33 100644 --- a/source3/modules/vfs_snapper.c +++ b/source3/modules/vfs_snapper.c @@ -31,6 +31,7 @@ #include #include "includes.h" #include "include/ntioctl.h" +#include "include/smb.h" #include "system/filesys.h" #include "smbd/smbd.h" #include "lib/util/tevent_ntstatus.h" @@ -948,8 +949,6 @@ err_out: return -1; } -#define GMT_FORMAT "@GMT-%Y.%m.%d-%H.%M.%S" - static bool snapper_gmt_strip_snapshot(TALLOC_CTX *mem_ctx, struct vfs_handle_struct *handle, const char *name, -- 2.11.4.GIT