1 /* Generated by ./xlat/gen.sh from ./xlat/blkpg_ops.in; do not edit. */
2 #if !(defined(BLKPG_ADD_PARTITION) || (defined(HAVE_DECL_BLKPG_ADD_PARTITION) && HAVE_DECL_BLKPG_ADD_PARTITION))
3 # define BLKPG_ADD_PARTITION 1
4 #endif
5 #if !(defined(BLKPG_DEL_PARTITION) || (defined(HAVE_DECL_BLKPG_DEL_PARTITION) && HAVE_DECL_BLKPG_DEL_PARTITION))
6 # define BLKPG_DEL_PARTITION 2
7 #endif
8 #if !(defined(BLKPG_RESIZE_PARTITION) || (defined(HAVE_DECL_BLKPG_RESIZE_PARTITION) && HAVE_DECL_BLKPG_RESIZE_PARTITION))
9 # define BLKPG_RESIZE_PARTITION 3
10 #endif
11 
12 #ifdef IN_MPERS
13 
14 # error static const struct xlat blkpg_ops in mpers mode
15 
16 #else
17 
18 static
19 const struct xlat blkpg_ops[] = {
20  XLAT(BLKPG_ADD_PARTITION),
21  XLAT(BLKPG_DEL_PARTITION),
22  XLAT(BLKPG_RESIZE_PARTITION),
23  XLAT_END
24 };
25 
26 #endif /* !IN_MPERS */
27