summaryrefslogtreecommitdiff
path: root/gdb/ser-unix.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ser-unix.h')
-rw-r--r--gdb/ser-unix.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/ser-unix.h b/gdb/ser-unix.h
index 861694fb806..f7be059b28a 100644
--- a/gdb/ser-unix.h
+++ b/gdb/ser-unix.h
@@ -1,5 +1,6 @@
/* Serial interface for UN*X file-descriptor based connection.
- Copyright 1999, 2000 Free Software Foundation, Inc.
+
+ Copyright 1999, 2000, 2002 Free Software Foundation, Inc.
This file is part of GDB.
@@ -21,9 +22,6 @@
#ifndef SER_UNIX_H
#define SER_UNIX_H
-#undef XMALLOC
-#define XMALLOC(TYPE) (TYPE*) xmalloc (sizeof (TYPE))
-
/* Generic UNIX/FD functions */
extern int ser_unix_nop_flush_output (struct serial *scb);