Remove unused sysdeps/unix/sysv/direct.h
Joseph S. Myers
joseph@codesourcery.com
Fri Apr 20 21:09:00 GMT 2012
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
More information about the Libc-alpha
mailing list