diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-06-11 21:18:10 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-06-11 21:18:10 +0000 |
commit | a33f7359242182b3a75c8edc2ab8e193dccef0ff (patch) | |
tree | bac9dd33f62247fea85984f58bc97d14d0630289 /binutils/dlltool.h | |
parent | f14c4109f8c9f4fea51acaa210dcb9a7f067c37d (diff) | |
download | gdb-a33f7359242182b3a75c8edc2ab8e193dccef0ff.zip gdb-a33f7359242182b3a75c8edc2ab8e193dccef0ff.tar.gz gdb-a33f7359242182b3a75c8edc2ab8e193dccef0ff.tar.bz2 |
* dlltool.h: New file.
* deflex.l: Include dlltool.h and libiberty.h. Don't declare
strdup. Use xstrdup rather than strdup.
* defparse.y: Include bfd.h, bucomm.h, and dlltool.h.
* dlltool.c: Include dlltool.h and time.h. Make a lot of
variables and functions static. Make a lot of char * variables
and parameters const. Add declarations for static functions. Do
some reindenting. Hide more PowerPC stuff inside DLLTOOL_PPC.
Diffstat (limited to 'binutils/dlltool.h')
-rw-r--r-- | binutils/dlltool.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/binutils/dlltool.h b/binutils/dlltool.h new file mode 100644 index 0000000..48e880b --- /dev/null +++ b/binutils/dlltool.h @@ -0,0 +1,40 @@ +/* dlltool.h -- header file for dlltool + Copyright (C) 1997 Free Software Foundation, Inc. + + This file is part of GNU Binutils. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. */ + +#include "ansidecl.h" +#include <stdio.h> + +extern void def_code PARAMS ((int)); +extern void def_data PARAMS ((int)); +extern void def_description PARAMS ((const char *)); +extern void def_exports PARAMS ((const char *, const char *, int, int, int)); +extern void def_heapsize PARAMS ((int, int)); +extern void def_import PARAMS ((const char *, const char *, const char *)); +extern void def_library PARAMS ((const char *, int)); +extern void def_name PARAMS ((const char *, int)); +extern void def_section PARAMS ((const char *, int)); +extern void def_stacksize PARAMS ((int, int)); +extern void def_version PARAMS ((int, int)); +extern int yyparse PARAMS ((void)); +extern int yyerror PARAMS ((const char *)); +extern int yydebug; +extern int yylex PARAMS ((void)); +extern FILE *yyin; +extern int linenumber; |