* read.c (cons_worker): Detect and reject unexpected string argument.
[binutils/dougsmingw.git] / bfd / init.c
bloba023fb68788d654d2eebc1a95eaa78948608ea6b
1 /* bfd initialization stuff
2 Copyright 1990, 1991, 1992, 1993, 1994, 1995, 2003, 2005, 2007
3 Free Software Foundation, Inc.
4 Written by Steve Chamberlain of Cygnus Support.
6 This file is part of BFD, the Binary File Descriptor library.
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
21 MA 02110-1301, USA. */
23 #include "sysdep.h"
24 #include "bfd.h"
25 #include "libbfd.h"
28 SECTION
29 Initialization
31 SUBSECTION
32 Initialization functions
34 These are the functions that handle initializing a BFD.
38 FUNCTION
39 bfd_init
41 SYNOPSIS
42 void bfd_init (void);
44 DESCRIPTION
45 This routine must be called before any other BFD function to
46 initialize magical internal data structures.
49 /* Actually, there is currently nothing for this function to do.
50 However, someday it may be needed, so keep it around. */
52 void
53 bfd_init (void)