minor lint; initialize modrev time for NFS leases
[unix-history] / usr / src / include / mp.h
CommitLineData
4c2f0099
KB
1/*-
2 * Copyright (c) 1980, 1991 The Regents of the University of California.
3 * All rights reserved.
bb0cfa24 4 *
4c2f0099
KB
5 * %sccs.include.proprietary.c%
6 *
7 * @(#)mp.h 5.4 (Berkeley) %G%
bb0cfa24 8 */
a7ba7fe7 9
d2b7358e
KB
10#ifndef _MP_H_
11#define _MP_H_
12
a7ba7fe7
SL
13#define MINT struct mint
14MINT
15{ int len;
16 short *val;
17};
18#define FREE(x) {if(x.len!=0) {free((char *)x.val); x.len=0;}}
19#ifndef DBG
20#define shfree(u) free((char *)u)
21#else
1577bffb 22#include <stdio.h>
a7ba7fe7
SL
23#define shfree(u) { if(dbg) fprintf(stderr, "free %o\n", u); free((char *)u);}
24extern int dbg;
25#endif
2605440f 26#if !defined(vax) && !defined(i386)
a7ba7fe7
SL
27struct half
28{ short high;
29 short low;
30};
31#else
32struct half
33{ short low;
34 short high;
35};
36#endif
37extern MINT *itom();
38extern short *xalloc();
39
40#ifdef lint
41extern xv_oid;
42#define VOID xv_oid =
43#else
44#define VOID
45#endif
d2b7358e
KB
46
47#endif /* !_MP_H_ */