summaryrefslogtreecommitdiffstats
path: root/source3/param
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-28 13:22:03 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-04-05 02:39:09 +0200
commitf6e053202481631b12d75f6a552ee1aa8b355064 (patch)
treef029e300d5005e87774a3d1c6390423d0c09f9fd /source3/param
parent2320b2144fcb1236c082278444e3c6df998e17ec (diff)
downloadsamba-f6e053202481631b12d75f6a552ee1aa8b355064.tar.gz
samba-f6e053202481631b12d75f6a552ee1aa8b355064.tar.xz
samba-f6e053202481631b12d75f6a552ee1aa8b355064.zip
build: Remove SMB_STRUCT_DIR define
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index d42b04f18b..5d8c3a7680 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -8253,7 +8253,7 @@ enum usershare_err parse_usershare_file(TALLOC_CTX *ctx,
const char **prefixallowlist = lp_usershare_prefix_allow_list();
const char **prefixdenylist = lp_usershare_prefix_deny_list();
int us_vers;
- SMB_STRUCT_DIR *dp;
+ DIR *dp;
SMB_STRUCT_STAT sbuf;
char *sharepath = NULL;
char *comment = NULL;
@@ -8732,7 +8732,7 @@ int load_usershare_service(const char *servicename)
int load_usershare_shares(struct smbd_server_connection *sconn,
bool (*snumused) (struct smbd_server_connection *, int))
{
- SMB_STRUCT_DIR *dp;
+ DIR *dp;
SMB_STRUCT_STAT sbuf;
struct dirent *de;
int num_usershares = 0;