From f6e053202481631b12d75f6a552ee1aa8b355064 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 28 Mar 2012 13:22:03 +1100 Subject: build: Remove SMB_STRUCT_DIR define --- source3/lib/system.c | 2 +- source3/lib/util.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/system.c b/source3/lib/system.c index 1988088ba5..5ba3aebd69 100644 --- a/source3/lib/system.c +++ b/source3/lib/system.c @@ -623,7 +623,7 @@ void kernel_flock(int fd, uint32 share_mode, uint32 access_mask) calling code.. JRA. ********************************************************************/ -SMB_STRUCT_DIR *sys_fdopendir(int fd) +DIR *sys_fdopendir(int fd) { #if defined(HAVE_FDOPENDIR) && defined(HAVE_DIRFD) return fdopendir(fd); diff --git a/source3/lib/util.c b/source3/lib/util.c index b727f7b3d8..edad75d646 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -1029,7 +1029,7 @@ libunwind_failed: A readdir wrapper which just returns the file name. ********************************************************************/ -const char *readdirname(SMB_STRUCT_DIR *p) +const char *readdirname(DIR *p) { struct dirent *ptr; char *dname; -- cgit