~linuxjedi/drizzle/trunk-bug-667053

« back to all changes in this revision

Viewing changes to pstack/bucomm.h

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* bucomm.h -- binutils common include file.
 
2
   Copyright (C) 1992, 93, 94, 95, 96, 1997 Free Software Foundation, Inc.
 
3
 
 
4
This file is part of GNU Binutils.
 
5
 
 
6
This program is free software; you can redistribute it and/or modify
 
7
it under the terms of the GNU General Public License as published by
 
8
the Free Software Foundation; either version 2 of the License, or
 
9
(at your option) any later version.
 
10
 
 
11
This program is distributed in the hope that it will be useful,
 
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
GNU General Public License for more details.
 
15
 
 
16
You should have received a copy of the GNU General Public License
 
17
along with this program; if not, write to the Free Software
 
18
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
19
 
 
20
#ifndef _BUCOMM_H
 
21
#define _BUCOMM_H
 
22
 
 
23
#include "ansidecl.h"
 
24
#include <stdio.h>
 
25
#include <sys/types.h>
 
26
 
 
27
#include <errno.h>
 
28
#include <unistd.h>
 
29
 
 
30
#include <string.h>
 
31
 
 
32
#include <stdlib.h>
 
33
 
 
34
#include <fcntl.h>
 
35
 
 
36
#ifdef __GNUC__
 
37
# undef alloca
 
38
# define alloca __builtin_alloca
 
39
#else
 
40
# if HAVE_ALLOCA_H
 
41
#  include <alloca.h>
 
42
# else
 
43
#  ifndef alloca /* predefined by HP cc +Olibcalls */
 
44
#   if !defined (__STDC__) && !defined (__hpux)
 
45
char *alloca ();
 
46
#   else
 
47
void *alloca ();
 
48
#   endif /* __STDC__, __hpux */
 
49
#  endif /* alloca */
 
50
# endif /* HAVE_ALLOCA_H */
 
51
#endif
 
52
 
 
53
#ifndef BFD_TRUE_FALSE
 
54
#define boolean bfd_boolean
 
55
#define true TRUE
 
56
#define false FALSE
 
57
#endif
 
58
 
 
59
/* bucomm.c */
 
60
void bfd_nonfatal PARAMS ((CONST char *));
 
61
 
 
62
void bfd_fatal PARAMS ((CONST char *));
 
63
 
 
64
void fatal PARAMS ((CONST char *, ...));
 
65
 
 
66
void set_default_bfd_target PARAMS ((void));
 
67
 
 
68
void list_matching_formats PARAMS ((char **p));
 
69
 
 
70
void list_supported_targets PARAMS ((const char *, FILE *));
 
71
 
 
72
void print_arelt_descr PARAMS ((FILE *file, bfd *abfd, boolean verbose));
 
73
 
 
74
char *make_tempname PARAMS ((char *));
 
75
 
 
76
bfd_vma parse_vma PARAMS ((const char *, const char *));
 
77
 
 
78
extern char *program_name;
 
79
 
 
80
/* filemode.c */
 
81
void mode_string PARAMS ((unsigned long mode, char *buf));
 
82
 
 
83
/* version.c */
 
84
extern void print_version PARAMS ((const char *));
 
85
 
 
86
/* libiberty */
 
87
PTR xmalloc PARAMS ((size_t));
 
88
 
 
89
PTR xrealloc PARAMS ((PTR, size_t));
 
90
 
 
91
#endif /* _BUCOMM_H */