aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c
diff options
context:
space:
mode:
authorOndřej Bílka <neleai@seznam.cz>2013-08-29 18:10:58 +0200
committerOndřej Bílka <neleai@seznam.cz>2013-08-29 18:11:45 +0200
commitd4e16af1aea18abe082bd7bf213b85b0c432d304 (patch)
treee585352928adfc7e705b164803eedc831d19a56a /sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c
parent883359805325a82f4f291ff85624f141f6c93636 (diff)
downloadglibc-d4e16af1aea18abe082bd7bf213b85b0c432d304.zip
glibc-d4e16af1aea18abe082bd7bf213b85b0c432d304.tar.gz
glibc-d4e16af1aea18abe082bd7bf213b85b0c432d304.tar.bz2
Remove aix specific files.
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c48
1 files changed, 0 insertions, 48 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c b/sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c
deleted file mode 100644
index 315ebac..0000000
--- a/sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c
+++ /dev/null
@@ -1,48 +0,0 @@
-/* Copyright (C) 2000-2013 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
-
-#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 aixdirent *aixdir,
- struct dirent *linuxdir)
-{
- linuxdir->d_ino = aixdir->d_ino;
- linuxdir->d_off = aixdir->d_off;
- linuxdir->d_reclen = aixdir->d_reclen;
- linuxdir->d_type = DT_UNKNOWN;
- memcpy (linuxdir->d_name, aixdir->d_name, aixdir->d_namlen + 1);
-}
-
-
-void
-__dirent64_aix_to_linux (const struct aixdirent64 *aixdir,
- struct dirent64 *linuxdir)
-{
- linuxdir->d_ino = aixdir->d_ino;
- linuxdir->d_off = aixdir->d_off;
- linuxdir->d_reclen = aixdir->d_reclen;
- linuxdir->d_type = DT_UNKNOWN;
- memcpy (linuxdir->d_name, aixdir->d_name, aixdir->d_namlen + 1);
-}