summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-28 13:18:14 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-04-05 02:39:09 +0200
commit2320b2144fcb1236c082278444e3c6df998e17ec (patch)
tree879bb402bca2d44eba5eb1571b2631c1830e6e72 /source3/utils
parent6edd8e95f1ed0ac398c84e4050357097087ae15f (diff)
downloadsamba-2320b2144fcb1236c082278444e3c6df998e17ec.tar.gz
samba-2320b2144fcb1236c082278444e3c6df998e17ec.tar.bz2
samba-2320b2144fcb1236c082278444e3c6df998e17ec.zip
build: Remove SMB_STRUCT_DIRENT define
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_usershare.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_usershare.c b/source3/utils/net_usershare.c
index e9490d1fb9..b7ec7a94c3 100644
--- a/source3/utils/net_usershare.c
+++ b/source3/utils/net_usershare.c
@@ -209,7 +209,7 @@ static struct file_list *flist;
static int get_share_list(TALLOC_CTX *ctx, const char *wcard, bool only_ours)
{
SMB_STRUCT_DIR *dp;
- SMB_STRUCT_DIRENT *de;
+ struct dirent *de;
uid_t myuid = geteuid();
struct file_list *fl = NULL;
char *basepath = get_basepath(ctx);
@@ -547,7 +547,7 @@ static int net_usershare_info(struct net_context *c, int argc, const char **argv
static int count_num_usershares(void)
{
SMB_STRUCT_DIR *dp;
- SMB_STRUCT_DIRENT *de;
+ struct dirent *de;
int num_usershares = 0;
TALLOC_CTX *ctx = talloc_tos();
char *basepath = get_basepath(ctx);