This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH 1/3] makedoc: Fix INTERNAL(|DEFINITION|FUNCTION) command definitions
- From: Jon Turney <jon dot turney at dronecode dot org dot uk>
- To: newlib at sourceware dot org
- Cc: Jon Turney <jon dot turney at dronecode dot org dot uk>
- Date: Fri, 6 Nov 2015 15:49:10 +0000
- Subject: [PATCH 1/3] makedoc: Fix INTERNAL(|DEFINITION|FUNCTION) command definitions
- Authentication-results: sourceware.org; auth=none
- References: <1446824952-6608-1-git-send-email-jon dot turney at dronecode dot org dot uk>
The unused INTERNAL_DEFINITION, INTERNAL_FUNCTION and INTERNAL commands are
defined in terms of the non-existent built-in 'func'
This causes every single invocation of makedoc to output "Can't find func" three
times, as it parses doc.str.
This is normally un-noticed because makedoc's stderr is redirected to a .ref
file.
Fix these unused command definitions to something with equivalent lack of
effect, but without generating an error.
2015-11-06 Jon Turney <jon.turney@dronecode.org.uk>
* doc/doc.str: Fix INTERNAL_DEFINITION, INTERNAL_FUNCTION and
INTERNAL.
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
---
newlib/ChangeLog | 5 +++++
newlib/doc/doc.str | 8 ++++----
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index f8e51a7..cccee1e 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2015-11-06 Jon Turney <jon.turney@dronecode.org.uk>
+
+ * doc/doc.str: Fix INTERNAL_DEFINITION, INTERNAL_FUNCTION and
+ INTERNAL.
+
2015-11-06 Olivier Martin <olivier@labapart.com>
* libc/include/stdlib.h (mktemp): Change attribute to deprecated.
diff --git a/newlib/doc/doc.str b/newlib/doc/doc.str
index aeef6f7..3fc1006 100644
--- a/newlib/doc/doc.str
+++ b/newlib/doc/doc.str
@@ -154,13 +154,13 @@
"@strong{See Also}@*\n" catstr subhead ;
: INTERNAL_FUNCTION
- func ;
+ ;
-: INTERNAL_DEFINITION
- func ;
+: INTERNAL_DEFINITION
+ ;
: INTERNAL
- func ;
+ ;
: TYPEDEF
FUNCTION ;
--
2.5.3