diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-02-27 21:24:36 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-02-27 21:24:36 +0000 |
commit | c2852e886c903ae9e15145d18c07b09b7dcd048e (patch) | |
tree | 4ef23c8a73465d1b0f81b85a3132e3181baa7486 /bfd/bfd-in.h | |
parent | b94a41a1b25a0818a8c5423c31af99681c8ae9ea (diff) | |
download | gdb-c2852e886c903ae9e15145d18c07b09b7dcd048e.zip gdb-c2852e886c903ae9e15145d18c07b09b7dcd048e.tar.gz gdb-c2852e886c903ae9e15145d18c07b09b7dcd048e.tar.bz2 |
2003-02-27 Andrew Cagney <cagney@redhat.com>
* bfd.c (struct bfd): Rename "struct _bfd".
* bfd-in.h: Update copyright.
(struct bfd): Rename "struct _bfd".
(_bfd): Define for backward compatibility.
* bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd/bfd-in.h')
-rw-r--r-- | bfd/bfd-in.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index 3b1f9ab..3247e5b 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -1,7 +1,8 @@ /* Main header file for the bfd library -- portable access to object files. - Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001, 2002 - Free Software Foundation, Inc. + + Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, + 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. + Contributed by Cygnus Support. This file is part of BFD, the Binary File Descriptor library. @@ -68,7 +69,10 @@ extern "C" { #endif /* Forward declaration. */ -typedef struct _bfd bfd; +typedef struct bfd bfd; +/* For backward compatibility. Keep code that was using "struct + _bfd" working. */ +#define _bfd bfd /* Boolean type used in bfd. Too many systems define their own versions of "boolean" for us to safely typedef a "boolean" of |