Commit | Line | Data |
---|---|---|
01170860 RP |
1 | /* This file is ho-sunos.h |
2 | Copyright (C) 1987-1992 Free Software Foundation, Inc. | |
3 | ||
4 | This file is part of GAS, the GNU Assembler. | |
5 | ||
6 | GAS 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, or (at your option) | |
9 | any later version. | |
10 | ||
11 | GAS 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 GAS; see the file COPYING. If not, write to | |
18 | the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |
19 | ||
a87b3269 | 20 | #if __STDC__ != 1 |
fecd2382 | 21 | #define NO_STDARG |
fecd2382 RP |
22 | #endif /* not __STDC__ */ |
23 | ||
a87b3269 | 24 | #if !defined(__GNUC__) && (__STDC__ != 1) |
d1a9e594 | 25 | #include <memory.h> |
d9391253 RP |
26 | #else |
27 | extern int memset(); | |
5cf89596 | 28 | #endif |
d68f75c4 MT |
29 | |
30 | /* #include <sys/stdtypes.h> before <stddef.h> when compiling by GCC. */ | |
31 | #include <sys/stdtypes.h> | |
5d9f0ecf | 32 | #include <stddef.h> |
fecd2382 RP |
33 | #include <ctype.h> |
34 | #include <string.h> | |
35 | ||
36 | /* externs for system libraries. */ | |
37 | ||
a87b3269 RP |
38 | /*extern int abort();*/ |
39 | /*extern int exit();*/ | |
fecd2382 RP |
40 | extern char *malloc(); |
41 | extern char *realloc(); | |
a87b3269 | 42 | extern char *strchr(); |
fecd2382 RP |
43 | extern char *strrchr(); |
44 | extern int _filbuf(); | |
45 | extern int _flsbuf(); | |
fecd2382 | 46 | extern int fclose(); |
a87b3269 | 47 | extern int fgetc(); |
fecd2382 RP |
48 | extern int fprintf(); |
49 | extern int fread(); | |
50 | extern int free(); | |
51 | extern int perror(); | |
52 | extern int printf(); | |
a87b3269 | 53 | extern int rewind(); |
fecd2382 RP |
54 | extern int setvbuf(); |
55 | extern int sscanf(); | |
56 | extern int strcmp(); | |
57 | extern int strlen(); | |
58 | extern int strncmp(); | |
59 | extern int time(); | |
60 | extern int ungetc(); | |
61 | extern int vfprintf(); | |
62 | extern int vprintf(); | |
a87b3269 | 63 | extern int vsprintf(); |
fecd2382 RP |
64 | extern long atol(); |
65 | ||
66 | #ifndef tolower | |
67 | extern int tolower(); | |
68 | #endif /* tolower */ | |
69 | ||
70 | #ifndef toupper | |
71 | extern int toupper(); | |
72 | #endif /* toupper */ | |
73 | ||
74 | /* | |
75 | * Local Variables: | |
76 | * fill-column: 80 | |
77 | * comment-column: 0 | |
78 | * End: | |
79 | */ | |
80 | ||
8b228fe9 | 81 | /* end of ho-sunos.h */ |