This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Remove _IO_pos_t
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: <libc-alpha at sourceware dot org>
- Date: Wed, 10 Oct 2012 16:05:57 +0000
- Subject: Remove _IO_pos_t
libio.h defines a macro _IO_pos_t, with a comment marking it as
obsolete. Nothing uses this macro. This patch removes it.
Tested x86_64 that the code generated for glibc's shared libraries is
identical before and after this patch and committed as obvious.
2012-10-10 Joseph Myers <joseph@codesourcery.com>
* libio/libio.h (_IO_pos_t): Remove.
diff --git a/libio/libio.h b/libio/libio.h
index 45f4707..94e4a0b 100644
--- a/libio/libio.h
+++ b/libio/libio.h
@@ -31,7 +31,6 @@
#include <_G_config.h>
/* ALL of these should be defined in _G_config.h */
-#define _IO_pos_t _G_fpos_t /* obsolete */
#define _IO_fpos_t _G_fpos_t
#define _IO_fpos64_t _G_fpos64_t
#define _IO_size_t size_t
--
Joseph S. Myers
joseph@codesourcery.com