vfs_snapper: don't redefine GMT_FORMAT macro
authorDavid Disseldorp <ddiss@samba.org>
Mon, 30 Jun 2014 12:40:13 +0000 (14:40 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 30 Jun 2014 17:25:15 +0000 (19:25 +0200)
Use existing header definition.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_snapper.c

index 3e6193604d83b26606a134291b8422f29f8b5f22..4ee77dfde33556fc34ff2dc475b96a1479a23534 100644 (file)
@@ -31,6 +31,7 @@
 #include <libgen.h>
 #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,