This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]