[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/3] stdio: remove now-unnecessary stdio.c
From: |
Paul Eggert |
Subject: |
[PATCH 3/3] stdio: remove now-unnecessary stdio.c |
Date: |
Thu, 03 Jan 2013 18:09:13 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
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 1958b41..da4a068 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2013-01-04 Paul Eggert <address@hidden>
+ 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 e6ed829..0000000
--- a/lib/stdio.c
+++ /dev/null
@@ -1,3 +0,0 @@
-#include <config.h>
-#define _GL_STDIO_INLINE _GL_EXTERN_INLINE
-#include "stdio.h"
diff --git a/modules/stdio b/modules/stdio
index 54189dc..1eec2bf 100644
--- a/modules/stdio
+++ b/modules/stdio
@@ -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.
--
1.7.11.7
- [PATCH 1/3] fprintftime: depend on stdio, not ignore-value, Paul Eggert, 2013/01/03
- [PATCH 2/3] unicodeio: depend on stdio, not ignore-value, Paul Eggert, 2013/01/03
- [PATCH 3/3] stdio: remove now-unnecessary stdio.c,
Paul Eggert <=
- Re: [PATCH 1/3] fprintftime: depend on stdio, not ignore-value, Jim Meyering, 2013/01/04
- Re: [PATCH 1/3] fprintftime: depend on stdio, not ignore-value, Paul Eggert, 2013/01/04
- Re: [PATCH 1/3] fprintftime: depend on stdio, not ignore-value, Jim Meyering, 2013/01/04
- Re: [PATCH 1/3] fprintftime: depend on stdio, not ignore-value, Paul Eggert, 2013/01/04
- Re: [PATCH 1/3] fprintftime: depend on stdio, not ignore-value, Eric Blake, 2013/01/04
- Re: [PATCH 1/3] fprintftime: depend on stdio, not ignore-value, Paul Eggert, 2013/01/04
- Re: [PATCH 1/3] fprintftime: depend on stdio, not ignore-value, Jim Meyering, 2013/01/04
- Re: [PATCH 1/3] fprintftime: depend on stdio, not ignore-value, Paul Eggert, 2013/01/04