• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Generated by ./xlat/gen.sh from ./xlat/lockfcmds.in; do not edit. */
2 
3 #include "gcc_compat.h"
4 #include "static_assert.h"
5 
6 
7 #ifndef XLAT_MACROS_ONLY
8 
9 # ifdef IN_MPERS
10 
11 #  error static const struct xlat lockfcmds in mpers mode
12 
13 # else
14 
15 static
16 const struct xlat lockfcmds[] = {
17 #if defined(F_RDLCK) || (defined(HAVE_DECL_F_RDLCK) && HAVE_DECL_F_RDLCK)
18   XLAT(F_RDLCK),
19 #endif
20 #if defined(F_WRLCK) || (defined(HAVE_DECL_F_WRLCK) && HAVE_DECL_F_WRLCK)
21   XLAT(F_WRLCK),
22 #endif
23 #if defined(F_UNLCK) || (defined(HAVE_DECL_F_UNLCK) && HAVE_DECL_F_UNLCK)
24   XLAT(F_UNLCK),
25 #endif
26 #if defined(F_EXLCK) || (defined(HAVE_DECL_F_EXLCK) && HAVE_DECL_F_EXLCK)
27   XLAT(F_EXLCK),
28 #endif
29 #if defined(F_SHLCK) || (defined(HAVE_DECL_F_SHLCK) && HAVE_DECL_F_SHLCK)
30   XLAT(F_SHLCK),
31 #endif
32  XLAT_END
33 };
34 
35 # endif /* !IN_MPERS */
36 
37 #endif /* !XLAT_MACROS_ONLY */
38