ser-e7kpc.c: Fix duplicated define and call of _initialize_ser_e7000pc
authorAndrey Volkov <avolkov@transas.com>
Mon, 10 Jun 2002 19:19:37 +0000 (19:19 +0000)
committerAndrey Volkov <avolkov@transas.com>
Mon, 10 Jun 2002 19:19:37 +0000 (19:19 +0000)
gdb/ChangeLog
gdb/ser-e7kpc.c

index 5285f49ee8f631833648d51d98b4f6d34d7fb06b..37b511d3b4e53b56f4cad826473bc26f9ebe49c0 100644 (file)
@@ -1,3 +1,9 @@
+2002-06-10  Andrey Volkov <avolkov@transas.com>
+
+       * ser-e7kpc.c: Fix duplicated define and call of 
+        _initialize_ser_e7000pc
+           
+           
 2002-06-09  Daniel Jacobowitz  <drow@mvista.com>
 
        * signals/signals.c (target_signal_from_host): Fix #ifdef
index 49b2c89c3246a3d90a28c71ec08f0c9c7a1c4149..063cca13d635d202ea80a8e533b16637be092434 100644 (file)
@@ -423,16 +423,12 @@ static struct serial_ops e7000pc_ops =
   e7000pc_noop,                        /* wait for output to drain */
 };
 
-void
-_initialize_ser_e7000pc (void)
-{
-  serial_add_interface (&e7000pc_ops);
-}
-#else
+#endif /*_WIN32 or __GO32__*/
 
 void
 _initialize_ser_e7000pc (void)
 {
-
+#if defined __GO32__ || defined _WIN32
+  serial_add_interface (&e7000pc_ops);
+#endif  
 }
-#endif