1: /*
   2:  * Copyright (c) 1980 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  *
   6:  *	@(#)mp.h	5.1 (Berkeley) 5/30/85
   7:  */
   8: 
   9: #define MINT struct mint
  10: MINT
  11: {   int len;
  12:     short *val;
  13: };
  14: #define FREE(x) {if(x.len!=0) {free((char *)x.val); x.len=0;}}
  15: #ifndef DBG
  16: #define shfree(u) free((char *)u)
  17: #else
  18: #include <stdio.h>
  19: #define shfree(u) { if(dbg) fprintf(stderr, "free %o\n", u); free((char *)u);}
  20: extern int dbg;
  21: #endif
  22: #ifndef vax
  23: struct half
  24: {   short high;
  25:     short low;
  26: };
  27: #else
  28: struct half
  29: {   short low;
  30:     short high;
  31: };
  32: #endif
  33: extern MINT *itom();
  34: extern short *xalloc();
  35: 
  36: #ifdef lint
  37: extern xv_oid;
  38: #define VOID xv_oid =
  39: #else
  40: #define VOID
  41: #endif

Defined struct's

half defined in line 28; used 4 times

Defined macros

FREE defined in line 14; used 1 times
VOID defined in line 40; used 2 times

Usage of this include

Last modified: 1985-06-19
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 998
Valid CSS Valid XHTML 1.0 Strict