From 297ea16dcb2944086b26f010d1bfaadff2e30eaf Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Wed, 5 Nov 2008 13:28:44 +0000 Subject: [PATCH] fix type in gprof --- C/gprof.c | 2 +- docs/yap.tex | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/C/gprof.c b/C/gprof.c index 9eb759111..f014c8add 100644 --- a/C/gprof.c +++ b/C/gprof.c @@ -994,7 +994,7 @@ prof_alrm(int signo, siginfo_t *si, void *scv) #ifdef __APPLE__ current_p =(yamop *) CONTEXT_BP; #else - current_p =(amop *) sc->uc_mcontext.gregs[6]; /* 6= REG_EBP */ + current_p =(yamop *) sc->uc_mcontext.gregs[6]; /* 6= REG_EBP */ #endif #else current_p = P; diff --git a/docs/yap.tex b/docs/yap.tex index b7df4ae64..09a9bcb50 100644 --- a/docs/yap.tex +++ b/docs/yap.tex @@ -10903,14 +10903,14 @@ for efficiency. They are available through the @item trie_open(-@var{Id}) @findex trie_open/1 @snindex trie_open/1 -@cnindex trie_open/2 +@cnindex trie_open/1 Open a new trie with identifier @var{Id}. @item trie_close(+@var{Id}) @findex trie_close/1 @snindex trie_close/1 -@cnindex trie_close/2 +@cnindex trie_close/1 Close trie with identifier @var{Id}.