changeset 17268:840fa337f971

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.
author Paul Eggert <eggert@cs.ucla.edu>
date Thu, 03 Jan 2013 17:59:58 -0800
parents ee4cb5937493
children 2c9278655224
files ChangeLog lib/stdio.c modules/stdio
diffstat 3 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2013-01-04  Paul Eggert  <eggert@cs.ucla.edu>
 
+	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.
deleted file mode 100644
--- a/lib/stdio.c
+++ /dev/null
@@ -1,3 +0,0 @@
-#include <config.h>
-#define _GL_STDIO_INLINE _GL_EXTERN_INLINE
-#include "stdio.h"
--- a/modules/stdio
+++ b/modules/stdio
@@ -2,7 +2,6 @@
 A GNU-like <stdio.h>.
 
 Files:
-lib/stdio.c
 lib/stdio.in.h
 m4/stdio_h.m4
 
@@ -20,7 +19,6 @@
 
 Makefile.am:
 BUILT_SOURCES += stdio.h
-lib_SOURCES += stdio.c
 
 # We need the following in order to create <stdio.h> when the system
 # doesn't have one that works with the given compiler.