summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/ftrylockfile.c
blob: cd21faeb0512f27cb974c9ea39a5c60b18c31c5b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Copyright (c) 2009 by
 * Ralf Corsépius, Ulm, Germany. All rights reserved.
 *
 * Permission to use, copy, modify, and distribute this software
 * is freely granted, provided that this notice is preserved.
 */

#if HAVE_CONFIG_H
#include "config.h"
#endif

#if defined(RTEMS_NEWLIB) && !defined(HAVE_FTRYLOCKFILE) && defined(HAVE_DECL_FTRYLOCKFILE)

#include <stdio.h>

/* This is a non-functional stub */
int ftrylockfile(FILE* file)
{
  return -1;
}

#endif