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 |
355afbcd | 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();*/ | |
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 (); | |
49 | extern int fread (); | |
50 | extern int free (); | |
51 | extern int perror (); | |
52 | extern int printf (); | |
53 | extern int rewind (); | |
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 (); | |
63 | extern int vsprintf (); | |
64 | extern long atol (); | |
fecd2382 RP |
65 | |
66 | #ifndef tolower | |
355afbcd | 67 | extern int tolower (); |
fecd2382 RP |
68 | #endif /* tolower */ |
69 | ||
70 | #ifndef toupper | |
355afbcd | 71 | extern int toupper (); |
fecd2382 RP |
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 */ |