summaryrefslogtreecommitdiffstats
path: root/contrib/gdb/gdb/ser-unix.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gdb/gdb/ser-unix.h')
-rw-r--r--contrib/gdb/gdb/ser-unix.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/gdb/gdb/ser-unix.h b/contrib/gdb/gdb/ser-unix.h
index 861694f..3bdf0bc 100644
--- a/contrib/gdb/gdb/ser-unix.h
+++ b/contrib/gdb/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,8 +22,8 @@
#ifndef SER_UNIX_H
#define SER_UNIX_H
-#undef XMALLOC
-#define XMALLOC(TYPE) (TYPE*) xmalloc (sizeof (TYPE))
+struct serial;
+struct ui_file;
/* Generic UNIX/FD functions */
OpenPOWER on IntegriCloud