makedoc: Fix INTERNAL(|DEFINITION|FUNCTION) command definitions

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>
This commit is contained in:
Jon Turney 2015-10-25 15:25:00 +00:00
parent 3c8636acf6
commit 0c02db4d28
2 changed files with 9 additions and 4 deletions

View File

@ -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-12 Wilco Dijkstra <wdijkstr@arm.com>
* newlib/libc/machine/aarch64/memcpy.S (memcpy): Further tuning for

View File

@ -154,13 +154,13 @@
"@strong{See Also}@*\n" catstr subhead ;
: INTERNAL_FUNCTION
func ;
;
: INTERNAL_DEFINITION
func ;
: INTERNAL_DEFINITION
;
: INTERNAL
func ;
;
: TYPEDEF
FUNCTION ;