aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2012-12-22 18:53:36 +0000
committerPierre Muller <muller@sourceware.org>2012-12-22 18:53:36 +0000
commit2da6da3b303a83cd24462fe0e8c668a325c18d3a (patch)
treee06b8604d813a75027a1785015116c63c3fd49d9 /gdb
parent0dfd2fad8bd1557bab3458c48cff6eeabca84693 (diff)
downloadbinutils-2da6da3b303a83cd24462fe0e8c668a325c18d3a.zip
binutils-2da6da3b303a83cd24462fe0e8c668a325c18d3a.tar.gz
binutils-2da6da3b303a83cd24462fe0e8c668a325c18d3a.tar.bz2
* ui-file.h (tee_file_new): Add extern modifier in header declaration.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/ui-file.h8
2 files changed, 8 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7486371..2f682cd 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2012-12-18 Pierre Muller <muller@sourceware.org>
+
+ * ui-file.h (tee_file_new): Add extern modifier in header declaration.
+
2012-12-20 Tom Tromey <tromey@redhat.com>
* serial.c (deprecated_serial_fd): Remove.
diff --git a/gdb/ui-file.h b/gdb/ui-file.h
index bb85713..7385dfd 100644
--- a/gdb/ui-file.h
+++ b/gdb/ui-file.h
@@ -135,8 +135,8 @@ extern struct ui_file *gdb_fopen (char *name, char *mode);
/* Create a file which writes to both ONE and TWO. CLOSE_ONE
and CLOSE_TWO indicate whether the original files should be
closed when the new file is closed. */
-struct ui_file *tee_file_new (struct ui_file *one,
- int close_one,
- struct ui_file *two,
- int close_two);
+extern struct ui_file *tee_file_new (struct ui_file *one,
+ int close_one,
+ struct ui_file *two,
+ int close_two);
#endif