From: Nicholas Nethercote Date: Tue, 21 Jun 2005 00:07:13 +0000 (+0000) Subject: Move typedef to a better spot. X-Git-Tag: svn/VALGRIND_3_0_0~345 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ed720711e3ab5bb31aac2e70aec46ba5a139697;p=thirdparty%2Fvalgrind.git Move typedef to a better spot. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3973 --- diff --git a/coregrind/pub_core_debuginfo.h b/coregrind/pub_core_debuginfo.h index 55f13ba559..65ab647fe5 100644 --- a/coregrind/pub_core_debuginfo.h +++ b/coregrind/pub_core_debuginfo.h @@ -42,7 +42,6 @@ #include "pub_tool_debuginfo.h" typedef struct _Segment Segment; -typedef struct _CodeRedirect CodeRedirect; extern Bool VG_(is_object_file) ( const void *hdr ); extern SegInfo * VG_(read_seg_symbols) ( Segment *seg ); diff --git a/coregrind/pub_core_redir.h b/coregrind/pub_core_redir.h index 59743e1f3c..06f69b542c 100644 --- a/coregrind/pub_core_redir.h +++ b/coregrind/pub_core_redir.h @@ -61,6 +61,8 @@ void VG_(maybe_redir_or_notify) ( Char* symbol, Addr addr ); // See include/pub_tool_redir.h for details on how to do code replacement. +typedef struct _CodeRedirect CodeRedirect; + // This is the crucial redirection function. It answers the question: // should this code address be redirected somewhere else? It's used just // before translating a basic block.