Commit | Line | Data |
---|---|---|
01170860 RP |
1 | /* This file is ho-sunos.h |
2 | Copyright (C) 1987-1992 Free Software Foundation, Inc. | |
355afbcd | 3 | |
01170860 | 4 | This file is part of GAS, the GNU Assembler. |
355afbcd | 5 | |
01170860 RP |
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. | |
355afbcd | 10 | |
01170860 RP |
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. | |
355afbcd | 15 | |
01170860 RP |
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 | 26 | #else |
0ccc65ec | 27 | extern char* memset (); |
5cf89596 | 28 | #endif |
d68f75c4 MT |
29 | |
30 | /* #include <sys/stdtypes.h> before <stddef.h> when compiling by GCC. */ | |
476a57b9 | 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();*/ | |
355afbcd KR |
40 | extern char *malloc (); |
41 | extern char *realloc (); | |
42 | extern char *strchr (); | |
43 | extern char *strrchr (); | |
44 | extern int _filbuf (); | |
45 | extern int _flsbuf (); | |
46 | extern int fclose (); | |
47 | extern int fgetc (); | |
48 | extern int fprintf (); | |
355afbcd | 49 | extern int free (); |
355afbcd | 50 | extern int printf (); |
355afbcd KR |
51 | extern int setvbuf (); |
52 | extern int sscanf (); | |
53 | extern int strcmp (); | |
54 | extern int strlen (); | |
55 | extern int strncmp (); | |
355afbcd KR |
56 | extern int ungetc (); |
57 | extern int vfprintf (); | |
58 | extern int vprintf (); | |
59 | extern int vsprintf (); | |
60 | extern long atol (); | |
fecd2382 RP |
61 | |
62 | #ifndef tolower | |
355afbcd | 63 | extern int tolower (); |
fecd2382 RP |
64 | #endif /* tolower */ |
65 | ||
66 | #ifndef toupper | |
355afbcd | 67 | extern int toupper (); |
fecd2382 RP |
68 | #endif /* toupper */ |
69 | ||
70 | /* | |
71 | * Local Variables: | |
72 | * fill-column: 80 | |
73 | * comment-column: 0 | |
74 | * End: | |
75 | */ | |
76 | ||
8b228fe9 | 77 | /* end of ho-sunos.h */ |