home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / gnu / djgpp / src / binutils.2 / bfd / hosts / we32k.h < prev   
Encoding:
C/C++ Source or Header  |  1993-05-30  |  1.0 KB  |  44 lines

  1. #include <unistd.h>
  2. #include <fcntl.h>
  3. #include <errno.h>
  4. #include <stdio.h>
  5. #include <sys/types.h>
  6. #include <sys/stat.h>
  7. #include <time.h>
  8. #include <ctype.h>
  9. #include <string.h>
  10. #include <sys/file.h>
  11. #ifndef O_ACCMODE
  12. #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
  13. #endif
  14.  
  15. #ifndef DONTDECLARE_MALLOC
  16. extern PTR  EXFUN(malloc,(unsigned));
  17. extern PTR  EXFUN(realloc, (PTR, unsigned));
  18. #endif
  19. extern int  EXFUN(abort,(void));
  20. extern int  EXFUN(free,(PTR));
  21. extern void EXFUN(bcopy,(char*,char*,int));
  22. extern void EXFUN(exit,(int));
  23. extern void EXFUN(bzero,(char *, int));
  24. extern int strtol();
  25. #define NO_STDARG 1
  26.  
  27. /* EXACT TYPES */
  28. typedef char int8e_type;
  29. typedef unsigned char uint8e_type;
  30. typedef short int16e_type;
  31. typedef unsigned short uint16e_type;
  32. typedef int int32e_type;
  33. typedef unsigned int uint32e_type;
  34.  
  35. /* CORRECT SIZE OR GREATER */
  36. typedef char int8_type;
  37. typedef unsigned char uint8_type;
  38. typedef short int16_type;
  39. typedef unsigned short uint16_type;
  40. typedef int int32_type;
  41. typedef unsigned int uint32_type;
  42.  
  43. #include "fopen-same.h"
  44.