summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/flockfile.c
blob: b4c28d8ce593219fa4a24c59b7e7cb22e498ee1d (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
24
25
26
27
28
29
30
/**
 *  @file
 *
 *  @brief Lock File for Stdio
 *  @ingroup SET
 */
/*
 * 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_FLOCKFILE) && defined(HAVE_DECL_FLOCKFILE)

#include <stdio.h>

/**
 *  This is a non-functional stub 
 */
void flockfile(FILE* file __attribute__((unused)))
{
}

#endif