aboutsummaryrefslogtreecommitdiff
path: root/include/dis-asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dis-asm.h')
-rw-r--r--include/dis-asm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dis-asm.h b/include/dis-asm.h
index 63b6eb0..5c164b1 100644
--- a/include/dis-asm.h
+++ b/include/dis-asm.h
@@ -12,7 +12,7 @@
#include <stdio.h>
#include "bfd.h"
-typedef int (*fprintf_ftype) PARAMS((FILE*, const char*, ...));
+typedef int (*fprintf_ftype) PARAMS((PTR, const char*, ...));
enum dis_insn_type {
dis_noninsn, /* Not a valid instruction */
@@ -37,7 +37,7 @@ enum dis_insn_type {
typedef struct disassemble_info {
fprintf_ftype fprintf_func;
- FILE *stream;
+ PTR stream;
PTR application_data;
/* Target description. We could replace this with a pointer to the bfd,