diff options
author | Hui Zhu <teawater@gmail.com> | 2012-12-18 06:39:37 +0000 |
---|---|---|
committer | Hui Zhu <teawater@gmail.com> | 2012-12-18 06:39:37 +0000 |
commit | 3f453875a4675e487d0f25e15d512c16514e4a63 (patch) | |
tree | 0e3c5023e59786c975c736829925d40f77f5061f /gdb/ui-file.c | |
parent | 4141a416ddb921e600cf6d28b805f854ef3b60e9 (diff) | |
download | gdb-3f453875a4675e487d0f25e15d512c16514e4a63.zip gdb-3f453875a4675e487d0f25e15d512c16514e4a63.tar.gz gdb-3f453875a4675e487d0f25e15d512c16514e4a63.tar.bz2 |
2012-12-18 Hui Zhu <hui_zhu@mentor.com>
* ui-file.c (set_ui_file_flush): Change flush to flush_ptr.
(set_ui_file_isatty): Change isatty to isatty_ptr.
(set_ui_file_rewind): Change rewind to rewind_ptr.
(set_ui_file_put): Change put to put_ptr.
(set_ui_file_write): Change write to write_ptr.
(set_ui_file_write_async_safe): Change write_async_safe to
write_async_safe_ptr.
(set_ui_file_read): Change read to read_ptr.
(set_ui_file_fputs): Change fputs to fputs_ptr.
(set_ui_file_data): Change delete to delete_ptr.
Diffstat (limited to 'gdb/ui-file.c')
-rw-r--r-- | gdb/ui-file.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/gdb/ui-file.c b/gdb/ui-file.c index 68089e6..657a3fc 100644 --- a/gdb/ui-file.c +++ b/gdb/ui-file.c @@ -234,61 +234,61 @@ fputs_unfiltered (const char *buf, struct ui_file *file) } void -set_ui_file_flush (struct ui_file *file, ui_file_flush_ftype *flush) +set_ui_file_flush (struct ui_file *file, ui_file_flush_ftype *flush_ptr) { - file->to_flush = flush; + file->to_flush = flush_ptr; } void -set_ui_file_isatty (struct ui_file *file, ui_file_isatty_ftype *isatty) +set_ui_file_isatty (struct ui_file *file, ui_file_isatty_ftype *isatty_ptr) { - file->to_isatty = isatty; + file->to_isatty = isatty_ptr; } void -set_ui_file_rewind (struct ui_file *file, ui_file_rewind_ftype *rewind) +set_ui_file_rewind (struct ui_file *file, ui_file_rewind_ftype *rewind_ptr) { - file->to_rewind = rewind; + file->to_rewind = rewind_ptr; } void -set_ui_file_put (struct ui_file *file, ui_file_put_ftype *put) +set_ui_file_put (struct ui_file *file, ui_file_put_ftype *put_ptr) { - file->to_put = put; + file->to_put = put_ptr; } void set_ui_file_write (struct ui_file *file, - ui_file_write_ftype *write) + ui_file_write_ftype *write_ptr) { - file->to_write = write; + file->to_write = write_ptr; } void set_ui_file_write_async_safe (struct ui_file *file, - ui_file_write_async_safe_ftype *write_async_safe) + ui_file_write_async_safe_ftype *write_async_safe_ptr) { - file->to_write_async_safe = write_async_safe; + file->to_write_async_safe = write_async_safe_ptr; } void -set_ui_file_read (struct ui_file *file, ui_file_read_ftype *read) +set_ui_file_read (struct ui_file *file, ui_file_read_ftype *read_ptr) { - file->to_read = read; + file->to_read = read_ptr; } void -set_ui_file_fputs (struct ui_file *file, ui_file_fputs_ftype *fputs) +set_ui_file_fputs (struct ui_file *file, ui_file_fputs_ftype *fputs_ptr) { - file->to_fputs = fputs; + file->to_fputs = fputs_ptr; } void set_ui_file_data (struct ui_file *file, void *data, - ui_file_delete_ftype *delete) + ui_file_delete_ftype *delete_ptr) { file->to_data = data; - file->to_delete = delete; + file->to_delete = delete_ptr; } /* ui_file utility function for converting a ``struct ui_file'' into |