From f782c0f66728e636e98214c33e55de063f00f113 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 3 Jan 2013 17:59:58 -0800 Subject: [PATCH] stdio: remove now-unnecessary stdio.c Since stdio.in.h no longer uses inline functions, we no longer need to compile the extern versions. * lib/stdio.c: Remove. * modules/stdio (Files): Remove lib/stdio.c. (lib_SOURCES): Remove. --- ChangeLog | 7 +++++++ lib/stdio.c | 3 --- modules/stdio | 2 -- 3 files changed, 7 insertions(+), 5 deletions(-) delete mode 100644 lib/stdio.c diff --git a/ChangeLog b/ChangeLog index 1958b416f7..da4a068e23 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2013-01-04 Paul Eggert + stdio: remove now-unnecessary stdio.c + Since stdio.in.h no longer uses inline functions, we no longer + need to compile the extern versions. + * lib/stdio.c: Remove. + * modules/stdio (Files): Remove lib/stdio.c. + (lib_SOURCES): Remove. + unicodeio: depend on stdio, not ignore-value * lib/unicodeio.c: Do not include ignore-value.h. (fwrite_success_callback): Use plain fwrite, not ignore_value + fwrite. diff --git a/lib/stdio.c b/lib/stdio.c deleted file mode 100644 index e6ed82996b..0000000000 --- a/lib/stdio.c +++ /dev/null @@ -1,3 +0,0 @@ -#include -#define _GL_STDIO_INLINE _GL_EXTERN_INLINE -#include "stdio.h" diff --git a/modules/stdio b/modules/stdio index 54189dccf6..1eec2bf263 100644 --- a/modules/stdio +++ b/modules/stdio @@ -2,7 +2,6 @@ Description: A GNU-like . Files: -lib/stdio.c lib/stdio.in.h m4/stdio_h.m4 @@ -20,7 +19,6 @@ gl_STDIO_H Makefile.am: BUILT_SOURCES += stdio.h -lib_SOURCES += stdio.c # We need the following in order to create when the system # doesn't have one that works with the given compiler. -- 2.39.5