summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/flockfile.c
blob: 5282fdb5bff3f5c4316278a5fce96b3bb17baade (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
31
/**
 *  @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.
 */

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

#if defined(RTEMS_NEWLIB) && !defined(HAVE_FLOCKFILE)

#include <stdio.h>

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

#endif