[haiku-commits] BRANCH mmadia-github.separate-build-environment - headers/build/posix_target

  • From: mmadia-github.separate-build-environment <community@xxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 16 Aug 2012 23:49:22 +0200 (CEST)

added 1 changeset to branch 
'refs/remotes/mmadia-github/separate-build-environment'
old head: 1a0df74b8ffbe646dfa2555cca6f949331b06129
new head: 60809bf9c9ce5c8f509d8bf01e3fc2ce346ec619

----------------------------------------------------------------------------

60809bf: Fixed cut and paste errors -- use dirent instead of dirent_t.
  
  Thanks Ingo!

                                        [ Matt Madia <mattmadia@xxxxxxxxx> ]

----------------------------------------------------------------------------

Commit:      60809bf9c9ce5c8f509d8bf01e3fc2ce346ec619

Author:      Matt Madia <mattmadia@xxxxxxxxx>
Date:        Thu Aug 16 21:28:41 2012 UTC

----------------------------------------------------------------------------

1 file changed, 9 insertions(+), 9 deletions(-)
headers/build/posix_target/target_dirent.h |   18 +++++++++---------

----------------------------------------------------------------------------

diff --git a/headers/build/posix_target/target_dirent.h 
b/headers/build/posix_target/target_dirent.h
index b2e43bc..e640e80 100644
--- a/headers/build/posix_target/target_dirent.h
+++ b/headers/build/posix_target/target_dirent.h
@@ -47,12 +47,12 @@ 
_HAIKU_BUILD_DECLARE_FUNCTION(_HAIKU_BUILD_IDENTIFIER(DIR)*, fdopendir,
        (int fd))
 _HAIKU_BUILD_DECLARE_FUNCTION(_HAIKU_BUILD_IDENTIFIER(DIR)*, opendir,
        (const char* dirName))
-_HAIKU_BUILD_DECLARE_FUNCTION(struct _HAIKU_BUILD_IDENTIFIER(dirent_t)*,
+_HAIKU_BUILD_DECLARE_FUNCTION(struct _HAIKU_BUILD_IDENTIFIER(dirent)*,
        readdir, (_HAIKU_BUILD_IDENTIFIER(DIR)* dir))
 _HAIKU_BUILD_DECLARE_FUNCTION(int, readdir_r,
        (_HAIKU_BUILD_IDENTIFIER(DIR)* dir,
-               struct _HAIKU_BUILD_IDENTIFIER(dirent_t)* entry,
-                       struct _HAIKU_BUILD_IDENTIFIER(dirent_t)** _result))
+               struct _HAIKU_BUILD_IDENTIFIER(dirent)* entry,
+                       struct _HAIKU_BUILD_IDENTIFIER(dirent)** _result))
 _HAIKU_BUILD_DECLARE_FUNCTION(int, closedir,
        (_HAIKU_BUILD_IDENTIFIER(DIR)* dir))
 _HAIKU_BUILD_DECLARE_FUNCTION(void, rewinddir,
@@ -65,14 +65,14 @@ _HAIKU_BUILD_DECLARE_FUNCTION(int, dirfd,
        (_HAIKU_BUILD_IDENTIFIER(DIR)* dir))
 
 _HAIKU_BUILD_DECLARE_FUNCTION(int, alphasort,
-       (const struct _HAIKU_BUILD_IDENTIFIER(dirent_t)** entry1,
-               const struct _HAIKU_BUILD_IDENTIFIER(dirent_t)** entry2))
+       (const struct _HAIKU_BUILD_IDENTIFIER(dirent)** entry1,
+               const struct _HAIKU_BUILD_IDENTIFIER(dirent)** entry2))
 _HAIKU_BUILD_DECLARE_FUNCTION(int, scandir,
-       (const char* dir, struct _HAIKU_BUILD_IDENTIFIER(dirent_t)*** 
_entryArray,
-               int (*selectFunc)(const struct 
_HAIKU_BUILD_IDENTIFIER(dirent_t)*),
+       (const char* dir, struct _HAIKU_BUILD_IDENTIFIER(dirent)*** _entryArray,
+               int (*selectFunc)(const struct 
_HAIKU_BUILD_IDENTIFIER(dirent)*),
                        int (*compareFunc)
-                               (const struct 
_HAIKU_BUILD_IDENTIFIER(dirent_t)** entry1,
-                                       const struct 
_HAIKU_BUILD_IDENTIFIER(dirent_t)** entry2)))
+                               (const struct _HAIKU_BUILD_IDENTIFIER(dirent)** 
entry1,
+                                       const struct 
_HAIKU_BUILD_IDENTIFIER(dirent)** entry2)))
 
 #ifdef __cplusplus
 }


Other related posts: