diff options
Diffstat (limited to 'sysdeps/unix/sysv/aix/linux/direntconv.c')
-rw-r--r-- | sysdeps/unix/sysv/aix/linux/direntconv.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/sysdeps/unix/sysv/aix/linux/direntconv.c b/sysdeps/unix/sysv/aix/linux/direntconv.c deleted file mode 100644 index 620a0a0719..0000000000 --- a/sysdeps/unix/sysv/aix/linux/direntconv.c +++ /dev/null @@ -1,31 +0,0 @@ -#include <dirent.h> -#include <string.h> -#include "linux-dirent.h" - -#ifndef DT_UNKNOWN -# define DT_UNKNOWN 0 -#endif - - -void -__dirent_aix_to_linux (const struct dirent *aixdir, - struct linuxdirent *linuxdir) -{ - linuxdir->d_ino = aixdir->d_ino; - linuxdir->d_off = aixdir->d_off; - linuxdir->d_reclen = aixdir->d_reclen; - linuxdir->d_type = DT_UNKNOWN; - strncpy (linuxdir->d_name, aixdir->d_name, 256); -} - - -void -__dirent64_aix_to_linux (const struct dirent64 *aixdir, - struct linuxdirent64 *linuxdir) -{ - linuxdir->d_ino = aixdir->d_ino; - linuxdir->d_off = aixdir->d_off; - linuxdir->d_reclen = aixdir->d_reclen; - linuxdir->d_type = DT_UNKNOWN; - strncpy (linuxdir->d_name, aixdir->d_name, 256); -} |