* Makefile.in (OPTIONAL_BACKENDS): Add lynx-core.o.
[deliverable/binutils-gdb.git] / bfd / hosts / sun3.h
1 #include <ansidecl.h>
2 #include <fcntl.h>
3 #include <errno.h>
4 #include <stdio.h>
5 #include <sys/types.h>
6 #include <sys/stat.h>
7 #include <ctype.h>
8 #include <string.h>
9 #include <sys/file.h>
10 #ifndef O_ACCMODE
11 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
12 #endif
13 #define SEEK_SET 0
14 #define SEEK_CUR 1
15
16 #ifdef __STDC__
17 extern void free PARAMS ((PTR));
18 #else /* not __STDC__ */
19 extern int free PARAMS ((PTR));
20 #endif /* not __STDC__ */
21 extern void abort PARAMS ((void));
22 extern int close PARAMS ((int));
23 extern int fprintf PARAMS ((FILE *,CONST char *,...));
24 extern int qsort PARAMS ((void *data, int els, int siz, int func()));
25 extern void exit PARAMS ((int));
26 extern int fclose PARAMS ((FILE*));
27 extern void bcopy PARAMS ((char*,char*,int));
28 extern int bcmp PARAMS ((char *, char *, int));
29 extern void bzero PARAMS ((char *, int));
30 extern void perror PARAMS ((CONST char *));
31 extern char *getenv();
32 extern char * strchr();
33 extern char *memchr();
34 extern char *strrchr();
35 extern int chmod();
36 extern int fstat();
37 extern int stat();
38 extern int strtol();
39 #ifndef DONTDECLARE_MALLOC
40 extern PTR malloc PARAMS ((unsigned));
41 extern PTR realloc PARAMS ((PTR, unsigned));
42 #endif
43
44 extern char *strrchr();
45 extern char *ctime();
46 extern int _flsbuf();
47 extern int fclose();
48 extern int utimes();
49 extern int vfprintf();
50 extern long atol();
51 extern char *getenv();
52 extern int fputc();
53 extern int unlink();
54
55
56 #include "fopen-same.h"
57
58 /* From ANSI C <stddef.h>, which we can't depend upon the existence of */
59 #ifndef offsetof
60 #define offsetof(type,memb) ((size_t)&(((type *)0)->memb))
61 #endif
This page took 0.029444 seconds and 4 git commands to generate.