* ui-file.h (tee_file_new): Add extern modifier in header declaration.
authorPierre Muller <muller@sourceware.org>
Sat, 22 Dec 2012 18:53:36 +0000 (18:53 +0000)
committerPierre Muller <muller@sourceware.org>
Sat, 22 Dec 2012 18:53:36 +0000 (18:53 +0000)
gdb/ChangeLog
gdb/ui-file.h

index 7486371..2f682cd 100644 (file)
@@ -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.
index bb85713..7385dfd 100644 (file)
@@ -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