* apollo68.h, apollov68.h, hp300.h, i386v.h, irix3.h: Remove
[deliverable/binutils-gdb.git] / bfd / hosts / hp300.h
CommitLineData
bdd4be41
DZ
1#include <fcntl.h>
2#include <errno.h>
3#include <stdio.h>
4#include <sys/types.h>
5#include <sys/stat.h>
6#include <ctype.h>
7#include <string.h>
8#include <sys/file.h>
9#ifndef O_ACCMODE
10#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
11#endif
12#define SEEK_SET 0
13#define SEEK_CUR 1
14
15void free();
16
17/* Some things that need to be defined in order to make code written for
18 BSD Unix compile under System V Unix. */
19
20#include <memory.h>
21#define bcmp(b1,b2,len) memcmp(b1,b2,len)
22#define bcopy(src,dst,len) memcpy(dst,src,len)
23#define bzero(s,n) memset(s,0,n)
24
25#if 0
26static int
27rename(from, to)
28{
29 unlink(to);
30 return(link(from, to));
31}
32#endif
33
34/*
35 * Might not need these. Leave them out for now.
36 *
37#include <string.h>
38#define index(s,c) strchr(s,c)
39#define rindex(s,c) strrchr(s,c)
bdd4be41
DZ
40 */
41
42/* EXACT TYPES */
43typedef char int8e_type;
44typedef unsigned char uint8e_type;
45typedef short int16e_type;
46typedef unsigned short uint16e_type;
47typedef int int32e_type;
48typedef unsigned int uint32e_type;
49
50/* CORRECT SIZE OR GREATER */
51typedef char int8_type;
52typedef unsigned char uint8_type;
53typedef short int16_type;
54typedef unsigned short uint16_type;
55typedef int int32_type;
56typedef unsigned int uint32_type;
57
58#include "fopen-same.h"
This page took 0.027572 seconds and 4 git commands to generate.