Whamcloud - gitweb
Landing b_smallfix onto HEAD (20040210_1202)
[fs/lustre-release.git] / lustre / utils / wirehdr.c
1 #include <stdio.h>
2 #include <liblustre.h>
3 #include <linux/lustre_lib.h>
4 #include <linux/lustre_idl.h>
5
6 #undef LASSERT
7 #define LASSERT(cond) if (!(cond)) { printf("failed " #cond "\n"); ret = 1; }
8
9 int ret;
10
11 void lustre_assert_wire_constants(void);
12
13 int main()
14 {
15         lustre_assert_wire_constants();
16
17         if (ret == 0)
18                 printf("wire constants OK\n");
19
20         return ret;
21 }
22