From 2da6da3b303a83cd24462fe0e8c668a325c18d3a Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Sat, 22 Dec 2012 18:53:36 +0000 Subject: [PATCH] * ui-file.h (tee_file_new): Add extern modifier in header declaration. --- gdb/ChangeLog | 4 ++++ gdb/ui-file.h | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 74863714740..2f682cd69e1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2012-12-18 Pierre Muller + + * ui-file.h (tee_file_new): Add extern modifier in header declaration. + 2012-12-20 Tom Tromey * serial.c (deprecated_serial_fd): Remove. diff --git a/gdb/ui-file.h b/gdb/ui-file.h index bb857134779..7385dfd70c0 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 -- 2.30.2