Add definition of free
[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 extern void EXFUN(free,(PTR));
17 extern int EXFUN(abort,(void));
18 extern int EXFUN(close,(int));
19 extern int EXFUN(fcntl,(int des, int cmd, int e));
20 extern int EXFUN(fprintf,(FILE *,char *,...));
21 extern int EXFUN(printf,(char *,...));
22 extern int EXFUN(qsort,(void *data,int els, int siz, int func()));
23 extern int EXFUN(exit,(int));
24 extern int EXFUN(fseek,(FILE*, int, int));
25 extern int EXFUN(fclose,(FILE*));
26 extern void EXFUN(bcopy,(char*,char*,int));
27 extern int EXFUN(bcmp,(char *, char *, int));
28 extern void EXFUN(bzero,(char *, int));
29 extern void EXFUN(perror,(CONST char *));
30 extern char *getenv();
31 extern char * strchr();
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 char *malloc();
42 char *realloc();
43
44 extern char *strrchr();
45 extern char *ctime();
46 extern int _flsbuf();
47 extern int fclose();
48 extern int time();
49 extern int utimes();
50 extern int vfprintf();
51 extern long atol();
52 extern char *getenv();
53 extern int fputc();
54 extern int unlink();
55
56
57 /* EXACT TYPES */
58 typedef char int8e_type;
59 typedef unsigned char uint8e_type;
60 typedef short int16e_type;
61 typedef unsigned short uint16e_type;
62 typedef int int32e_type;
63 typedef unsigned int uint32e_type;
64
65 /* CORRECT SIZE OR GREATER */
66 typedef char int8_type;
67 typedef unsigned char uint8_type;
68 typedef short int16_type;
69 typedef unsigned short uint16_type;
70 typedef int int32_type;
71 typedef unsigned int uint32_type;
72
73 #include "fopen-same.h"
This page took 0.032117 seconds and 5 git commands to generate.