]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Move typedef to a better spot.
authorNicholas Nethercote <njn@valgrind.org>
Tue, 21 Jun 2005 00:07:13 +0000 (00:07 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Tue, 21 Jun 2005 00:07:13 +0000 (00:07 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3973

coregrind/pub_core_debuginfo.h
coregrind/pub_core_redir.h

index 55f13ba5592f9f7515c0c50da71b75c40a9e8b77..65ab647fe51251e374b2932066b06edd7a75efac 100644 (file)
@@ -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 );
index 59743e1f3c0dea6ff2f1c07b875dd4b6542bf9f9..06f69b542c2371f28d2550559140af29cd04b355 100644 (file)
@@ -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.