* hosts/sun3.h: Include <stdlib.h>. Don't declare free, exit or
getenv.
This commit is contained in:
parent
e85e8bfe62
commit
2855b89fe2
@ -1,5 +1,8 @@
|
||||
Thu Jun 2 17:39:22 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
||||
|
||||
* hosts/sun3.h: Include <stdlib.h>. Don't declare free, exit or
|
||||
getenv.
|
||||
|
||||
Add linker support for SunOS shared libraries.
|
||||
* sunos.c: Include bfdlink.h. Add many new functions and
|
||||
definitions for SunOS shared library support.
|
||||
|
@ -7,27 +7,20 @@
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include <sys/file.h>
|
||||
#include <stdlib.h>
|
||||
#ifndef O_ACCMODE
|
||||
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
|
||||
#endif
|
||||
#define SEEK_SET 0
|
||||
#define SEEK_CUR 1
|
||||
|
||||
#ifdef __STDC__
|
||||
extern void free PARAMS ((PTR));
|
||||
#else /* not __STDC__ */
|
||||
extern int free PARAMS ((PTR));
|
||||
#endif /* not __STDC__ */
|
||||
extern void abort PARAMS ((void));
|
||||
extern int close PARAMS ((int));
|
||||
extern int fprintf PARAMS ((FILE *,CONST char *,...));
|
||||
extern void exit PARAMS ((int));
|
||||
extern int fclose PARAMS ((FILE*));
|
||||
extern void bcopy PARAMS ((char*,char*,int));
|
||||
extern int bcmp PARAMS ((char *, char *, int));
|
||||
extern void bzero PARAMS ((char *, int));
|
||||
extern void perror PARAMS ((CONST char *));
|
||||
extern char *getenv();
|
||||
extern char * strchr();
|
||||
extern char *memchr();
|
||||
extern char *strrchr();
|
||||
|
Loading…
x
Reference in New Issue
Block a user