summaryrefslogtreecommitdiffstats
path: root/doc/itron3.0/gen_section
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-05-26 18:07:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-05-26 18:07:37 +0000
commit1e72d709293e84d11ea9a251d133d59c6a423f32 (patch)
treedc462e3ed8e9b19e0c1510d91d9baea51a6a4965 /doc/itron3.0/gen_section
parentRegenerated to include more information in the stub. Now they have (diff)
downloadrtems-1e72d709293e84d11ea9a251d133d59c6a423f32.tar.bz2
Basic prototypes are now included.
Diffstat (limited to '')
-rw-r--r--doc/itron3.0/gen_section7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/itron3.0/gen_section b/doc/itron3.0/gen_section
index e82a793b25..ba30637d37 100644
--- a/doc/itron3.0/gen_section
+++ b/doc/itron3.0/gen_section
@@ -161,8 +161,13 @@ do
echo ""
echo "@ifset is-C"
echo "@example"
- echo "int ${routine}("
+ proto=`grep "${routine} (" ../../itron_spec/itron3-6.txt | sed -e 's/ercd = //'` # | sed -e 's/ \\(/(/'`
+
+ echo `echo ${proto} | cut -d'(' -f1`"("
+ echo ${proto} | cut -d'(' -f2 | sed -e 's/ .;//'
echo ");"
+ # echo "int ${routine}("
+ # echo ");"
echo "@end example"
echo "@end ifset"
echo ""