stdio: remove now-unnecessary stdio.c
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 4 Jan 2013 01:59:58 +0000 (17:59 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 4 Jan 2013 02:05:36 +0000 (18:05 -0800)
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
lib/stdio.c [deleted file]
modules/stdio

index 1958b41..da4a068 100644 (file)
--- 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.
diff --git a/lib/stdio.c b/lib/stdio.c
deleted file mode 100644 (file)
index e6ed829..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#include <config.h>
-#define _GL_STDIO_INLINE _GL_EXTERN_INLINE
-#include "stdio.h"
index 54189dc..1eec2bf 100644 (file)
@@ -2,7 +2,6 @@ Description:
 A GNU-like <stdio.h>.
 
 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 <stdio.h> when the system
 # doesn't have one that works with the given compiler.