summaryrefslogtreecommitdiffstats
path: root/contrib/gdb/gdb/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gdb/gdb/serial.c')
-rw-r--r--contrib/gdb/gdb/serial.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/contrib/gdb/gdb/serial.c b/contrib/gdb/gdb/serial.c
index 22964eb..ada5631 100644
--- a/contrib/gdb/gdb/serial.c
+++ b/contrib/gdb/gdb/serial.c
@@ -1,7 +1,7 @@
/* Generic serial interface routines
- Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
- Free Software Foundation, Inc.
+ Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+ 2001, 2002 Free Software Foundation, Inc.
This file is part of GDB.
@@ -58,9 +58,6 @@ static const char logbase_ascii[] = "ascii";
static const char *logbase_enums[] =
{logbase_hex, logbase_octal, logbase_ascii, NULL};
static const char *serial_logbase = logbase_ascii;
-
-#undef XMALLOC
-#define XMALLOC(TYPE) ((TYPE*) xmalloc (sizeof (TYPE)))
static int serial_current_type = 0;
OpenPOWER on IntegriCloud