* hppahpux.h: Add defs for malloc() & realloc().
[deliverable/binutils-gdb.git] / bfd / hosts / hppahpux.h
CommitLineData
3fd76e58
SG
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>
b85bd0c1 9#include <memory.h>
ad486d77
SG
10
11void free();
12
3fd76e58
SG
13#ifndef O_ACCMODE
14#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
15#endif
16#define SEEK_SET 0
17#define SEEK_CUR 1
18
acc7c493
ILT
19#ifndef __STDC__
20#define NATIVE_HPPAHPUX_COMPILER
21#endif
22
3fd7451e
ILT
23#define USE_UTIME
24
3fd76e58
SG
25#if 0
26static int
27rename(from, to)
28{
29 unlink(to);
30 return(link(from, to));
31}
32#endif
33
764c960d
SG
34extern PTR EXFUN(malloc,(unsigned));
35extern PTR EXFUN(realloc, (PTR, unsigned));
36
3fd76e58
SG
37/* EXACT TYPES */
38typedef char int8e_type;
39typedef unsigned char uint8e_type;
40typedef short int16e_type;
41typedef unsigned short uint16e_type;
42typedef int int32e_type;
43typedef unsigned int uint32e_type;
44
45/* CORRECT SIZE OR GREATER */
46typedef char int8_type;
47typedef unsigned char uint8_type;
48typedef short int16_type;
49typedef unsigned short uint16_type;
50typedef int int32_type;
51typedef unsigned int uint32_type;
52
53#include "fopen-same.h"
This page took 0.033523 seconds and 4 git commands to generate.