summaryrefslogtreecommitdiff
path: root/source3/lib/system.c
diff options
context:
space:
mode:
authorRichard Sharpe <realrichardsharpe@gmail.com>2011-06-03 08:27:13 -0700
committerGünther Deschner <gd@samba.org>2011-06-10 13:23:37 +0200
commitde8eb77e91bb280da49f4f7586f8e511e808c1f0 (patch)
tree32d5752ec1469e35ec64914bd4e273acd9f1b3f4 /source3/lib/system.c
parent0c89d624e6d5620c9e37649cc2976aba918b1e6a (diff)
downloadsamba-de8eb77e91bb280da49f4f7586f8e511e808c1f0.tar.gz
samba-de8eb77e91bb280da49f4f7586f8e511e808c1f0.tar.bz2
samba-de8eb77e91bb280da49f4f7586f8e511e808c1f0.zip
Export init_stat_ex_from_stat for use in VFS modules.
Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jun 10 13:23:37 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/lib/system.c')
-rw-r--r--source3/lib/system.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c
index 342a5ffaed..2f7a55f48c 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -509,13 +509,13 @@ void update_stat_ex_create_time(struct stat_ex *dst,
}
#if defined(HAVE_EXPLICIT_LARGEFILE_SUPPORT) && defined(HAVE_OFF64_T) && defined(HAVE_STAT64)
-static void init_stat_ex_from_stat (struct stat_ex *dst,
- const struct stat64 *src,
- bool fake_dir_create_times)
+void init_stat_ex_from_stat (struct stat_ex *dst,
+ const struct stat64 *src,
+ bool fake_dir_create_times)
#else
-static void init_stat_ex_from_stat (struct stat_ex *dst,
- const struct stat *src,
- bool fake_dir_create_times)
+void init_stat_ex_from_stat (struct stat_ex *dst,
+ const struct stat *src,
+ bool fake_dir_create_times)
#endif
{
dst->st_ex_dev = src->st_dev;