This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Remove unused sysdeps/unix/sysv/direct.h
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: libc-alpha at sourceware dot org
- Date: Fri, 20 Apr 2012 21:09:15 +0000 (UTC)
- Subject: Remove unused sysdeps/unix/sysv/direct.h
The file sysdeps/unix/sysv/direct.h is unused; nothing in glibc
outside of ChangeLogs refers to direct.h at all.
I propose this patch to remove this unused file. Tested x86_64.
2012-04-20 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/direct.h: Remove file.
diff --git a/sysdeps/unix/sysv/direct.h b/sysdeps/unix/sysv/direct.h
deleted file mode 100644
index dc1d77b..0000000
--- a/sysdeps/unix/sysv/direct.h
+++ /dev/null
@@ -1,10 +0,0 @@
-struct direct
- {
- unsigned short int d_fileno;
- char d_name[14];
- };
-
-#define D_NAMLEN(d) \
- ((d)->d_name[13] == '\0' ? strlen ((d)->d_name) : 14)
-
-#define D_RECLEN(d) (sizeof (*(d)))
--
Joseph S. Myers
joseph@codesourcery.com