]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - bfd/hosts/i386v4.h
* hosts/sysv4.h (qsort, strtol): Don't declare.
[thirdparty/binutils-gdb.git] / bfd / hosts / i386v4.h
CommitLineData
f8b4dadf 1/* SVR4 Unix host system */
f751f474 2#include <ansidecl.h>
f8b4dadf
FF
3#include <fcntl.h>
4#include <errno.h>
5#include <stdio.h>
6#include <sys/types.h>
7#include <sys/stat.h>
8#include <utime.h>
9#include <ctype.h>
10#include <string.h>
11#include <sys/file.h>
12
c5652bff 13#ifndef O_ACCMODE
f8b4dadf
FF
14#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
15#endif
16#define SEEK_SET 0
17#define SEEK_CUR 1
18
19#define POSIX_UTIME
748ec124 20#define HAVE_PROCFS /* This host has /proc support */
f8b4dadf 21
e49d5379
JG
22extern void abort PARAMS ((void));
23extern int close PARAMS ((int));
24extern void exit PARAMS ((int));
25extern int fclose PARAMS ((FILE*));
26extern void free PARAMS ((PTR));
27extern int fseek PARAMS ((FILE*, long, int));
28extern int getgid PARAMS (());
29extern int getuid PARAMS (());
30extern PTR malloc PARAMS ((unsigned));
31extern void perror PARAMS ((CONST char *));
e49d5379 32extern PTR realloc PARAMS ((PTR, unsigned));
f8b4dadf
FF
33
34extern char *getenv();
35extern int chmod();
36extern int fstat();
37extern int stat();
f8b4dadf
FF
38
39extern char *ctime();
40extern int _flsbuf();
41extern int fclose();
42extern int utimes();
43extern int vfprintf();
44extern long atol();
45extern int fputc();
46extern int unlink();
47
a5431adc 48#include "fopen-same.h"