Initial revision
[deliverable/binutils-gdb.git] / bfd / hosts / sparc.h
1 #include <fcntl.h>
2 #include <errno.h>
3 #include <stdio.h>
4 #include <sys/types.h>
5 #include <sys/stat.h>
6 #include <ctype.h>
7 #include <string.h>
8 #include <sys/file.h>
9 #ifndef O_ACCMODE
10 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
11 #endif
12 #define SEEK_SET 0
13 #define SEEK_CUR 1
14
15 extern PROTO(int, abort,(void));
16 extern PROTO(int, close,(int));
17 extern PROTO(int, fcntl,(int des, int cmd));
18 extern PROTO(int, fprintf,(FILE *,char *,...));
19 extern PROTO(int, printf,(char *,...));
20 extern PROTO(int, oqsort,(void *data,int els, int siz, int func()));
21 extern PROTO(int, exit,(int));
22 extern PROTO(int, fseek,(FILE*, int, int));
23 extern PROTO(int, fclose,(FILE*));
24 extern PROTO(void, bcopy,(char*,char*,int));
25 extern PROTO(int, bcmp,(char *, char *, int));
26 extern PROTO(void, bzero,(char *, int));
27 extern PROTO(char *,memset,(char*, int, int));
28 PROTO(PTR, memcpy,(PTR,CONST PTR,unsigned int));
29 extern char * strchr();
30 extern PROTO(void, perror,(char *));
31 extern char *getenv();
32 extern char *memchr();
33 extern char *strrchr();
34 extern int chmod();
35 extern int fread();
36 extern int fstat();
37 extern int fwrite();
38 extern int sscanf();
39 extern int stat();
40 extern int strtol();
41 void free();
42 char *malloc();
43 char *realloc();
44 PROTO (void, perror, (char *s));
45 extern char *strrchr();
46 extern char *ctime();
47 extern int _flsbuf();
48 extern int fclose();
49 extern int time();
50 extern int utimes();
51 extern int vfprintf();
52 extern long atol();
53 extern char *getenv();
54 extern int fputc();
55 extern int unlink();
56
57
58 /* EXACT TYPES */
59 typedef char int8e_type;
60 typedef unsigned char uint8e_type;
61 typedef short int16e_type;
62 typedef unsigned short uint16e_type;
63 typedef int int32e_type;
64 typedef unsigned int uint32e_type;
65
66 /* CORRECT SIZE OR GREATER */
67 typedef char int8_type;
68 typedef unsigned char uint8_type;
69 typedef short int16_type;
70 typedef unsigned short uint16_type;
71 typedef int int32_type;
72 typedef unsigned int uint32_type;
73
This page took 0.031671 seconds and 5 git commands to generate.