summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/system.c2
-rw-r--r--source3/lib/util.c2
2 files changed, 2 insertions, 2 deletions
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;